收藏
回答

支付成功,回调签名验证失败,请求头的wechatpay-serial跟我给的serialno不一样

支付成功,回调签名验证失败,请求头的wechatpay-serial跟我给的serialno不一样,我请求的serial是56546E845E77C84F9682A34D0198FB0F31898993,回调请求头部的这个又是怎么来的 ?wechatpay-serial:5BC7DF084959F38C91DE7697164B2DFB354CC8D2

wechatpay-signature-type:WECHATPAY2-SHA256-RSA2048

wechatpay-nonce:WEjykT0EgpFqhGvGb65MKFBSDAtcS85s

wechatpay-serial:5BC7DF084959F38C91DE7697164B2DFB354CC8D2

content-type:application/json

wechatpay-signature:sX4nRm6QJRnKk4IgEFGVERUBUuksguMCdyTdlCwa4nyY1SycfhEdikj1+m6CauLePsc/dghCFqOoyPFFeS/dMx0KUq/kjB2oEtkcASn80FnmI1pyDZUjWbk7en4usgLhAptE54B5Lm9BoRqRcBpl5dsScRkvU1qTMGjQYDC4bgZbtigHCFFbIK3immmC/ee1gLDFfNSYrpGbSfxNXgmQTTD4Pu6nIn3Ww4J6HLUsDazR7dG/HBX7EM9qrrUaLi3fzhztxRkHfA8M/78OkVKhni+F7mUf+yOuyZTexoWxGCIZ8K7kzVQ3tdYLuYfe7gMZomR4OZNRXbWFB62Lew5Fzw==

wechatpay-timestamp:1648804667

pragma:no-cache

user-agent:Mozilla/4.0

body:{"id":"b70d0557-5201-5bd0-a6a4-f7f8b0bb2a69","create_time":"2022-04-01T17:17:30+08:00","resource_type":"encrypt-resource","event_type":"TRANSACTION.SUCCESS","summary":"支付成功","resource":{"original_type":"transaction","algorithm":"AEAD_AES_256_GCM","ciphertext":"IXdbHQfRE8JnQhT1v3CquJxuHP1XWSkZ4lU3ltDoLVe0QNcI8BvBMVBlhAhek9Jkg5ohOoUcr0fudI10w7c1pXPZp9I4cYfj+2aF+JWXR+PXHL7rc4Lj+0v4/qIH74vMU5vduEm13cyNtj1L07CKZu38HFCHaj4QwkEfchuBPYKryb2WyI7WymtqYkc8+SMTkW8+vZam5zuuWj+Nq3qQ++hX04hALb6YHD/5qNwvn1DxpI9V9370V0sRDjjmGDyW4NQ6DOgUdTbW7kEqBGHlf6vKeRoC853JP4+G+gRpwbNOETBHzonWyCyvp98zpsJNpgV6H+8rv9X1LBaa+0YWgivDIrT2n6u/V6Ozo0oUQ6/IAQ2NnICq+hkjIMAB3dHKLwXg/yrkpbK/8We8tLoswvhAD2v/P27QZ0qTCQhxhJS8tJuxzN/37e6ynqQH6AaTkIfNMZf+/tjM00T7kKtnSXZO49bMlLBhBOBsikWdVsZtcC85DEh2c05Ybz/myRyQCNjAxBve0WKGS6oXfvAT+kRmnclEmzwcghul6b/VK1jYvPiISGWwgFCn1Vf/ZDEo185p","associated_data":"transaction","nonce":"bdiimGu855aJ"}}

2022-04-01 17:17:47.535 |-ERROR [http-nio-8038-exec-9] com.wechat.pay.contrib.apache.httpclient.cert.CertificatesManager [84] -| 商户证书为空,serialNumber:56546E845E77C84F9682A34D0198FB0F31898993

2022-04-01 17:17:47.535 |-ERROR [http-nio-8038-exec-9] com.garrett.aborigine.controller.NotifyController [130] -| 验签失败验签失败:serial=[56546E845E77C84F9682A34D0198FB0F31898993] message=[null

回答关注问题邀请回答
收藏

1 个回答

  • 丁唯
    丁唯
    2023-09-04

    敲得要骂人了!!!!Wechatpay-Nonce和Wechatpay-Serial传入的全不同!!!文档写得东一坨西一坨,看了东不知道西是哪边,看了西不知道东是那边!!!!!

    2023-09-04
    有用
    回复
登录 后发表内容