yomalilabs/cartgateway-merchant
最新稳定版本:v0.0.3
Composer 安装命令:
composer require yomalilabs/cartgateway-merchant
包简介
Merchant API for CartGateway.
README 文档
README
How To Install
- Download the repository to your computer. or
composer require yomalilabs/cartgateway-merchant composer install- Head over to the
/examplesdirectory to see the usage of the requests.
Hosted Checkout
You can trigger a hosted checkout request that will create the session and store the checkout. The response will include an url to redirect the client to that will be used to enter the card information. On success the client will be redirected back to the specified success url to validate the payment. The merchant will then do a validate hosted checkout request to authorize the payment was indeed a success at CartGateway.
Validate Hosted Checkout
You can trigger and validate hosted checkout request with the payment_id.
Payment API
- Charge Payment (sale)
- Authorize Payment
- Capture Authorized Payment
- Refund Payment
- Void Payment
- Lookup Payment Information
Tests
OK (100 tests, 225 assertions)
统计信息
- 总下载量: 3
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 4
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-11-08