2017 © Pedro Peláez
 

library omnipay-first-atlantic-commerce

First Atlantic Commerce driver for the Omnipay PHP payment processing library

image

bitpiston/omnipay-first-atlantic-commerce

First Atlantic Commerce driver for the Omnipay PHP payment processing library

  • Tuesday, May 1, 2018
  • by Einkoro
  • Repository
  • 1 Watchers
  • 0 Stars
  • 1 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 6 Forks
  • 0 Open issues
  • 9 Versions
  • 0 % Grown

The README.md

Omnipay: First Atlantic Commerce

First Atlantic Commerce driver for the Omnipay PHP payment processing library, (*1)

Source Code Latest Version Software License, (*2)

Total Downloads, (*3)

Omnipay is a framework agnostic, multi-gateway payment processing library for PHP 5.3+. This package implements First Atlantic Commerce support for Omnipay., (*4)

Installation

Omnipay is installed via Composer. To install, simply add it to your composer.json file and update or install directly with composer require:, (*5)

$ composer require bitpiston/omnipay-first-atlantic-commerce

This package strives to use Semantic Versioning as explained here., (*6)

Basic Usage

The following gateways are provided by this package:, (*7)

  • FirstAtlanticCommerce

This package implements the following methods:, (*8)

  • authorize($options) – authorize an amount on the customer’s card.
  • capture($options) – capture an amount you have previously authorized.
  • purchase($options) – authorize and immediately capture an amount on the customer’s card.
  • refund($options) – refund an already processed (settled) transaction.
  • void($options) – reverse a previously authorized (unsettled) transaction.
  • status($options) – check the status of a previous transaction.
  • createCard($options) – create a stored card and return the reference token for future transactions.
  • updateCard($options) – update a stored card's expiry or customer reference.

For general usage instructions, please see the Omnipay documentation. For information on the parameters needed for each request, see the class documentation for that request in the Message folder., (*9)

Basic Example

use Omnipay\Omnipay;

// Setup payment gateway
$gateway = Omnipay::create('FirstAtlanticCommerce');
$gateway->setMerchantId('123456789');
$gateway->setMerchantPassword('abc123');

// Example form data
$formData = [
    'number'      => '4242424242424242',
    'expiryMonth' => '6',
    'expiryYear'  => '2016',
    'cvv'         => '123'
];

// Send purchase request
$response = $gateway->purchase([
    'amount'        => '10.00',
    'currency'      => 'USD',
    'transactionId' => '1234',
    'card'          => $formData
])->send();

// Process response
if ( $response->isSuccessful() )
{
    // Payment was successful
    print_r($response);
}
else
{
    // Payment failed
    echo $response->getMessage();
}

Support

If you are having general issues with Omnipay, we suggest posting on Stack Overflow. Be sure to add the omnipay tag so it can be easily found., (*10)

If you want to keep up to date with release anouncements, discuss ideas for the project, or ask more detailed questions, there is also a mailing list which you can subscribe to., (*11)

If you believe you have found a bug, please report it using the GitHub issue tracker, or better yet, fork the library and submit a pull request., (*12)

The Versions

01/05 2018

dev-master

9999999-dev https://github.com/bitpiston/omnipay-first-atlantic-commerce

First Atlantic Commerce driver for the Omnipay PHP payment processing library

  Sources   Download

MIT

The Requires

 

The Development Requires

gateway omnipay payment processing first atlantic commerce fac

01/05 2018

v1.0.1

1.0.1.0 https://github.com/bitpiston/omnipay-first-atlantic-commerce

First Atlantic Commerce driver for the Omnipay PHP payment processing library

  Sources   Download

MIT

The Requires

 

The Development Requires

gateway omnipay payment processing first atlantic commerce fac

22/02 2017

v1.0.0

1.0.0.0 https://github.com/strikewood/omnipay-first-atlantic-commerce

First Atlantic Commerce driver for the Omnipay PHP payment processing library

  Sources   Download

MIT

The Requires

 

The Development Requires

gateway omnipay payment processing first atlantic commerce fac

22/02 2017

v0.4.0

0.4.0.0 https://github.com/strikewood/omnipay-first-atlantic-commerce

First Atlantic Commerce driver for the Omnipay PHP payment processing library

  Sources   Download

MIT

The Requires

 

The Development Requires

gateway omnipay payment processing first atlantic commerce fac

17/02 2017

v0.3.0

0.3.0.0 https://github.com/strikewood/omnipay-first-atlantic-commerce

First Atlantic Commerce driver for the Omnipay PHP payment processing library

  Sources   Download

MIT

The Requires

 

The Development Requires

gateway omnipay payment processing first atlantic commerce fac

07/02 2017

v0.2.2

0.2.2.0 https://github.com/strikewood/omnipay-first-atlantic-commerce

First Atlantic Commerce driver for the Omnipay PHP payment processing library

  Sources   Download

MIT

The Requires

 

The Development Requires

gateway omnipay payment processing first atlantic commerce fac

07/10 2015

v0.2.1

0.2.1.0 https://github.com/strikewood/omnipay-first-atlantic-commerce

First Atlantic Commerce driver for the Omnipay PHP payment processing library

  Sources   Download

MIT

The Requires

 

The Development Requires

gateway omnipay payment processing first atlantic commerce fac

04/05 2015

v0.2

0.2.0.0 https://github.com/strikewood/omnipay-first-atlantic-commerce

First Atlantic Commerce driver for the Omnipay PHP payment processing library

  Sources   Download

MIT

The Requires

 

The Development Requires

gateway omnipay payment processing first atlantic commerce fac

27/03 2015

v0.1

0.1.0.0 https://github.com/strikewood/omnipay-first-atlantic-commerce

First Atlantic Commerce driver for the Omnipay PHP payment processing library

  Sources   Download

MIT

The Requires

 

The Development Requires

gateway omnipay payment processing first atlantic commerce fac