gcgov/payjunction
Composer 安装命令:
composer require gcgov/payjunction
包简介
Open source PHP SDK for PayJunction API.
README 文档
README
See https://developer.payjunction.com/ for full PayJunction API documentation. This package is not affiliated with or supported by PayJunction.
SmartTerminals
$config = new \gcgov\payjunction\config( 'username', 'password', 'apiKey', 'terminalId', 'merchantId' ); $smartTerminalApi = new \gcgov\payjunction\smartTerminal( $config ); //Methods available for interacting with Smart Terminal $smartTerminalApi->reset(); $smartTerminalApi->status( 'request-id-from-response'); $smartTerminalApi->requestPayment( 100.25 ); $smartTerminalApi->requestSignature( 'Terms and conditions to display on screen'); $smartTerminalApi->signatureImage( 'signature-id-from-response');
Transactions
Get One
$config = new \gcgov\payjunction\config( 'username', 'password', 'apiKey', 'terminalId', 'merchantId' ); $transactionApi = new \gcgov\payjunction\smartTerminal( $config ); //Methods available for interacting with Smart Terminal $transactionApi->getTransaction( $transactionId );
统计信息
- 总下载量: 23
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-09-27