samwaters/litlephp
Composer 安装命令:
composer require samwaters/litlephp
包简介
README 文档
README
PHP Client for Litle API
##Supported API calls
- Preauth
##Requirements
- PHP 5.3+
- Composer
##Libraries included
- phpseclib (dev-master)
##Pulling in the library
###With Composer
require samwaters/litlephp: dev-master
###Without Composer
include "vendor/autoload.php";
##Usage
See Examples/Preauth.php for a detailed example
$client = new \LitlePHP\LitleClient("", "", 0, "test", "sandbox");
$card = new \LitlePHP\Structs\Card("5454545454545454", "12", "18", "123");
$billing = new \LitlePHP\Structs\Billing("A Developer", "1 Cherry Tree Lane", "London", "London", "LO123MP", "GB");
$merchant = new \LitlePHP\Structs\MerchantData("", "TEST");
$response = $client->AuthCard($card, $billing, $merchant, "1.00");
统计信息
- 总下载量: 267
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: DBAD
- 更新时间: 2015-06-29