Paystack is the most popular payment gateway to collect payments in South Africa and Nigeria. This guide shows you how to connect your Paystack merchant account to SubscriptionFlow and start collecting subscription payments.
- Click the ⚙️ icon at the top right to open Settings. Under Billing, click Payment Settings.
- Click + Payment Gateway. Under Available Gateways, find Paystack and click Configure gateway.
- On the Connection tab, you need a Secret Key and a Public Key from your Paystack merchant account.
- To get the keys, log in to your Paystack merchant account.
- In the left menu, scroll down and click Settings.
- Open API Keys & Webhooks.
- Here you can find the Secret Key and Public Key.
- Click the eye icon to reveal the Secret Key, copy it, and paste it into Secret Key in SubscriptionFlow.
- Do the same for the Public Key.
Check Sandbox if you are using test keys. Click Test Connection. A notification confirms that the gateway is connected. Then click Save.
Open the Advanced Options tab to configure the gateway:
- Under Accept Payment Via, check the payment methods to enable through this gateway. Click Others for more payment methods.
- Use Allow Access To to choose which users can use and change this gateway.
- Enable payment method validation to let customers add new payment methods through a public payment method page. The gateway runs a small test transaction that is reversed straight away to check the account.
- Check Payment Abandoned to trash subscriptions and invoices created at checkout when the customer doesn't complete the payment. Set the time to wait, and check Delete Subscription & Invoice.
- Check Make Default to collect payments through Paystack by default.
Copy the Webhook URL from Advanced Options. Webhooks update the status of your transactions in SubscriptionFlow when payments are collected by Paystack.
Note: Without webhooks, transactions in SubscriptionFlow stay pending, or need repeated calls to the gateway to check their status.
In your Paystack account, paste the URL into Test Webhook URL (or the live webhook URL) under API Keys & Webhooks and save.
Paystack is now connected and appears under Configured Gateways in Payment Settings.
Comments
0 comments
Please sign in to leave a comment.