travis-bradbury / php-paymentree-api
There is no license information available for the latest version (v0.2.2) of this package.
This library wraps the Paymentree API for ease of use.
v0.2.2
2017-09-25 02:31 UTC
Requires
- clue/socket-raw: ~1.2
README
Here's an example of what this might look like.
// 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();