wontonee / razorpay
Razorpay payment gateway for bagisto laravel open source ecommerce platform.
Installs: 2 310
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 1
Forks: 3
Open Issues: 0
pkg:composer/wontonee/razorpay
Requires
- razorpay/razorpay: ^2.9
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.
🚨 Official Notice – Unauthorized Copy Alert
We, Wontonee DigitalCraft LLP, are the original developers and copyright holders of the Laravel Razorpay Payment Gateway for Bagisto extension — available exclusively at:
👉 https://github.com/wontonee/razorpay-payment-gateway-bagisto-laravel
It has come to our attention that a third-party repository (https://github.com/vfixtechnology/bagisto-razorpay) has copied and redistributed our code without authorization.
⚠️ Important Notice
This unauthorized repository:
- ❌ Is not affiliated with or endorsed by Wontonee DigitalCraft LLP
- ❌ Contains infringing copies of our proprietary code
- ❌ Is currently under formal DMCA review and takedown process with GitHub
✅ Official & Safe Source
If you are using, testing, or integrating this extension, please ensure you are downloading it only from our official repository:
👉 https://github.com/wontonee/razorpay-payment-gateway-bagisto-laravel
We take copyright and code integrity seriously to protect our users, clients, and the Laravel community. Unauthorized forks, copies, or redistributions of this software violate our license terms and may be subject to legal action.
For verification, partnerships, or licensing inquiries, please contact:
- 📧 Email: dev@wontonee.com
- 🌐 Website: https://wontonee.com
Thank you for your understanding and continued support.
— Team Wontonee DigitalCraft LLP
Licensing Information
You must take a license from the website https://myapps.wontonee.com/login, either trial or paid.
- Trial License: Works for 3 days.
- Paid License: Valid for 1 year and costs only ₹2500.
Includes updates and support.
How to Get a License Key
You can watch the video tutorial below to learn how to get a license key:
🎯 Key Benefits
For Store Owners
- ✅ Complete Brand Control: Custom logos and colors for professional appearance
- ✅ Enhanced Security: Improved CSRF protection and session handling
- ✅ Easy Configuration: User-friendly admin interface with clear options
- ✅ Mobile Optimized: Perfect experience across all devices
For Customers
- ✅ Professional Experience: Modern, trustworthy payment interface
- ✅ Clear Communication: Progress indicators and security messaging
- ✅ Fast Loading: Optimized performance for quick payments
- ✅ Consistent Branding: Seamless integration with your store design
Compatibility Notice
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 ₹800/year, including updates and support. Use this link to get your license key: Get License Key
✨ What's New in Latest Version
🎨 Enhanced Branding & Customization
- Dual Logo System: Separate logos for payment method selection and gateway popup
- Custom Theme Colors: Full color customization for payment interface
- Smart Logo Fallback: Automatic site logo integration when no custom logo is set
- Modern UI Design: Completely redesigned payment redirect page with animations
🔧 Technical Improvements
- Enhanced CSRF Handling: Better security with proper middleware configuration
- Improved Session Management: Reliable cart and currency handling during payments
- Optimized Routes: Streamlined routing structure for better performance
- Better Error Handling: Comprehensive error messages and user feedback
📱 User Experience Enhancements
- Professional Loading Screen: Elegant payment processing page with progress indicators
- Security Messaging: SSL badges and trust indicators for user confidence
- Mobile Responsive: Optimized design for all screen sizes
- Clear Instructions: Improved messaging throughout the payment flow
Installation
-
Get a License: Visit https://myapps.wontonee.com to obtain your Razorpay payment gateway license. Trial licenses work for 7 days only.
-
Use the command prompt to install this package:
composer require wontonee/razorpay
- Publish the package assets:
php artisan vendor:publish --tag=razorpay-assets
- Run the database migrations to create the necessary tables:
php artisan migrate
-
Navigate to the
admin panel -> Configure/Payment Methods
, where Razorpay will be visible at the end of the payment method list. -
Configure License: In the Razorpay payment method settings, enter your license key obtained from step 1.
-
Now run the following commands to optimize your application:
php artisan config:cache php artisan optimize
🚀 Features
Payment Gateway Customization
- Custom Theme Color: Customize the Razorpay payment popup color to match your brand
- Dual Logo Support:
- Payment Method Icon for the checkout page
- Payment Gateway Logo for the Razorpay popup
- Smart Logo Fallback: Automatically uses your site logo if no custom gateway logo is uploaded
- Professional UI: Modern, elegant payment redirect page with loading animations
🆕 Advanced Refund Management System
- Admin Refund Interface: Process refunds directly from Bagisto admin panel
- Partial & Full Refunds: Support for both partial and complete refund amounts
- Real-time Status Updates: Instant updates after refund processing
- Refund History Tracking: Complete audit trail of all refund transactions
- Payment Data Storage: Comprehensive storage of payment and refund information
- Secure API Integration: Direct integration with Razorpay Refund API
- Interactive Dashboard: Vue.js powered modern interface for refund management
Advanced Configuration Options
- Payment Method Icon: Upload a custom icon for the payment methods selection page (recommended: 100x50px)
- Payment Gateway Logo: Upload a logo to display in the Razorpay payment popup
- Theme Color: Choose custom colors for the payment interface (default: #F37254)
- Automatic Branding: Uses your site's main logo as fallback for consistent branding
- Checkout: New standard and js checkout feature
- Webhook: Razorpay webhook set up
- Cronjob: If a payment fails during checkout, set up a cron job to check the customer's payment status and create the order if the payment is confirmed.
Security & Performance
- CSRF Protection: Secure callback handling with proper middleware configuration
- Session Management: Proper cart and order handling during payment verification
- Error Handling: Comprehensive error messages and fallback mechanisms
- Mobile Responsive: Optimized for all device types
User Experience
- Loading Animations: Professional payment processing page with progress indicators
- Security Badges: SSL encryption messaging for user confidence
- Clear Instructions: User-friendly messaging throughout the payment flow
- Elegant Design: Modern gradient backgrounds and card-based layouts
Configuration
After installation, navigate to Admin Panel → Configuration → Sales → Payment Methods → Razorpay to configure:
- License Key: Enter your Wontonee license key
- Razorpay API Keys: Add your Razorpay Key ID and Secret
- Payment Method Icon: Upload an icon for the checkout page
- Payment Gateway Logo: Upload a logo for the Razorpay popup (optional)
- Theme Color: Choose your brand color (default: #F37254)
- Activate: Enable the payment method
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. -
Theme Color Not Applied: Clear configuration cache using
php artisan config:cache
-
Logo Not Displaying: Ensure images are uploaded in supported formats (bmp, jpeg, jpg, png, webp)
-
Payment Callback Issues: Verify that the
/razorpaycheck
route is accessible and not blocked by firewalls
💬 Special Discount Offer
🎉 Get Exclusive Discounts! Contact us on WhatsApp for special pricing:
WhatsApp: +91 9711381236
- Bulk license discounts available
- Custom development services
- Priority support options
- Extended license terms
Support & Contact
For any help or customization:
- 🌐 Website: https://www.wontonee.com
- 📧 Email: dev@wontonee.com
- 💬 WhatsApp: +91 9711381236
- 🎥 Video Tutorial: Watch Installation Guide
Made with ❤️ by Wontonee