Dokan has integrated Paystack into its list of supported payment gateways, enabling vendors to accept payments from customers in Africa easily.
Paystack is a popular and secure payment solution that supports various payment methods, including credit/debit cards, bank transfers, mobile money, and more. With this integration, Dokan-powered marketplaces can now offer seamless transactions and provide a familiar, trusted payment option for customers across Africa.
We are going to show you how to configure the Paystack payment gateway module with Dokan.
How to Enable Paystack Payment Gateway Module
First, you need to activate the Paystack module from your Dokan dashboard. To do that, go to Dokan–> Modules. Then, search for Paystack and activate the module-

In order to use Paystack, you need to make sure your site currency is changed to ZAR from WooCommerce–>Settings–> General section-

Now, to configure the Paystack, go to WooCommerce–> Settings–> Payments option and click on the Manage button-

Next, you need to configure Paystack with the neccessary information-

Enable/Disable: Check the box to enable (or disable) the Dokan Paystack payment gateway.
Title: Give a title or use the default one that the customers will see during checkout.
Description: Add a description or use the default one; customers will see this on the checkout page.
Seller pays the processing fee: If this option is enabled, then the admin and vendor will share the processing fee. Otherwise, the admin will bear the processing fee.
Test mode: Enable the Test Mode.
Test Public Key: Add the Test Public Key Here.
Test Secret Key: Add the Test Secret Key
Debug Log: Log gateway events such as Webhook requests, Payment operations, etc.
Collect Paystack API Credentials
Now, you need to collect the API credentials from Paystack. To do that login to your Paystack account, then go to the Settings option-

Then, in the API Keys & Webhooks section, you will find the necessary keys-

Copy the keys and paste it in the Dokan configuration section.
Save the changes.
Enabling Withdraw Method
For the vendors to connect their account to Paystack, go to Dokan–> Settings–> Withdraw Options and enable the Paystack option-

Then Save the Changes.
How to Connect Account-Vendors
Vendors need to connect their account to use the Paystack payment gateway from their vendor dashboard.
To do that go to Vendor Dashboard–> Settings–> Payment-

From the Drop-down, select the Direct to Paystack option-

Then you will get a pop-up where the vendors need to write their Business name, account number, choose a bank from the dropdown, and click on the Create Account

After the successful connection, the vendor can now use the Paystack payment gateway-

Using Paystack to Pay- Customer
Customers will see the Paystack payment gateway in the checkout page-

They will get a pop-up and type their information to complete the transaction-

Order View-Admin
Now admin can see the order details from the backend-

This is how you can configure the Paystack payment gateway with Dokan.