Download the PHP package nazka/sermepa-omnipay without Composer
On this page you can find all versions of the php package nazka/sermepa-omnipay. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download nazka/sermepa-omnipay
More information about nazka/sermepa-omnipay
Files in nazka/sermepa-omnipay
Package sermepa-omnipay
Short Description Sermepa (now Redsys) payment gateway implementation with omnipay
License GPLv2
Informations about the package sermepa-omnipay
Omnipay: RedSys
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:
Basic Usage
For general usage instructions, please see the main Omnipay repository.
Upgrade to Omnipay 3.X
Changes for use with Omnipay 3.0
- 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.
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().
All versions of sermepa-omnipay with dependencies
omnipay/common Version 3.*
redsys/messages Version *
php-http/curl-client Version ^1.7
guzzlehttp/psr7 Version ^1.4
php-http/message Version ^1.7