wontonee / razorpay
Razorpay payment gateway for bagisto laravel open source ecommerce platform.
Installs: 1 250
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
Forks: 2
Open Issues: 0
README
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.
Installation
- Use the command prompt to install this package:
composer require wontonee/razorpay
- Open
config/app.php
and register the Razorpay provider:
'providers' => [ // Razorpay provider Wontonee\Razorpay\Providers\RazorpayServiceProvider::class, ]
-
Navigate to the
admin panel -> Configure/Payment Methods
, where Razorpay will be visible at the end of the payment method list. -
Open app\Http\Middleware\VerifyCsrfToken.php and add this route to the exception list:
protected $except = [ '/razorpaycheck', ];
- Now run
php artisan config:cache
Troubleshooting
- 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