承接 agmscode/agms_php_lite 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

agmscode/agms_php_lite

最新稳定版本:v0.2.0

Composer 安装命令:

composer require agmscode/agms_php_lite

包简介

Agms PHP Lite Library

README 文档

README

Agms Php Lite Library

Build Status Latest Stable Version Total Downloads Latest Unstable Version License

Requirements

PHP 5.1 and later.

Installation

Download the latest release. Then, include the agms.php file.

require_once('/path/to/agms_php_lite/agms.php');

Getting Started

Simple usage looks like:

Agms::setUsername('your username');
Agms::setPassword('your password');
$params = array(
    'TransactionType' => 'sale'
    'CCNumber' => '4111111111111111',
    'CC_exp_date' => '1220',
    'CVV' => 123,
    'Amount' => '20'
);
$response = Agms::process($params);
echo $response;

Documentation

Please see http://onlinepaymentprocessing.com/docs/ for up-to-date documentation.

Tests

In order to run tests first install PHPUnit via Composer:

composer update --dev

To run the test suite:

./vendor/bin/phpunit

统计信息

  • 总下载量: 13
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 3
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-05-06