这是我打印的签名数据,POST的带上参数不行
GET方式,按照官网要求去掉参数也不行
我想是不是最后的 \n 没加上,加上\n还是不行
一直说我 “签名错误,请检查后再试”
{"code":"SIGN_ERROR","detail":{"detail":{"issue":"sign not match"},"field":"signature","location":"authorization","sign_information":{"method":"POST","sign_message_length":300,"truncated_sign_message":"POST\n/v3/pay/transactions/native\n1647599750\nBoUgTqPfINWTRQWN9vF4\n{\"mchid\"\n","url":"/v3/pay/transactions/native"}},"message":"签名错误,请检查后再试"}
直是不知道错哪了?麻烦说说
我用验名工具试了一下是可以的
那为什么,接口不行呢?