travis-bradbury / php-paymentree-api
This library wraps the Paymentree API for ease of use.
Installs: 37
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/travis-bradbury/php-paymentree-api
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();