laravel-bagisto1.x maintained by paymob
Description
Paymob Payment Method for Bagisto
Author
Paymob Technical Team
Last update
2024/02/01 12:04
(dev-main)
License
Downloads
152
Tags
Paymob Payment Gateway package for Bagisto Version 1.x Based on Laravel
Installation
- Install the Paymob Payment module for Laravel Bagisto 1.x e-commerce via paymob/laravel-bagisto1.x composer.
composer require paymob/laravel-bagisto1.x
- In the command line, run the below commands
php artisan migrate
php artisan optimize
- Goto app/Http/Middleware/VerifyCsrfToken.php file. Then, add paymob/callback in the protected array $except as below
protected $except = ['paymob/callback',];
- In the command line, run the below command
php artisan config:cache
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).
Bagisto Admin Configuration
- In Bagisto Admin Panel Menu configuration→ sales→ paymentmethods.
- Search for 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 Bagisto 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.