nikolaynesov/usaepay-php

There is no license information available for the latest version (dev-master) of this package.

Fork of USAePay's PHP API library that includes composer package support.

dev-master 2016-06-09 17:14 UTC

This package is auto-updated.

Last update: 2024-04-17 23:19:50 UTC


README

Supports Composer. PSR-4.

http://www.usaepay.com

http://help.usaepay.com/developer/phplibrary

SYNOPSIS

The USAePay PHP library is a class for running transactions on the USAePay gateway. Its feature set roughly follows the transaction api. If you are looking for more features, take a look at soap api.

SUPPORT

If you have any questions on the use of this library, please contact the developer integration support department: devsupport@usaepay.com 866-872-3729 x706

For more documentation on using the library, please see http://help.usaepay.com/developer/phplibrary

REQUIREMENTS

-PHP 4.3.x or higher (http://www.php.net)

-HTTPs streams support in PHP or -Curl/ssl module installed (http://curl.haxx.se/)

VERIFYING INSTALLATION

This package includes a test script "verify_install.php" that can be used to verify that your PHP installation is capable of using this library. Make sure to modify the script to include the correct path to the library. Then place the script in web accessable directiory and access it from a web browser. If any problems are detected, follow the on screen instructions.

QUICK START

<?php
$tran=new USAePay\umTransaction;
$tran->key="AAAAABBBBBBCCCCCCDDDDDDEEEEEEEE";  
$tran->card="4444555566667779";	
$tran->exp="1214";
$tran->amount="5.00";
if($tran->process())
{
	echo "Transaction Approved!";
} else {
	echo "Transaction Failed: " . $tran->error;
}