This is the Paylabs Payment Gateway Module for Magento 2, connect Paylabs services with your store easily.
- Accept payments via Paylabs in Magento 2.
- Automatic payment status updates.
- Secure and reliable payment processing.
- Magento 2.4.x (Dev 2.4.7-p3)
- PHP 8.x (Dev 8.1.31)
- Paylabs Account (Register Now!)
- Download the module from GitHub Releases.
- Extract and copy the files into:
app/code/Paylabs/Payment/ - Run the following Magento CLI commands:
bin/magento module:enable Paylabs_Payment bin/magento setup:upgrade bin/magento cache:flush
- Log in to Magento Admin Panel.
- Navigate to:
Stores → Configuration → Sales → Payment Methods. - Find Paylabs Payment Gateway and click Configure.
- Configure the following:
- Production Modee: Choose No for Sandbox, or Yes for Production
- Merchant ID: Input Your Merchant ID from Paylabs
- Merchant Private Key: Your Private Key Generate Key, select Key Length 2048
- Paylabs Public Key: Public key from paylabs
- Click Save Config and Flush Cache.
Once configured, customers will see Paylabs Payment Gateway as a payment option during checkout. Orders paid via Paylabs will automatically update their status in Magento.
- Run:
If disabled, enable it using:
bin/magento module:status | grep Paylabs_Paymentbin/magento module:enable Paylabs_Payment
Try clearing the Magento cache:
bin/magento cache:flush
bin/magento cache:cleanThis project is licensed under the MIT License.
We welcome contributions! Please fork the repository and submit a pull request.