Download the PHP package toanppp/php-zalo-pay without Composer
On this page you can find all versions of the php package toanppp/php-zalo-pay. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package php-zalo-pay
PHP Zalo Pay Service
About
PHP Zalo Pay integration.
Todo
- [ ] Payment
- [x] Disbursement
Install
Methods
ZaloPay :: __construct ( array
params, string
env )
Create Zalo Pay service instance
param
must containappID
,paymentID
,hMacKey
,privateKey
env
:ZaloPay::ENV_PRODUCTION
|ZaloPay::ENV_SANDBOX
|ZaloPay::ENV_SANDBOX_QC
ZaloPayDisbursement :: queryUser ( string
phone, string
&requestID ) : array
Query Zalo Pay user info.
ZaloPayDisbursement :: transferFund ( ... ) : array
Transfer fund to user's wallet.
Params:
string
mUID : response inqueryUser
functionint
amountstring
descriptionarray
partnerEmbedDataarray
extraInfostring
&partnerOrderID
ZaloPayDisbursement :: queryOrder ( string
partnerOrderID, string
&requestID ) : array
Query order info (status,...).
ZaloPayDisbursement :: queryBalance ( string
&requestID ) : array
Query merchant's wallet balance.
ZaloPayDisbursement :: disbursement ( ... , int
maxQueryTimes) : bool
Transfer fund to user's wallet & query status.
All versions of php-zalo-pay with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.4
The package toanppp/php-zalo-pay contains the following files
Loading the files please wait ....