mendicm/sermepa-omnipay 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

mendicm/sermepa-omnipay

最新稳定版本:v0.2.1

Composer 安装命令:

composer require mendicm/sermepa-omnipay

包简介

Sermepa (now Redsys) payment gateway implementation with omnipay

README 文档

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 "mendicm/sermepa-omnipa":"dev-master"

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

Customizations

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

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

统计信息

  • 总下载量: 5.61k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 26
  • 开发语言: PHP

其他信息

  • 授权协议: GPLv2
  • 更新时间: 2016-12-19

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固