logo

Paystack - Payments in Nigeria

Introduction

Accept one-off and recurring online payments with a modern, safe, and secure payment gateway in Nigeria. Paystack is a payments platform that makes the online payments process seamless for both the consumers and the businesses they are trying to pay.

Prerequisites

For using the plugin you'll need to get the API credentials with Paystack. Create your development account at: https://developers.paystack.co/​

Setting up

Access developer dashboard on paystack

After you've signed up, go to Profile -> Settings -> API Keys & Webhooks
Image without caption
Copy the key which will be used in Plugin settings.
☝
Note: Ensure to use a live API keys when your application goes live. To obtain live API Keys the Business account should be activated. https://dashboard.paystack.com/#/get-started/activate

Install Paystack Plugin

After the plugin is installed, fill API Key input with your API Key from Paystack. Add Bearer before the key.
Image without caption
Now you can create a payment using redirect to Paystack for make payments.
Image without caption
In action you can fill Name of page, Description of payment, Amount, and redirect uri after payment successful. After first action we can get Payment URL and open in an external tab.
Image without caption
The result should be something like this:
Image without caption
After successful payment Paystack will redirect us to Redirect URI that we filled in the previous step. And will give us a reference id in url.

For additional api calls use Paystack Api page

Changelogs

Update: 20/01/21 -
  • Reinitialized a few API Calls
  • Demo update with dynamic data for API Calls
Update: 04/03/21-
  • Added the ability to set up a fixed commission when creating a page
  • Demo update with dynamic data transaction_charge

Demo to preview the settings


Helpful?