wontonee/payu

Payu payment gateway for bagisto laravel ecommerce open source platform.

3.0 2024-04-23 07:53 UTC

This package is auto-updated.

Last update: 2024-05-23 08:21:42 UTC


README

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

Installation

  1. Use the command prompt to install this package:
composer require wontonee/payu
  1. Open config/app.php and register the Payu provider.
'providers' => [
        // Payu provider
        Wontonee\Payu\Providers\PayuServiceProvider::class,
]
  1. Navigate to the admin panel -> Configure/Payment Methods, where Payu will be visible at the end of the payment method list.

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

protected $except = [
                  '/payu-success',
                  '/payu-failure'
           ];
  1. 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