New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

agmscode/agms_php_lite

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

agmscode/agms_php_lite

Agms PHP Lite Library

Source
Packagist
Version
v0.2.0
Version published
Total downloads
13
Maintainers
1
Created
Source

agms_php_lite

Agms Php Lite Library

Build Status Latest Stable Version Total Downloads Latest Unstable Version License Code Coverage

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

Keywords

api

FAQs

Package last updated on 24 Jun 2015

Related posts