Skip to main content

Paystack

Paystack is a modern payment platform for Africa. Here's a step-by-step guide to help you integrate Paystack with Mixpost Enterprise and get started with processing payments:

1. Sign up for a Paystack Account

If you haven't already, head to Paystack's website and sign up for an account.

    2. Access the Paystack Dashboard

    Once you've registered, log in to your Paystack account and access the Dashboard. This will be your primary interface for managing payments.

    3. Get Your API Keys

    From the Dashboard:

    1. Go to the “Settings” section.
    2. Click on "API Keys & Webhooks".
    3. You'll see two keys: a Live Secret Key and a Live Public Key. You'll need both for integration.
    4. Set your server IP to the whitelist.
    5. Input Live Webhook URL "https://your-app-url.com/mixpost/payment-webhook".
    6. Click the "Save changes" button.

    Note: Always keep your Secret Key confidential. Make sure your dashboard is in Live mode (top right switch).

    paystack-1.png

    4. Integrate API Keys into Mixpost Enterprise

    Once you have your API keys:

    1. Open the Enterprise Console from the user menu.
    2. Navigate to Settings ->
    3. Click on Paystack
    4. Choose "Enabled" radio input
    5. Input your Live Secret Key to the Secret Key field and Live Public Key to the Public Key field.
    6. Save

    5. Add pricing plans

    We are adding all the necessary pricing plans in Paystack and Mixpost Enterprise.

    1. In your Paystack Dashboard, navigate to the "Plans".
    2. Here, you'll see the “+ New Plan” button. Click on it.
    3. Give a plan name, for example: "Starter"
    4. Input the default plan price, for example: "NGN 200"
    5. Select "Interval". Mixpost only accepts Monthly or Yearly billing periods.
    6. Save plan

    If you want to support Monthly and Yearly billing periods for plans, you should add the same Plan twice, first select "Interval" under "Monthly" and then select "Annually".

    paystack-2.png

    paystack-3.png

    After the plans have been created in your Paystack dashboard, you should copy the Plan Code of each plan to your created plans in the Mixpost Dashboard. See the instructions.

    7. Test the Integration (optional)

    1. Switch to Test mode from your Paystack dashboard.
    2. Back to step 4 and input your Test Secret Key to the Secret Key field and Test Public Key to the Public Key field.  
    3. Try to register a user and subscribe to a plan.

    8. Go Live

    If you skipped step 7. Mixpost is ready to receive payments.

    If you did not skip step 7 and did tests in the Test mode, back to step 4 and make sure you input your Live Secret Key to the Secret Key field and Live Public Key to the Public Key field.