Download the PHP package bibek-deula/laravel-nepal-payment without Composer
On this page you can find all versions of the php package bibek-deula/laravel-nepal-payment. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download bibek-deula/laravel-nepal-payment
More information about bibek-deula/laravel-nepal-payment
Files in bibek-deula/laravel-nepal-payment
Package laravel-nepal-payment
Short Description Laravel package for Nepal payment gateways integration (eSewa, Khalti, Fonepay)
License MIT
Informations about the package laravel-nepal-payment
Laravel Nepal Payment Gateway
A Laravel package for integrating Nepal's popular payment gateways: eSewa, Khalti, and Fonepay.
Features
- ✅ eSewa - Nepal's leading payment gateway
- ✅ Khalti - Digital wallet and payment gateway
- ✅ Fonepay - Unified payment gateway
- 🎨 Modern Bootstrap 5 UI
- 🔧 Easy configuration
- 📦 Ready-to-use payment page
- 🔒 Secure payment processing
Installation
1. Install via Composer
2. Publish Package Files
Publish configuration, views, and assets:
Or publish individually:
3. Configure Environment Variables
Add the following to your .env file:
4. Install Dependencies
Usage
Access Payment Page
Navigate to: http://your-domain/payment
Test Credentials
eSewa
- Merchant Code:
EPAYTEST
Khalti
- Test IDs: 9800000000, 9800000001, etc.
- MPIN: 1111
- OTP: 987654
Fonepay
- Bank: Global IME Bank
- Username: 98XXXXXXXX (any 10-digit)
- Password: 1212122
- OTP: 1212122
Configuration
After publishing, edit config/nepal-payment.php to customize:
- Payment gateway credentials
- URLs (test/live)
- Route prefix and middleware
- Success/failure redirect URLs
Routes
The package provides these routes (with payment prefix by default):
Customization
Views
Views are published to resources/views/vendor/nepal-payment/. Customize as needed.
Assets
JS and CSS are published to:
resources/js/vendor/nepal-payment/resources/css/vendor/nepal-payment/
Make sure to include them in your Vite build or compile separately.
Future Additions
This package is designed to be extensible. Future versions will include:
- HBL Bank integration
- Nabil Bank integration
- ConnectIPS integration
- Other Nepalese payment gateways
License
MIT License
Author
Bibek Deula
- Email: [email protected]
Support
For issues and feature requests, please create an issue on GitHub.
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.