2017 © Pedro Peláez
 

library omnipay-express

Alipay Express gateway for Omnipay payment processing library

image

wazidw/omnipay-express

Alipay Express gateway for Omnipay payment processing library

  • Tuesday, May 16, 2017
  • by wazidw
  • Repository
  • 1 Watchers
  • 0 Stars
  • 36 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 16 % Grown

The README.md

Omnipay: Alipay Express

  • 增加支付宝关闭订单接口

Latest Stable Version Total Downloads Latest Unstable Version License, (*1)

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

Cross-border Alipay payment please use lokielse/omnipay-alipay, (*3)

Installation

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

{
    "require": {
        "wazidw/omnipay-express": "dev-develop"
    }
}

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

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

Basic Usage

The following gateways are provided by this package:, (*6)

  • Alipay_AopApp (Alipay APP Gateway) 支付宝APP支付 - new
  • Alipay_AopF2F (Alipay Face To Face Gateway) 支付宝当面付 - new
  • Alipay_AopWap (Alipay WAP Gateway) 支付宝手机网站支付 - new
  • Alipay_LegacyApp (Alipay Legacy APP Gateway) 支付宝APP支付
  • Alipay_LegacyExpress (Alipay Legacy Express Gateway) 支付宝即时到账
  • Alipay_LegacyWap (Alipay Legacy WAP Gateway) 支付宝手机网站支付

基于lokielse的工作,增加了以下接口, (*7)

  • AlipayExpress_LegacyCloseTrade (Alipay Express Checkout) 支付宝交易关闭接口

Usage

CloseTrade

$gateway = Omnipay::create('AlipayExpress_LegacyCloseTrade');
$gateway->setPartner('partner');
$gateway->setKey('key');
$gateway->setTradeNo('trade_no');//支付宝交易号
$gateway->setOutOrderNo('out_order_no');//商户网站唯 一订单号
$request = $gateway->purchase();
$response = $request->send();

// 返回数据
$response->getRedirectData();
// 返回错误
$error = $response->getError();

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

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

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

If you believe you have found a bug, please report it using the GitHub issue tracker, or better yet, fork the library and submit a pull request., (*11)

The Versions

16/05 2017

dev-alipay-refund

dev-alipay-refund https://github.com/wazidw/omnipay-alipay-express.git

Alipay Express gateway for Omnipay payment processing library

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar wazidw

payment pay gateway purchase omnipay alipay

24/04 2017

dev-develop

dev-develop https://github.com/wazidw/omnipay-alipay-express.git

Alipay Express gateway for Omnipay payment processing library

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar wazidw

payment pay gateway purchase omnipay alipay

24/04 2017

dev-master

9999999-dev https://github.com/wazidw/omnipay-alipay-express.git

Alipay Express gateway for Omnipay payment processing library

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar wazidw

payment pay gateway purchase omnipay alipay

24/04 2017

v0.1

0.1.0.0 https://github.com/wazidw/omnipay-alipay-express.git

Alipay Express gateway for Omnipay payment processing library

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar wazidw

payment pay gateway purchase omnipay alipay