Download the PHP package pstk/paystack-magento2-module without Composer
On this page you can find all versions of the php package pstk/paystack-magento2-module. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download pstk/paystack-magento2-module
More information about pstk/paystack-magento2-module
Files in pstk/paystack-magento2-module
Package paystack-magento2-module
Short Description Paystack Magento2 Module using \Magento\Payment\Model\Method\AbstractMethod
License MIT
Informations about the package paystack-magento2-module
Paystack Magento 2 Module
Paystack payment gateway Magento2 extension
Version: 3.0.4 (Paystack v2 Inline.js API)
Requirements
- Magento 2.4.x
- PHP 8.2+
Installation
Composer (Recommended)
Go to your Magento2 root folder and run:
Manual Installation
Copy all files to app/code/Pstk/Paystack/ in your Magento installation, then run:
Configuration
To configure the plugin in Magento Admin:
- Go to Stores > Configuration > Sales > Payment Methods.
- Find Paystack and configure:
- Enabled: Yes/No
- Title: What customers see at checkout
- Integration Type: Inline (Popup) or Redirect
- Test Mode: Enable for sandbox testing
- Test/Live Secret Key: Get from your Paystack dashboard
- Test/Live Public Key: Get from your Paystack dashboard
- Click Save Config.
Webhook Setup
For reliable payment confirmation (especially for the redirect flow), set up a webhook in your Paystack dashboard:
- Go to Settings > API Keys & Webhooks on your Paystack dashboard
- Set the Webhook URL to:
https://yourdomain.com/paystack/payment/webhook - The module handles
charge.successevents and automatically updates order status
Development Environment
A Docker-based development environment is included in the dev/ directory for contributors and testing.
Prerequisites
- Docker (or Rancher Desktop with
dockerdruntime) - A Paystack test account
Quick Start
Once complete you'll see:
What's Included
- Magento 2.4.8-p3 via Mage-OS public mirror (no Adobe marketplace auth needed)
- OpenSearch 2.19.1 + MariaDB 10.6
- 5 test products with images and a configured homepage
- Paystack payment pre-configured in test mode (inline popup)
- Container names:
paystack-magento,paystack-db,paystack-search
Tear Down
Documentation
Support
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.
Community
If you are a developer, please join our Developer Community on Slack.
Contributing to the Magento 2 plugin
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.