violet-waves/bagisto-razorpay 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

violet-waves/bagisto-razorpay

最新稳定版本:v1.1

Composer 安装命令:

composer require violet-waves/bagisto-razorpay

包简介

Razorpay payment gateway for bagisto laravel open source ecommerce platform.

README 文档

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.

Compatibility Notice

Support Bagisto v2.3.4 and above

Installation

  1. Use the command prompt to install this package:
composer require violet-waves/bagisto-razorpay
  1. Open bootstrap/providers.php and register the Razorpay provider by adding the following line to the array:
return [
  // ... other providers ...

  // Razorpay provider
  VioletWaves\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. Add the Razorpay payment gateway route to CSRF token validation exception list in bootstrap/app.php inside withoutMiddleware(function (Middleware $middleware) array:

$middleware->validateCsrfTokens(except: [
   '/razorpaycheck',
]);
  1. Clear the configuration cache:
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.

统计信息

  • 总下载量: 147
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-06-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固