Skip links
🔧
Need help with installation?
Send an email to [email protected] to get a quote.

Paystack Payment Setup

Table of Contents

You can use Paystack for accepting payments for both subscriptions and token packs.

How to Set Up Paystack Payment Gateway?

  1. Begin by registering an account with Paystack.
  2. Generate your API credentials within your Paystack account.
  3. From there, you need to add a webhook URL. The URL should be like this: 
     https://yourwebsite.com/webhooks/paystack

  4. Also you need to add your server IP to IP Whitelist.
  5. Decide whether you want to use the Sandbox mode for testing or the live production mode for actual transactions.
  6. In your MagicAI dashboard, access the gateway settings by navigating to Finance -> Payment Gateways -> Paystack.
  7. Add your keys to the appropriate fields on the page.
    • Default Currency: Choose your currency
    • API Key: Enter your Paystack API key
    • API Secret Key: Enter your Paystack secret key 
    • API Key (Sandbox): Enter your Paystack Sandbox API key for testing purposes
    • API Secret Key (Sandbox): Enter your Paystack Sandbox secret key for testing purposes
  8. It’s crucial to follow the correct order: first, set the mode (development or production), and then save the gateway settings.
  9. Pay attention to the information provided during the saving process, as it will guide you through the necessary steps.
  10. After setting up your payment gateway, you can create membership plans with help of this guide.