Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

测试了无跳转支付,查询订单没有问题,但是发起消费请求提示签名错误 #21

Open
fasthold opened this issue Dec 7, 2017 · 3 comments

Comments

@fasthold
Copy link

fasthold commented Dec 7, 2017

查询是可以,说明证书配置、签名都无误(用的5.1的证书)

但是发起消费请求银联端就提示 交易失败 11[9100004]Signature verification failed

@lokielse
Copy link
Owner

lokielse commented Dec 7, 2017

@fasthold
Copy link
Author

fasthold commented Dec 7, 2017

是用的银联测试环境,金额都是200-10000分之间

@lokielse
Copy link
Owner

lokielse commented Dec 7, 2017

trId设置了吗?你在下面这一行后面把$data打印一下,看看参数对不对(和银联提供的demo所构建的参数对比一下)

$data['signature'] = $this->sign($data, 'RSA2');

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants