Setting up Paystack
Set it up in test mode first where Paystack offers one, and switch to live when a test has worked. Allow an hour, plus any time that Paystack needs to approve your account.
2 min read
What you need first
- A Paystack account (paystack.com). Paystack asks for your business documents before you can go live; you can test before that.
Your keys and where to find them
| Field | Where it comes from |
|---|---|
| Secret key | In the Paystack Dashboard, open Settings, then API Keys & Webhooks. Copy the Test Secret Key (sk_test_...) for Test and the Live Secret Key (sk_live_...) for Live. |
| Webhook URL | On the same page, paste the notification address shown on the connection page into Test Webhook URL, and later into Live Webhook URL, then save. Paystack signs its notifications with your secret key, so there is no extra secret to copy. |


Set it up
- Open Settings›Integrations and choose the tab Add an integration.
- Find Paystack and click Add. Give the connection a name you will recognise, for example the name of your shop, and click Add.
- The connection page opens. Under Test, paste the test keys from your Paystack account and click Save test credentials.
- Switch the state to Test and click Test connection. A green sentence means Paystack accepted the keys.
- If Paystack asks for a notification address, copy the one shown under Notifications into your Paystack account (the table above says where).
- Try it with a test payment or a test order. When everything is right, enter the live keys under Live and click Go live.
Test and live
Every connection keeps two sets of keys: one for Test and one for Live. You can fill both at any time; the state decides which one is used.
In Test, Paystack takes no real money: customers see a test payment page and you pay with the test cards or test numbers Paystack gives you. A TEST badge shows on the connection and on the payment provider.
Go live asks you to confirm. From then on the connection uses the live keys and everything it does is real. You can switch back to Test or to Inactive at any time; nothing is deleted.