Looking to hire Laravel developers? Try LaraJobs

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

Comments
comments powered by Disqus

Paymob Payment Gateway package for Bagisto Version 1.x Based on Laravel

Installation

  1. Install the Paymob Payment module for Laravel Bagisto 1.x e-commerce via paymob/laravel-bagisto1.x composer.
composer require paymob/laravel-bagisto1.x
  1. In the command line, run the below commands
php artisan migrate
php artisan optimize
  1. Goto app/Http/Middleware/VerifyCsrfToken.php file. Then, add paymob/callback in the protected array $except as below
    protected $except = ['paymob/callback',];
  1. In the command line, run the below command
php artisan config:cache

Configuration

Paymob Account

  1. Login to the Paymob account → Setting in the left menu.
  2. Get the Secret, public, API keys, HMAC and Payment Methods IDs (integration IDs).

Bagisto Admin Configuration

  1. In Bagisto Admin Panel Menu configuration→ sales→ paymentmethods.
  2. Search for Paymob payment, paste each key in its place in the setting page.
  3. Please ensure adding the integration IDs separated by comma ,. These IDs will be shown in the Paymob payment page.
  4. 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.