-
-
Notifications
You must be signed in to change notification settings - Fork 8.7k
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
2.9.4.beta 支付 createOrder 签名错误 #424
Comments
请认真调试下,看看你的代码哪里出了问题 |
request正常设置了啊,发送的请求 xml 是
这个数据用微信的签名核验工具生成的签名和程序生成的签名不一样: #4.校验结果: |
自己一步步调试源码看看 |
找到问题了,是signKey设置有问题。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
我做了一个支付createOrder单元测试,使用的版本是 2.9.4-beta,代码如下:
抛出的异常如下:
2018-01-14 23:03:05.634 ERROR 34893 --- [ main] c.g.b.w.b.r.WxPayUnifiedOrderResult : 结果业务代码异常,返回结果:{return_msg=签名错误, return_code=FAIL}, 返回代码:FAIL,返回信息:签名错误
The text was updated successfully, but these errors were encountered: