2017 © Pedro Peláez
 

library php-converge-api

A PHP wrapper for using Evalon Converge's API

image

wwwroth/php-converge-api

A PHP wrapper for using Evalon Converge's API

  • Monday, October 23, 2017
  • by wwwroth
  • Repository
  • 0 Watchers
  • 0 Stars
  • 3,440 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 68 % Grown

The README.md

PHP Converge API

A simple, easy to use wrapper for Elavon's Converge API via key value pairs instead of XML., (*1)

Compatibility

This package will work with PHP >= 5.5 with CURL enabled., (*2)

Installation

Install this package via Composer with composer require wwwroth/php-converge-api., (*3)

Example usage

Construct a new instance with your merchant ID, user ID, PIN and if you're using demo credentials or not., (*4)

$converge = new \wwwroth\Converge\Converge([
    'merchant_id' => '12345',
    'user_id' => 'webpage',
    'pin' => '123456',
    'demo' => true,
]);

You can then call any of the Converge transaction type with ->request() and provide the transaction type as well as an array of key value pairs to send to the API. The package will use the demo or live endpoint automatically based on how you constructed the object., (*5)

ccgettoken

$generateToken = $converge->request('ccgettoken', [
    'ssl_card_number' => '5432************',
    'ssl_exp_date' => '0325',
    'ssl_cvv2cvc2' => '321',
    'ssl_amount' => '100.00',
    'ssl_avs_address' => '2 South Street #10',
    'ssl_avs_zip' => '07960',
]);
if ($generateToken['success']) { ... }

ccsale

$createSale = $converge->request('ccsale', [
    'ssl_card_number' => '4321************',
    'ssl_exp_date' => '0420',
    'ssl_cvv2cvc2' => '123',
    'ssl_amount' => '10.00',
    'ssl_avs_address' => '44 Miller Road',
    'ssl_avs_zip' => '07960',
]);
if ($createSale['success']) { ... }

All Transaction Types

* ccauthonly
* ccavsonly
* ccsale
* ccverify
* ccgettoken
* cccredit
* ccforce
* ccbalinquiry
* ccgettoken
* ccreturn
* ccvoid
* cccomplete
* ccdelete
* ccupdatetip
* ccsignature
* ccaddrecurring
* ccaddinstall
* ccupdatetoken
* ccdeletetoken
* ccquerytoken

The Versions

23/10 2017

dev-master

9999999-dev https://github.com/wwwroth/php-converge-api

A PHP wrapper for using Evalon Converge's API

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

The Development Requires

api wrapper client converge evalon

23/10 2017

1.0.1

1.0.1.0 https://github.com/wwwroth/php-converge-api

A PHP wrapper for using Evalon Converge's API

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

The Development Requires

api wrapper client converge evalon

19/10 2017

0.5

0.5.0.0 https://github.com/wwwroth/php-converge-api

A PHP wrapper for using Evalon Converge's API

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

The Development Requires

api wrapper client converge evalon

19/10 2017

1.0

1.0.0.0 https://github.com/wwwroth/php-converge-api

A PHP wrapper for using Evalon Converge's API

  Sources   Download

MIT

The Requires

 

The Development Requires

api wrapper client converge evalon

19/10 2017

0.1

0.1.0.0 https://github.com/wwwroth/php-converge-api

A PHP wrapper for using Evalon Converge's API

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

The Development Requires

api wrapper client converge evalon