Skip to content

Latest commit

 

History

History
42 lines (30 loc) · 1.55 KB

File metadata and controls

42 lines (30 loc) · 1.55 KB

Bagisto Razorpay Payment Gateway

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

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

From 15 January 2025, you must have a valid license key to use this extension. It costs only ₹400/year, including updates and support. Use this link to get your license key: Get License Key

Installation

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

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

protected $except = [
                  '/razorpaycheck',
           ];
  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 [email protected]