Paystack payment gateway Magento2 extension
-
Go to Magento2 root folder
-
Enter following command to install module:
composer require pstk/paystack-magento2-module
-
Wait while dependencies are updated.
-
Enter following commands to enable module:
php bin/magento module:enable Pstk_Paystack --clear-static-content
php bin/magento setup:upgrade
php bin/magento setup:di:compile
- Fail to redirect to success page after successful payment
Sometimes after receiving payment for an order you get an error like: Class Yabacon\Paystack not found
and magento doesn't redirect to the success
page.
** Fix: Run the following command:
composer require yabacon/paystack-php
- Enable and configure
Paystack
in Magento Admin underStores/Configuration/Payment
Methods
For bug reports and feature requests directly related to this plugin, please use the issue tracker.
For general support or questions about your Paystack account, you can reach out by sending a message from our website.
If you are a developer, please join our Developer Community on Slack.
If you have a patch or have stumbled upon an issue with the Magento 2 plugin, you can contribute this back to the code. Please read our contributor guidelines for more information how you can do this.