paymob / magento-payment
Paymob payment for for Magento2 e-commerce.
1.0.8
2024-12-02 12:20 UTC
Requires
- paymob/php-library: 1.0.*
README
Installation
Install the Paymob Payment Magento2 module via paymob/magento-payment composer.
composer require paymob/magento-payment
In the command line, run the below Magento commands to enable Paymob Payment Gateway module.
php -f bin/magento module:enable --clear-static-content Paymob_Payment
- Then, run the below Magento commands.
php bin/magento setup:upgrade php bin/magento setup:di:compile php bin/magento setup:static-content:deploy -f php bin/magento cache:clean php bin/magento cache:flush
Configuration
Paymob Account
- Login to the Paymob account → Setting in the left menu.
- Get the Secret, public, API keys, HMAC and Payment Methods IDs (integration IDs).
Magento Admin Configuration
- Login into Magento admin panel.
- In the left Menu → Stores → Configuration.
- Expand Sales Menu → select Payment Methods →Accept Paymob payment, paste each key mentioned in the above Paymob Account section in its place in the setting page.
- Please ensure adding the integration IDs separated by comma ,. These IDs will be shown in the Paymob payment page.
- Copy integration callback URL that exists in Paymob Magento setting page. Then, paste it into each payment integration/method in Paymob account.
- Then, click on save.
- Ensure there 's no error while saving due to in-correct information provided.
Checkout page
Paymob payment method will be shown for the end-user to select and start his payment process.