解决了吗? 我直接用的官方提供的wechat-php sdk 也是报的签名错误, 但是工具验证又是通过了的 Client error: `GET https://api.mch.weixin.qq.com/v3/capital/capitallhh/banks/search-banks-by-bank-account` resulted in a `401 Unauthorized` response: {"code":"SIGN_ERROR","detail":{"detail":{"issue":"sign not match"},"field":"signature","location":"authorization","sign_ (truncated...)
sign not match我参照文档要求书写,但是包sign not match {"code":"SIGN_ERROR","detail":{"detail":{"issue":"sign not match"},"field":"signature","location":"authorization","sign_information":{"method":"","sign_message_length":128339065,"truncated_sign_message":"","url":""}},"message":"Authorization不合法"}{"code":"SIGN_ERROR","detail":{"detail":{"issue":"sign not match"},"field":"signature","location":"authorization","sign_information":{"method":"","sign_message_length":128339065,"truncated_sign_message":"","":""}},"message":"Authorization不合法"}
2022-09-21解决了吗? 我直接用的官方提供的wechat-php sdk 也是报的签名错误, 但是工具验证又是通过了的 Client error: `GET https://api.mch.weixin.qq.com/v3/capital/capitallhh/banks/search-banks-by-bank-account` resulted in a `401 Unauthorized` response: {"code":"SIGN_ERROR","detail":{"detail":{"issue":"sign not match"},"field":"signature","location":"authorization","sign_ (truncated...)
v3 jsapi支付的请求提示sign not match?调用接口https://api.mch.weixin.qq.com/v3/pay/transactions/jsapi 这是接口请求的参数 [图片] 这个是Authorization的值: WECHATPAY2-SHA256-RSA2048 mchid="160000000",nonce_str="iLIphsPEMqFEWOqDSuTFsdwtMuSjpSiF",signature="mVu3zcrw4CmjTZmdAMwJFVJaM8yiMUSrxa8gpT6uL/caqTaGtoDjdtYaNQEicGzbWgkVnD9BQ6V25BBx3eeOwnTk6HdQLxzLKtysmMdHK+MnAJWm54PeM3xtE0BAXMXqiV7d8//sqwrl0w+TwTGC4u0yldLL3sCjwBwSU3tQ6GqDwqI7zmJ9U81IRHPtVgap1VtWj+LBZ+IPRptDq/2JIuM8u1SPASYwPRSRdCOvOB+1gXbxhtJuXJVMWLotXg9iNBEpDYqv/HyUQBbsrSM5UCNNvunzGFMvL1G59XhVQHc2aeB7fegpRvW9FXUzPl9nEAtKaI0Jqb0U6qr3NsAFfQ==",timestamp="1662531440",serial_no="000038D7AE889977C9FBED63C3B821D9B8345B" 这个是返回的结果 [图片] 官方文档是这样的 [图片] 我看了格式是相同的,怎么解决这个问题?
2022-09-21