wechatpay-apiv3 / wechatpay-go

微信支付 APIv3 的官方 Go Library
https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/pages/index.shtml
Apache License 2.0
1.02k stars 140 forks source link

商家转账到零钱,报签名错误 #235

Closed bytepai closed 2 weeks ago

bytepai commented 1 month ago

new wechat pay client err:init client setting err:error http response:[StatusCode: 401 Code: "SIGN_ERROR" Message: 错误的签名,验签失败 Detail: { "detail": { "issue": "sign not match" }, "field": "signature", "location": "authorization", "sign_information": { "method": "GET", "sign_message_length": 66, "truncated_sign_message": "GET\n/v3/certificates\n1721639012\n0deQ381ci7pNj9lUyMHW\n\n", "url": "/v3/certificates" } }

bytepai commented 1 month ago

已解决