微信支付结果异步接口签名校验失败, Processing WechatPay notification,signature verification failed,signType[WECHATPAY2-SHA256-RSA2048] serial[31B36E50DBD9AED07703B6BD3015EF05AF67F919] message[1718991538
FjYABlPWHZNDdOzdVpJf2C0GaXUsbrLh
{"id":"f873f7ff-cdad-56ed-b60a-628156359e8e","create_time":"2024-06-22T01:37:56+08:00","resource_type":"encrypt-resource","event_type":"TRANSACTION.SUCCESS","summary":"鏀粯鎴愬姛","resource":{"original_type":"transaction","algorithm":"AEAD_AES_256_GCM","ciphertext":"pSXtLhL1fJzY6fjKNYhile92ANFeJt12bUyWQqU4L2C23ALvgkeSCvQnyeH/oE1dTm/v/ByAbyZnuNoRx9g6W4Tg4fVLQzfltoHTifLEoRuTS5YWsmZHcGhcKb9w2MuAPoVjokTU4JmFoRGGg5LiR9SU1Gz6/aLbhq5olKJ7MWtsePJ33H/i7Qjv4v4EZW/7AeP/Nu1NIO6GG1QGTavXNOKJmQzWEkBAhiXuvAEIB85w+hduNMCt7ixUANv2ETsuqgcrlmvnJzyAIo5kYj8GPslEsPRxPptXqr7+UdRxcqO+DBzwLsHooECA80MpYwDPkZG2vsHKCogHMDzyIgLLI8QBqqEfCkmvSSdEKUILUPDobBUBXkcpCCMOpjB1AINXZdw0xQMMqVxWJgHcI/tE0S1v89FZJPUDBDOyao11gmFvYtycgpj+dulABkSCO2BNgidWYh+6XBq7lEQy00kFNtdLZI7LGhcIkgQADCGjKO41ueXlBn53IWL5gaTdYa2I0t/n6e47GIum1A15RkXqBPXqujnc6DH9kBdyrMJV6BKRRyu7+HWoI6rV+0cM8lugYweZmcNIJ78ZPiKXtMViPNgung==","associated_data":"transaction","nonce":"FptQzM9KLgUm"}}
] sign[OHPNzWbb/+QdT0QC03/fKWVaX0FpDgaZ1WBRUSvpoKeyW4Xi3DTaBnBe/xjJzINZpNIkow4D51PMFG269VQ4onp5ofhORg7AkqHWtJiHi8ZA2uQaRQmUSB4CBw/CkEtVOZno/QC3I0LCuv821KiwHjf/0Bccbg6PPZRC6yGyhUdC15oXksN0i/xKohP0RdyB6qk3B5RD6ggm7rdONFUMJen/lKE8NXn1CWQJCIuGm0JXmv8kfuFEEzuE5P/AF0bMDc+d46QWwgnjsBdSDbmRBkZNUiMQiK+BFSTb0VEzkSINCLc2sB0JbKFLKPCLhROguDEyyxlvC1RrcVulXF3ryg==]
根据开发者们的答复,你遇到的问题,解决方案总结提炼如下:
签名校验失败可能是由于证书配置错误或证书过期导致的。
建议方案:
1. 请检查验证签名用的证书是否正确,确保使用的是微信支付提供的最新证书。
2. 检查证书是否已过期,如果已过期,请及时更新证书。
3. 重新配置证书后,再次尝试调用微信支付结果异步接口,看是否能成功解决签名校验失败的问题。
4.注意接收的回调内容的编码问题,如中文乱码、Unicode编码等导致的验签失败。
检查验证签名用的证书是否正确