omnipay-unionpay icon indicating copy to clipboard operation
omnipay-unionpay copied to clipboard

UnionPay driver for the Omnipay PHP payment processing library

Results 11 omnipay-unionpay issues
Sort by recently updated
recently updated
newest added

```php if (is_file($cert)) { $certs = file_get_contents($cert); } //需要加上这两行才行 openssl_pkcs12_read($certData, $certs, $pass) $cert = $certs['cert']; $certData = openssl_x509_parse($cert); return $certData['serialNumber'];

文件:omnipay-unionpay/src/Message/ExpressPurchaseRequest.php 行数:32 如图: ![企业微信截图_7f601277-5574-47de-ba2c-2e36f567e611](https://user-images.githubusercontent.com/17974530/58604149-ec87c600-82c5-11e9-9755-741ff43e25ee.png)

demo中无跳转支付现在是基于token版本开发,没有看到基础版相关代码。 官方最新参数(以下以消费为例,对应当前vendor/lokielse/omnipay-unionpay/src/Message/WtzConsumeRequest.php;其余无跳转支付文件也有不同参数): token版:txnType=01,txnSubType=01,bizType=000902,tokenPayData=... 基础版数:txnType=01,txnSubType=01,bizType=000301,accNo=...,customerInfo=...

![image](https://user-images.githubusercontent.com/11901387/55314730-5be76200-549d-11e9-9f1c-4bfd4056c42e.png)

https://github.com/lokielse/omnipay-unionpay/blob/0e4cb1d4ea491635d36b7f763764ef9485dfa2c1/src/Message/ExpressPurchaseRequest.php#L32 這邊的 column 是不是帶錯 function https://github.com/lokielse/omnipay-unionpay/blob/0e4cb1d4ea491635d36b7f763764ef9485dfa2c1/src/Message/ExpressPurchaseRequest.php#L67 5.1 版的 sign 要多傳 RSA2

查询是可以,说明证书配置、签名都无误(用的5.1的证书) 但是发起消费请求银联端就提示 交易失败 11[9100004]Signature verification failed

请问下作者,现在的这个支付就只是银联的PC和wap的支付接口,没有银联的无跳转支付这个产品的方法吗 如果没有,能否考虑添加上去呢