2017-25 © Pedro Peláez
 

library omnipay-paytrace

PayTrace gateway for the Omnipay payment processing library

image

softcommerce/omnipay-paytrace

PayTrace gateway for the Omnipay payment processing library

  • Thursday, August 24, 2017
  • by exec
  • Repository
  • 1 Watchers
  • 3 Stars
  • 25,589 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 5 Forks
  • 0 Open issues
  • 6 Versions
  • 6 % Grown

The README.md

Omnipay: PayTrace

PayTrace driver for the Omnipay PHP payment processing library, (*1)

Build Status Latest Stable Version Total Downloads, (*2)

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

This package require PHP 5.4+, (*4)

Installation

Omnipay is installed via Composer. To install, simply add it to your composer.json file:, (*5)

{
    "require": {
        "softcommerce/omnipay-paytrace": "~1.0"
    }
}

And run composer to update your dependencies:, (*6)

$ curl -s http://getcomposer.org/installer | php
$ php composer.phar update

Basic Usage

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

  • Paytrace_CreditCard
  • Paytrace_Check

Usage Example:, (*8)

$ccGateway = \Omnipay\Omnipay::create('Paytrace_CreditCard');
$ccGateway->setUserName('demo123')
    ->setPassword('demo123')
    ->setTestMode(true);

$creditCardData = ['number' => '4242424242424242', 'expiryMonth' => '6', 'expiryYear' => '2016', 'cvv' => '123'];
$response = $ccGateway->purchase(['amount' => '10.00', 'currency' => 'USD', 'card' => $creditCardData])->send();

if ($response->isSuccessful()) {
    // SUCCESS
    echo $response->getMessage();
} else {
    // FAIL
    echo $response->getMessage();
}

$chGateWay = \Omnipay\Omnipay::create('Paytrace_Check');
$chGateway->setUserName('demo123')
    ->setPassword('demo123')
    ->setTestMode(true);

$checkData = ['routingNumber' => '325070760', 'bankAccount' => '1234567890', 'name' => 'John Doe'];
$response = $chGateway->purchase(['amount' => '10.00', 'currency' => 'USD', 'check' => $checkData])->send();

if ($response->isSuccessful()) {
    // SUCCESS
    echo $response->getMessage();
} else {
    // FAIL
    echo $response->getMessage();
}

For general usage instructions, please see the main Omnipay repository., (*9)

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 announcements, 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

24/08 2017

dev-master

9999999-dev https://github.com/iddqdidkfa/omnipay-paytrace

PayTrace gateway for the Omnipay payment processing library

  Sources   Download

MIT

The Requires

 

The Development Requires

payment gateway merchant omnipay paytrace

24/08 2017

v1.2.1

1.2.1.0 https://github.com/iddqdidkfa/omnipay-paytrace

PayTrace gateway for the Omnipay payment processing library

  Sources   Download

MIT

The Requires

 

The Development Requires

payment gateway merchant omnipay paytrace

13/07 2017

v1.2

1.2.0.0 https://github.com/iddqdidkfa/omnipay-paytrace

PayTrace gateway for the Omnipay payment processing library

  Sources   Download

MIT

The Requires

 

The Development Requires

payment gateway merchant omnipay paytrace

27/05 2017

v1.1

1.1.0.0 https://github.com/iddqdidkfa/omnipay-paytrace

PayTrace gateway for the Omnipay payment processing library

  Sources   Download

MIT

The Requires

 

The Development Requires

payment gateway merchant omnipay paytrace

12/08 2015

v1.0.1

1.0.1.0 https://github.com/iddqdidkfa/omnipay-paytrace

PayTrace gateway for the Omnipay payment processing library

  Sources   Download

MIT

The Requires

 

The Development Requires

payment gateway merchant omnipay paytrace

11/08 2015

v1.0

1.0.0.0 https://github.com/iddqdidkfa/omnipay-paytrace

PayTrace gateway for the Omnipay payment processing library

  Sources   Download

MIT

The Requires

 

The Development Requires

payment gateway merchant omnipay paytrace