wontone18 / paytm-payment-gateway-bagisto-laravel

Paytm gateway for laravel bagisto
https://wontonee.com/bagisto-paym-integration-manual/
MIT License
2 stars 0 forks source link
bagisto bagisto-payment laravel laravel-framework laravel-package paytm-payment-gateway paytm-payments php

Bagisto Paytm Payment Gateway

Paytm is a popular payment gateway in India. This package provides strong support for users to integrate the Paytm payment gateway into their Bagisto Laravel e-commerce applications.

Support Bagisto v2.2. For Bagisto 2.1, you can downgrade the package to 5.0.1

Installation

  1. Use the command prompt to install this package:

    composer require wontonee/paytm
  2. Open config/app.php and register the Paytm provider.

    'providers' => [
        // Paytm provider
        Wontonee\Paytm\Providers\PaytmServiceProvider::class,
    ]
  3. Navigate to the admin panel -> Configure/Payment Methods, where Paytm will be visible at the end of the payment method list.

  4. Now open app\Http\Middleware\VerifyCsrfToken.php and add this route to the exception list.

    protected $except = [
                 '/paytmcheck'
           ];
  5. Now run

    php artisan config:cache

Troubleshooting

  1. If you encounter an issue where you are not redirected to the payment gateway after placing an order and receive a route error, navigate to bootstrap/cache and delete all cache files.

For any help or customization, visit https://www.wontonee.com or email us dev@wontonee.com