2017 © Pedro PelĂĄez
 

library php-moneris-eselectplus

An alternative and modern way to access the Moneris eSELECTplus API with PHP 5.3+.

image

cedricblondeau/php-moneris-eselectplus

An alternative and modern way to access the Moneris eSELECTplus API with PHP 5.3+.

  • Wednesday, May 4, 2016
  • by cedricblondeau
  • Repository
  • 1 Watchers
  • 2 Stars
  • 429 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 2 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

php-moneris-eselectplus Build Status

An alternative and modern way to access the Moneris eSELECTplus API with PHP 5.3+., (*1)

This library was initially a fork of ironkeith/moneris-eselectplus-api., (*2)

Motivation

I needed to integrate Moneris with a nice and modern PHP project and did not want to include the source code they provide., (*3)

Keith Silgard did an awesome job by writing an alternative library but I wanted something with namespaces, PSR-4 support, unit testing and Vault API functions, so I decided to fork it and finally, to fully redesign and rewrite it for PHP 5.3+., (*4)

Usage example

use CedricBlondeau\Moneris;

// Config
$config = new Config('test_api_key', 'store1');
$config->setEnvironment(Config::ENV_TESTING);

// Purchase transaction
$transaction = new Moneris\Transaction\Basic\Purchase($config, array(
    'cc_number' => '4242424242424242',
    'expiry_month' => 10,
    'expiry_year' => 18,
    'order_id' => 'test' . date("dmy-G:i:s"),
    'amount' => 100
));

// CURL
$httpClient = new Moneris\Http\Client\Curl($transaction);
$result = $httpClient->execute();

The Versions

04/05 2016

dev-master

9999999-dev https://github.com/cedricblondeau/php-moneris-eselectplus

An alternative and modern way to access the Moneris eSELECTplus API with PHP 5.3+.

  Sources   Download

MIT

The Requires

  • php >=5.3
  • ext-curl *

 

The Development Requires

moneris eselectplus

04/05 2016

1.0.0

1.0.0.0 https://github.com/cedricblondeau/php-moneris-eselectplus

An alternative and modern way to access the Moneris eSELECTplus API with PHP 5.3+.

  Sources   Download

MIT

The Requires

  • php >=5.3
  • ext-curl *

 

The Development Requires

moneris eselectplus