Download the PHP package fatryst/icbc without Composer
On this page you can find all versions of the php package fatryst/icbc. 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 icbc
ICBC
工行 商户收单服务 二维码扫码支付
一、 安装
-
安装
- 发布配置文件
icbc.php
发布时 config/icbc.php 配置文件 包含:
在 Laravel 5.5 及以上版本,服务提供商将自动获得注册。 在旧版本的框架中,只需在 config/app.php 文件中添加服务提供者即可:
二、 使用
- 根据需要修改配置文件,配置文件中的配置均为必填,不能为空
-
初始化对象(不填参数时默认使用配置文件中的参数)
$icbc = new ICBCPay(params..)
- 实现api
- 二维码生成
$icbc->generate(params..)
- 二维码被扫支付
$icbc->pay(params..)
- 二维码查询
$icbc->query(params..)
- 二维码退款
$icbc->reject(params..)
- 二维码冲正
$icbc->reverse(params..)
- 二维码退款查询
$icbc->reject_query(params..)
- 二维码生成
具体参数详情访问官网:
工行|开放平台
All versions of icbc with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.0.0
The package fatryst/icbc contains the following files
Loading the files please wait ....