Download the PHP package lonestonewy/omnipay-alipay without Composer
On this page you can find all versions of the php package lonestonewy/omnipay-alipay. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download lonestonewy/omnipay-alipay
More information about lonestonewy/omnipay-alipay
Files in lonestonewy/omnipay-alipay
Package omnipay-alipay
Short Description 增加了批量付款到支付宝账户和即时到帐批量退款接口的Omnipay支付宝接口
License MIT
Homepage https://github.com/lonestonewy/omnipay-alipay
Informations about the package omnipay-alipay
Omnipay: Alipay
增加了批量付款到支付宝账户和即时到帐批量退款接口
Omnipay is a framework agnostic, multi-gateway payment processing library for PHP 5.3+. This package implements Alipay support for Omnipay.
Cross-border Alipay payment please use
lokielse/omnipay-global-alipay
Installation
Omnipay is installed via Composer. To install, simply add it to your composer.json
file:
And run composer to update your dependencies:
$ curl -s http://getcomposer.org/installer | php
$ php composer.phar update
Basic Usage
The following gateways are provided by this package:
- Alipay_Express (Alipay Express Checkout) 支付宝即时到账接口
- Alipay_Secured (Alipay Secured Checkout) 支付宝担保交易接口
- Alipay_Dual (Alipay Dual Function Checkout) 支付宝双功能交易接口
- Alipay_WapExpress (Alipay Wap Express Checkout) 支付宝WAP客户端接口
- Alipay_MobileExpress (Alipay Mobile Express Checkout) 支付宝无线支付接口
- Alipay_Bank (Alipay Bank Checkout) 支付宝网银快捷接口
基于lokielse的工作,增加了以下接口
- Alipay_BatchTrans (Alipay Express Checkout) 支付宝批量转账到支付宝账户接口
- Alipay_RefundExpress (Alipay Express Checkout) 支付宝即时退款接口
Usage
Purchase
Return/Notify
批量付款到支付宝账户
即时退款接口
该接口需要联系支付宝商服提前申请
上面的notify使用方法类似,具体可以参考支付宝文档,不再赘述。
For general usage instructions, please see the main Omnipay repository.
Related
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.
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.
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.