错误信息如下:{"code":"SIGN_ERROR","detail":{"detail":{"issue":"sign not match"},"field":"signature","location":"authorization","sign_information":{"method":"POST","sign_message_length":108,"truncated_sign_message":"POST\n/v3/applyment4sub/applyment/\n1581303758\nf0b6b67118834a7eb4a46a99fcdabec0\n{\"busine\n","url":"/v3/applyment4sub/applyment/"}},"message":"错误的签名,验签失败"}
代码如下(对应的私钥也根据微信提供的 $ openssl 进行过验证):
你好,我遇到同样的问题,请问解决了吗
https://wechatpay-api.gitbook.io/wechatpay-api-v3/wei-xin-zhi-fu-api-v3-jie-kou-gui-fan,签名错误,参照此文档,仔细核对参数即可。