2017 © Pedro Peláez
 

symfony-bundle sermepa-omnipay

Sermepa (now Redsys) payment gateway implementation with omnipay

image

mendicm/sermepa-omnipay

Sermepa (now Redsys) payment gateway implementation with omnipay

  • Thursday, June 14, 2018
  • by mendicm
  • Repository
  • 1 Watchers
  • 0 Stars
  • 3,070 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 14 Forks
  • 0 Open issues
  • 3 Versions
  • 9 % Grown

The README.md

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

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

Requirements

  • PHP >= 5.6
  • Composer (curl -s http://getcomposer.org/installer | php)

Installation

Omnipay is installed via Composer. To install, simply run:, (*3)

composer require "mendicm/sermepa-omnipa":"dev-master"

Basic Usage

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

Upgrade to Omnipay 3.X

Changes for use with Omnipay 3.0, (*5)

  • Currency: Use the code of ISO-4217 (https://en.wikipedia.org/wiki/ISO_4217#Active_codes) instance a number. ('EUR' => '978')

Additional Parameter

If you want to avoid having to multiply the value by 100 just add a new parameter ( multiply=true ) to the purchase function., (*6)

Additional Callback

Redsys has an additional callback ( Respuesta online ) that may be active in your redsys platform and therfore must be implemented. This new callback cannot follow the normal usage of Omnipay. You need to implement checkCallbackResponse() and decodeCallbackResponse()., (*7)

Customizations

Now redirect modal is rendered from blade template (Laravel) and must be stored on resources/views/omnipay/redsys.blade.php., (*8)

Form action is stored on a $url variable and hidden fields on $fields (use {!! $fields !!} to print the fields html properly), (*9)

The Versions

14/06 2018

dev-master

9999999-dev

Sermepa (now Redsys) payment gateway implementation with omnipay

  Sources   Download

GPLv2

The Requires

 

by Carlos Mendieta

14/06 2016

v0.2.1

0.2.1.0

Sermepa (now Redsys) payment gateway implementation with omnipay

  Sources   Download

GPLv2

The Requires

 

10/11 2015

v0.2

0.2.0.0

Sermepa (now Redsys) payment gateway implementation with omnipay

  Sources   Download

GPLv2

The Requires