vldmitrofanov/usaepay-php
最新稳定版本:1.7.3
Composer 安装命令:
composer require vldmitrofanov/usaepay-php
包简介
Fork of nikolaynesov's fork of USAePay's PHP API library that includes composer package support and PHP 8.3.
README 文档
README
Supports Composer. PSR-4.
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;
}
统计信息
- 总下载量: 103
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-01-10