Paystack Setup
You need to enter your Paystack credentials in the Admin panel under Finance Manager -> Payment Settings -> Paystack. Ensure you include all your Paystack credentials and activate the Paystack checkbox(es).
- PAYSTACK_PUBLIC_ID
- PAYSTACK_KEY_SECRET
- PAYSTACK_BASE_URI=https://api.paystack.co
- PAYSTACK_WEBHOOK_URI=https://YOURDOMAINNAME/webhooks/paystack

How to get Paystack webhook and Add Events:​
- Login to Paystack Dashboard:
- Go to Paystack Dashboard.
- Enter your credentials and log in.
- Navigate to Developers > Webhooks:
- On the left-hand menu, click on Developers.
- Then select Webhooks from the dropdown menu.
- Create a New Webhook Endpoint:
- Click on the Create New Webhook Endpoint button.
- Configure Webhook Endpoint:
- Enter your webhook endpoint URL in the provided field.
- Example:
https://yourdomain.com/webhooks/paystack - Replace
yourdomain.comwith your actual domain name.
- Example:
- Enter your webhook endpoint URL in the provided field.
- Add Webhook Events:
- Scroll down to the Events to Send section.
- Add the following two events by clicking on Add an Event and selecting them from the dropdown:
charge.successsubscription.disable
- Save Webhook Endpoint:
- After adding the events, click on the Save Webhook button to save your configuration.
- Copy Webhook Secret Key:
- Once saved, Paystack will generate a secret key for your webhook.
- Copy this secret key as you will need it for configuring the Payment Settings page of your script.
- Configure Payment Settings in Your Script:
- Go to the Payment Settings section in your script's admin panel.
- Paste the webhook URL (
https://yourdomain.com/webhooks/paystack) into the respective field. - Also, paste the webhook secret key that you copied from Paystack into the designated field in your script's admin panel.