{"code":"SIGN_ERROR","detail":{"detail":{"issue":"sign not match"},"field":"signature","location":"authorization","sign_information":{"method":"POST","sign_message_length":386,"truncated_sign_message":"POST\n/v3/pay/transactions/jsapi\n1643644271\nFC633CA963944CD1BC97EDB0BBA9E6AC\n{\r\n\t\"mch\n","url":"/v3/pay/transactions/jsapi"}},"message":"签名错误,请检查后再试"}
验证签名时,最后一行要换行,另外,你平台证书接口计算签名,拿去jsapi去请求?
<xml><return_code><![CDATA[FAIL]]></return_code><return_msg><![CDATA[签名错误,请检查后再试]]></return_msg></xml>
密钥验证工具校验通过,但调用下单接口时有上述提示。
第二天重置一下商户密钥,竟然可以了
这个什么情况。。。
微信支付下单API,在postman上测试一直出问题,报错说
{"code":"SIGN_ERROR","detail":{"detail":{"issue":"sign not match"},"field":"signature","location":"authorization","sign_information":{"method":"POST","sign_message_length":386,"truncated_sign_message":"POST\n/v3/pay/transactions/jsapi\n1643644271\nFC633CA963944CD1BC97EDB0BBA9E6AC\n{\r\n\t\"mch\n","url":"/v3/pay/transactions/jsapi"}},"message":"签名错误,请检查后再试"}
但是签名我在官网提供的工具上已经试过了,没有任何问题