A Paystack Plugin for Magento 2
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Api
Block
Gateway/Response
Model
Observer
etc
view/frontend
.gitignore
LICENSE
README.md
composer.json
composer.lock
registration.php

README.md

Latest Version on Packagist Software License Total Downloads

Paystack Magento 2 Module

Paystack payment gateway Magento2 extension

Install

  • 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

Known Errors

  • 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 under Stores/Configuration/Payment Methods