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

使用微信支付公钥报“应答的微信支付签名验证失败” #134

Open
SynchPj opened this issue Feb 14, 2025 · 7 comments
Open

Comments

@SynchPj
Copy link

SynchPj commented Feb 14, 2025

使用服务商模式,配置新增了支付公钥和公钥ID,创建订单提示“应答的微信支付签名验证失败”,删除支付公钥和公钥ID则正常下单。

Image

@renanmin
Copy link

renanmin commented Feb 14, 2025 via email

@liuwenfeng554
Copy link

遇到同样的问题,请问有处理吗?

@SynchPj
Copy link
Author

SynchPj commented Feb 26, 2025

遇到同样的问题,请问有处理吗?

使用postV3WithWechatpaySerial方法,目前只有这个方法添加了Wechatpay-Serial请求头

Image

@liuwenfeng554
Copy link

遇到同样的问题,请问有处理吗?

使用postV3WithWechatpaySerial方法,目前只有这个方法添加了Wechatpay-Serial请求头

Image

回调这边呢 收付通回调方法好像也没有验签Wechatpay-Serial请求头

@SynchPj
Copy link
Author

SynchPj commented Feb 26, 2025

Image

有的,verifyNotifySign验签方法中,去获取验证器时,会去加载支付公钥,最后会调用PublicCertificateVerifier类的verify方法去验签。
我这边也准备正式切换了,你可以先验证下

@liuwenfeng554
Copy link

Image

有的,verifyNotifySign验签方法中,去获取验证器时,会去加载支付公钥,最后会调用PublicCertificateVerifier类的verify方法去验签。 我这边也准备正式切换了,你可以先验证下

好的 谢谢 我试试 可能之前收付通这块他们还没处理到吧

Image

Image

@liuwenfeng554
Copy link

liuwenfeng554 commented Mar 11, 2025

Image 我看你这边有提交修改 好像他这个得4.7.3版本的包了 你本地有打包测试使用吗?

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

3 participants