Download the PHP package kongkx/omnipay-unionpay without Composer
On this page you can find all versions of the php package kongkx/omnipay-unionpay. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package omnipay-unionpay
Omnipay: UnionPay
UnionPay driver for the Omnipay PHP payment processing library
在 lokielse/omnipay-unionpay 的基础上更新
清理老网关接口,仅支持一下银联API
- Union_Wtz (Union No Redirect Payment) 银联无跳转支付(alpha)Version: 5.1.0
- Union_Express (Union Express Payment) 银联全产品网关(PC,APP,WAP 支付) Version: 5.1.0
Omnipay is a framework agnostic, multi-gateway payment processing library for PHP 7.1+. This package implements UnionPay support for Omnipay.
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
Express Gateway Usage
Usage
Sandbox Param can be found at: UnionPay Developer Center
Init Gateway
Consume
Return/Notify
Handle Return/Notification from UnionPay.
Query Order Status
Consume Undo
Refund
File Transfer
For general usage instructions, please see the main Omnipay repository.
Wtz Gateway
Examples below work with wtz standard version.
Note: You may checkout test cases for usage refrenece. 你可以通过查阅测试用例,了解接口之间的依赖关系
Init Gateway
Open Query
Front Open
Sms Consume
Consume
Query
Refund
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.
About Test
-
测试默认使用银联Demo 的商户号进行测试,但建议使用自己申请的商户号,通过环境变量传入。
- 测试 只能保证 报文格式正确