我参照文档要求书写,但是包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不合法"}
真不知道腾讯干了点啥,这个支付做的恶心得一批
腾讯的东西让人忍不住要吐槽
签名格式不对,参考签名生成方式https://pay.weixin.qq.com/wiki/doc/apiv3/wechatpay/wechatpay4_0.shtml
是post 还是get,我解决方案
解决了吗? 我直接用的官方提供的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...)
解决了吗?我也碰到这个问题,但是我用微信签名验证的工具,显示签名验证通过啊,也是这种报错
卧槽 太坑了 随机串必须有值 传空值也会报这个错