paymob_drupal / commerce_paymob
Paymob for drupal commerce provides a user-friendly hosted checkout where customers can select any payment method defined by the merchant.
1.0.1
2024-06-09 11:33 UTC
Requires
- drupal/commerce: ~2.25 || ^3
- paymob/php-library: 1.0.*
This package is not auto-updated.
Last update: 2025-04-27 13:01:42 UTC
README
Installation
Install the Paymob Payment module for Drupal Commerce e-commerce via paymob_drupal/commerce_paymob composer.
composer require paymob_drupal/commerce_paymob
In the admin panel, Extend tab, search for the Paymob module, select it, and click the install button to install it.
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).
Drupal commerce Admin Configuration
- In Drupal commerce Admin Panel Menu Commerce→ Configuration→ Payments→ Payment Gateways section.
- Click on Add Payment gateway and Select Paymob payment, paste each key 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 Drupal commerce setting page. Then, paste it into each payment integration/method in Paymob account.
Checkout page
Paymob payment method will be shown for the end-user to select and start his payment process.