Download the PHP package mst-ghi/larapool without Composer
On this page you can find all versions of the php package mst-ghi/larapool. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package larapool
Larapool
A Laravel (+7) package to connect all Iraninan payments gateways
Active ports :
- [x] IDPay
- [x] Mellat
- [ ] Sadad
- [ ] Zarinpal
- [ ] Payline
- [ ] Jahanpay
- [ ] Saderat
- [ ] IranKish
- [ ] Saman
- [ ] Parsian
- [ ] Pay
- [ ] JiBit
- [ ] AP
- [ ] BitPay
Installing :
Step 1 :
Step 2 : Apply the following changes to the config/app.php file
Step 3 : Publishing required files
Choice and enter number of MstGhi\Larapool\LarapoolServiceProvider to publish resource files. Published files include config and migration files
Step 4 : Create transaction tables
Package configs
The installation operation is complete. Now open the larapool.php file in the config/larapool.php and enter the settings related to your desired banking portal.
Create new transaction
Your project Order model must use the TransactionAble trait. This trait adds relation transactions() to order model
You have to register the order and then create a transaction for that orderIn the next step, transfer to the bank portal using $resId
Redirect to bank
Can be redirected directly to the bank portal using the redirect()
or
Received the relevant link and connected to the bank portal in other ways using the redirectLink()The choice of redirect method to the bank depends on your project
Callback from bank
All versions of larapool with dependencies
ext-curl Version *
ext-json Version *
nesbot/carbon Version *
illuminate/database Version >=5.7.17
illuminate/support Version >=5.7.17