SocialSwap Documentation
  • Start
    • Introduction
    • Requirements
    • Installation
    • Purchase Code
  • Updates
    • Update 1.0.7
    • Update 1.0.6
    • Update 1.0.5
    • Update 1.0.4
    • Update 1.0.3
    • Update 1.0.2
    • Update 1.0.1
  • How it Works
    • Dispute Overview
    • Listing Overview
    • Offer Overview
    • Message Overview
    • Subscription Overview
    • Plan Overview
  • Database Setup
    • phpMyAdmin MySQL DB Setup
  • Cloud Storage
    • AWS Storage Setup
      • Create AWS Account:
      • Create IAM User
      • Create S3 Bucket
      • Configure S3 Bucket
    • Wasabi Storage Setup
    • CloudFlare Storage Setup
  • PAYMENT GATEWAYS SETUP
    • Paypal Setup
    • Stripe Setup
    • RazorPay Setup
    • Paystack Setup
    • Flutterwave Setup
  • SUBSCRIPTION PLANS
    • Subscription Plan
      • Paypal Plan ID
      • Stripe Plan ID
      • Razorpay Plan ID
      • Paystack Plan ID
      • Flutterwave Plan ID
  • SMTP SETUP
    • SMTP Configuration
  • SOCIAL MEDIA LOGIN
    • Google Login
    • Facebook Login
  • One Signal
    • One Signal Setup
  • TAWK.TO SETUP
    • Tawk.to Setup
  • GOOGLE SETTINGS
    • Google Maps
    • Google Analytics
    • Google reCaptcha
  • TRANSLATE INTERFACE
    • Language Translations
  • CRON JOB SETUP
    • CRON Job
  • Customization
    • Files Structure
    • Frameworks
  • Troubleshooting
    • Troubleshooting
  • Changelog
    • Initial Release v1.0
Powered by GitBook
On this page
  1. PAYMENT GATEWAYS SETUP

Paystack Setup

For accepting payments both for Subscriptions and for Deposit options you can use Paystack.

PreviousRazorPay SetupNextFlutterwave Setup

Last updated 10 months ago

You need to enter your Paystack credentials in the Admin panel under Finance Manager -> Payment Settings -> Paystack. Ensure you include all your Paystack credentials and activate the Paystack checkbox(es).

  • PAYSTACK_PUBLIC_ID

  • PAYSTACK_KEY_SECRET

  • PAYSTACK_BASE_URI=https://api.paystack.co

  • PAYSTACK_WEBHOOK_URI=https://YOURDOMAINNAME/webhooks/paystack

How to get Paystack webhook and Add Events:

  • Login to Paystack Dashboard:

    • Enter your credentials and log in.

  • Navigate to Developers > Webhooks:

    • On the left-hand menu, click on Developers.

    • Then select Webhooks from the dropdown menu.

  • Create a New Webhook Endpoint:

    • Click on the Create New Webhook Endpoint button.

  • Configure Webhook Endpoint:

    • Enter your webhook endpoint URL in the provided field.

      • Example: https://yourdomain.com/webhooks/paystack

      • Replace yourdomain.com with your actual domain name.

  • Add Webhook Events:

    • Scroll down to the Events to Send section.

    • Add the following two events by clicking on Add an Event and selecting them from the dropdown:

      • charge.success

      • subscription.disable

  • Save Webhook Endpoint:

    • After adding the events, click on the Save Webhook button to save your configuration.

  • Copy Webhook Secret Key:

    • Once saved, Paystack will generate a secret key for your webhook.

    • Copy this secret key as you will need it for configuring the Payment Settings page of your script.

  • Configure Payment Settings in Your Script:

    • Go to the Payment Settings section in your script's admin panel.

    • Paste the webhook URL (https://yourdomain.com/webhooks/paystack) into the respective field.

    • Also, paste the webhook secret key that you copied from Paystack into the designated field in your script's admin panel.

Go to .

Paystack Dashboard