8 min read
Set up Paystack for the online store
Connect your Paystack keys and webhook so shoppers can pay by card or MoMo on the public shop.
Paystack is how customers pay on your Stockdey shop (card and mobile money). It is not how you pay for Stockdey Pro — that is Settings → Billing or the App Store / Play.
- 1
Get your keys in Paystack
Log in at paystack.com → Settings → API Keys & Webhooks. Copy the public key (starts with pk_) and the secret key (starts with sk_). Keep the secret private.
- 2
Open Go live in Stockdey
Online store → Go live (same step exists on the mobile app). Tick Paystack (card / MoMo checkout).
- 3
Paste keys
Public key and secret key. Save. If a secret is already saved, use Replace secret only when you rotate keys.
- 4
Paste the webhook in Paystack
Copy the Webhook URL shown in Stockdey. In Paystack, add that URL under API Keys & Webhooks. Add it for Test and for Live if you use both. Stockdey needs the webhook so orders mark as paid automatically.
- 5
Check Paystack setup
Tap Check Paystack setup on Go live. Fix any listed steps. Send a test webhook from Paystack, or complete a small test payment, then check again until it is ready.
- 6
Publish
Turn on Publish storefront, save, and copy the shop link. In Orders, wait until a Paystack payment is confirmed before you fulfil.