tmob/kesspay
最新稳定版本:v0.1
Composer 安装命令:
composer require tmob/kesspay
包简介
Unofficial Kess library
README 文档
README
This documentation aims to provide all the information you need to work with Kess library.
Installation
composer install tmob/kesspay
Usage
$kess = new \tmob\Kess();
Create new instance of Kess
$kess = new Kess([ "api_url" => "{api_url}", "username" => "{username}", "password" => "{password}", "client_id" => "{client_id}", "client_secret" => "{client_secret}", "seller_code" => "{seller_code}", "api_secret_key" => "{api_secret_key}", ]);
Usage/Examples
Generate payment link
$link = $kess=>generatePaymentLink([ "body": "Delishop", "currency": "USD", "out_trade_no": "TR-20230310104700", "total_amount": 10, "invoke_reuse": 1 ])
List all payment method
$allPaymentMethod = $kess=>listAllPaymentMethod()
Query Order
$queryOrder = $kess=>queryOrder([ "out_trade_no": "TR-20230310104700" ])
Close Order
$queryOrder = $kess=>closeOrder([ "out_trade_no": "TR-20230310104700" ])
Kess Documentation
统计信息
- 总下载量: 7
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: proprietary
- 更新时间: 2023-03-27