2017 © Pedro Peláez
 

library omnipay-setefi

Setefi driver for the Omnipay payment processing library

image

simotod/omnipay-setefi

Setefi driver for the Omnipay payment processing library

  • Friday, October 9, 2015
  • by SimoTod
  • Repository
  • 1 Watchers
  • 0 Stars
  • 43 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Omnipay: Setefi

Setefi gateway for the Omnipay PHP payment processing library, (*1)

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

Installation

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

{
    "require": {
        "simotod/omnipay-setefi": "~1.0"
    }
}

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

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

Basic Usage

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

Example


$gateway = Omnipay::create('\SimoTod\OmnipaySetefi\Gateway'); $request = $gateway->purchase( array( 'id' => '99999999', 'password' => '99999999', 'amount' => '1.00', 'returnUrl' => 'http://www.merchant.it/notify', 'cancelUrl' => 'http://www.merchant.it/error', 'transactionId' => 'TRCK0001', 'description' => 'Description' 'language' => \SimoTod\OmnipaySetefi\Gateway::LANG_ITA ) ); //Set test mode. Remove this row or set to false in production. $request->setTestMode(true); $response = $request->send(); if ($response->isRedirect()) { // (optional) save the $response->getTransactionReference() token. // redirect to offsite payment Setefi $response->redirect(); } else { // payment failed: display message to customer 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., (*6)

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., (*7)

If you believe you have found a bug, please report it using the GitHub issue tracker., (*8)

The Versions

09/10 2015

dev-master

9999999-dev

Setefi driver for the Omnipay payment processing library

  Sources   Download

MIT

The Requires

 

The Development Requires

payment pay gateway merchant omnipay setefi moneta online

09/10 2015

1.0.2

1.0.2.0

Setefi driver for the Omnipay payment processing library

  Sources   Download

MIT

The Requires

 

The Development Requires

payment pay gateway merchant omnipay setefi moneta online

25/09 2015

1.0.1

1.0.1.0

Setefi driver for the Omnipay payment processing library

  Sources   Download

MIT

The Requires

 

The Development Requires

payment pay gateway merchant omnipay setefi moneta online