travis-bradbury/php-paymentree-api

该软件包最新版本(v0.2.2)没有可用的许可证信息。

该库封装了Paymentree API,以便于使用。

v0.2.2 2017-09-25 02:31 UTC

This package is auto-updated.

Last update: 2024-09-05 18:36:18 UTC


README

以下是一个示例。

// Optional; otherwise connects on default 127.0.0.1:32000.
Paymentree::connect('192.168.10.154', 80);

$transaction = new PaymentTransaction();
$transaction->setAmount(500);
/** @var \Paymentree\DebitResponse */
$response = $transaction->send();

$transaction_id = $response->getPayLinqTransactionId();