gcgov / payjunction
PayJunction API的开源PHP SDK。
v1.1.3
2024-08-30 13:02 UTC
Requires
- php: >=8.0
- andrewsauder/json-deserialize: ^2.5
- guzzlehttp/guzzle: ^7.9
README
有关完整的PayJunction API文档,请访问https://developer.payjunction.com/。此包与PayJunction无关,也不受其支持。
智能终端
$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');