-
Notifications
You must be signed in to change notification settings - Fork 203
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
微信支付成功后,异步通知 NotificationParser.parse 解密数据异常 #112
Comments
body要使用原始的报文,而不是 |
Merged
这样子也是验签不通过 |
能给一个获取原始body的例子么? |
有的极少订单回调会报这个解签错误,大部分订单可以成功,这个是body读取的代码示例,不清楚为什么会这样,微信sdk版本是0.2.7 |
感谢大佬们先踩坑了,让咱吃了现成的了 |
我猜你要找的是‘签名探测流量’,https://pay.weixin.qq.com/docs/merchant/development/interface-rules/signature-verification.html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
错误描述
微信支付成功,异步通知解密数据异常
运行环境
java:JDK17
依赖微信sdk:wechatpay-java;0.2.4版本
示例代码
异常信息:
重现bug的步骤
预期行为
正常解析密文
导致错误的代码片段
操作系统
win10
Java 版本
java 17
wechatpay-java 版本
0.2.4
其他信息
无
The text was updated successfully, but these errors were encountered: