Download the PHP package ib/ib-wallet without Composer
On this page you can find all versions of the php package ib/ib-wallet. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Package ib-wallet
Short Description Complete package for all types of payment gateways for Nepal
License MIT
Homepage https://github.com/kingindraib/ib-wallet
Informations about the package ib-wallet
IbWallet
This Laravel Package facilitates creating payments across multiple Nepalese wallets such as Khalti, eSewa, and more, offering versatile payment options in Nepal. This support latest version of any package
How to contribute
If you want to contribute this project.
- email: [email protected]
Support Wallet
- Khalti : working
- Esewa : working
- Parbhu Pay : coming
- Ime Pay : coming
- My Pay : coming
Using Example
Using Composer
Publish Vendor File
or
using
paste in the controller
for Khalti
set env file (Here is a sample example)
- mode 0 for development
- mode 1 for production
for khalti marchent
- marchent url : https://test-admin.khalti.com/#/join/merchant
- use valid information.
-
use otp: 987654 (this only for testing purpose)
if you have amount in rs, then you can use IbWallet::Khaltiamount('amount in rs'), this will response in paisa.
after successful payment and redirect on callback url which you already set in env file. then you can use get metod to print response or ib wallet provide a function for it. for print response
for esewa
set the env file as seen
- mode 0 for development
- mode 1 for production
- this secret key and product code only used on development, for production you need to contact with esewa
in controller
- DO not change the signature field.
after success and falure payment you will auto redierect success and failure url which is set on .env file. Define the method like this
Lisence
MIT
Author
- Indra Basnet
Support and FeedBack
email : [email protected]