nazka/sermepa-omnipay

Sermepa (now Redsys) payment gateway implementation with omnipay

Installs: 10 744

Dependents: 0

Suggesters: 0

Security: 0

Stars: 21

Watchers: 3

Forks: 25

Open Issues: 7

Type:symfony-bundle

1.0.0 2018-11-08 09:29 UTC

README

RedSys driver for the Omnipay PHP payment processing library

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

Requirements

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

Installation

Omnipay is installed via Composer. To install, simply run:

composer require nazka/sermepa-omnipay

Basic Usage

For general usage instructions, please see the main Omnipay repository.

Upgrade to Omnipay 3.X

Changes for use with Omnipay 3.0

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.

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