2017 © Pedro Peláez
 

library guzzle-eway

A Guzzle client for interacting with the Eway Direct Transactions API

image

bluedogtraining/guzzle-eway

A Guzzle client for interacting with the Eway Direct Transactions API

  • Saturday, July 12, 2014
  • by bluedogtraining
  • Repository
  • 8 Watchers
  • 2 Stars
  • 368 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 12 Versions
  • 7 % Grown

The README.md

guzzle-eway

Build Status, (*1)

A PHP 5.3+ Guzzle client for interacting with the Eway Direct Transaction API., (*2)

Install

Via composer, (*3)

{
    "require": {
        "bluedogtraining/guzzle-eway": "3.*"
    }
}

Usage

Create API client

$client = \Bdt\Eway\EwayClient::factory();

Send Payment

Command arguments are as defined in the Eway API, except without the eway prefix., (*4)

$response = $client->SendPayment([
    'customerID'      => '87654321',                                   
    'totalAmount'     => '10',                                         
    'cardHoldersName' => 'Foo Bar',                                    
    'cardNumber'      => '4444333322221111',                           
    'cardExpiryMonth' => '06',                                         
    'cardExpiryYear'  => '20',                                         
    'CVN'             => '123',
]);

$response['trxnStatus']; // true
$response['trxnError']['code']; // 10

Testing

$ phpunit

More Reading

The Versions

12/07 2014

dev-master

9999999-dev

A Guzzle client for interacting with the Eway Direct Transactions API

  Sources   Download

MIT

The Requires

 

The Development Requires

payment guzzle eway australia

12/07 2014

v3.0.0

3.0.0.0

A Guzzle client for interacting with the Eway Direct Transactions API

  Sources   Download

MIT

The Requires

 

The Development Requires

payment guzzle eway australia

01/06 2014

dev-guzzle_4

dev-guzzle_4

A Guzzle client for interacting with the Eway Direct Transactions API

  Sources   Download

MIT

The Requires

 

The Development Requires

payment guzzle eway australia

28/01 2014

v2.1.4

2.1.4.0

A Guzzle client for interacting with the Eway Direct Transactions API

  Sources   Download

MIT

The Requires

 

The Development Requires

payment guzzle eway australia

13/06 2013

v2.1.3

2.1.3.0

A Guzzle client for interacting with the Eway Direct Transactions API

  Sources   Download

MIT

The Requires

 

The Development Requires

payment guzzle eway australia

28/05 2013

v2.1.2

2.1.2.0

A Guzzle client for interacting with the Eway Direct Transactions API

  Sources   Download

MIT

The Requires

 

The Development Requires

payment guzzle eway australia

15/04 2013

v2.1.1

2.1.1.0

A Guzzle client for interacting with the Eway Direct Transactions API

  Sources   Download

MIT

The Requires

 

The Development Requires

payment guzzle eway australia

06/03 2013

v2.1.0

2.1.0.0

A Guzzle client for interacting with the Eway Direct Transactions API

  Sources   Download

MIT

The Requires

 

The Development Requires

payment guzzle eway australia

05/03 2013

v2.0.1

2.0.1.0

A Guzzle client for interacting with the Eway Direct Transactions API

  Sources   Download

MIT

The Requires

 

The Development Requires

payment guzzle eway australia

13/02 2013

v2.0.0

2.0.0.0

A Guzzle client for interacting with the Eway Direct Transactions API

  Sources   Download

MIT

The Requires

 

The Development Requires

payment guzzle eway australia

09/01 2013

v1.0.1

1.0.1.0

A Guzzle client for interacting with the Eway Direct Transactions API

  Sources   Download

MIT

The Requires

 

The Development Requires

payment guzzle eway australia

08/01 2013

v1.0.0

1.0.0.0

A Guzzle client for interacting with the Eway Direct Transactions API

  Sources   Download

MIT

The Requires

 

The Development Requires

payment guzzle eway australia