{\"code\":\"SIGN_ERROR\",\"detail\":{\"detail\":{\"issue\":\"sign not match\"},\"field\":\"signature\",\"location\":\"authorization\",\"sign_information\":{\"method\":\"GET\",\"sign_message_length\":147,\"truncated_sign_message\":\"GET\\n/v3/payscore/user-service-state?service_id=%7Bservice_id%7D&appid=%7Bappid%7D&openid=%7Bopenid%7D\\n1602205196\\n3e5e4f391fa24c86894a56737d1205ba\\n\\n\",\"url\":\"/v3/payscore/user-service-state?service_id=%7Bservice_id%7D&appid=%7Bappid%7D&openid=%7Bopenid%7D\"}},\"message\":\"错误的签名,验签失败\"} 这是什么问题啊
如果是第一次弄签名,那没啥好说的,你慢慢自查吧,原因太多了。
验证签名工具:
链接:https://pan.baidu.com/s/1ixOAnYyZVW13dFr0jWVpvw 提取码:wujv
,麻烦使用V3签名验证工具参考V3签名文档https://wechatpay-api.gitbook.io/wechatpay-api-v3/
进行排查修改。V3签名需使用apiv3秘钥。麻烦参考https://kf.qq.com/faq/180830E36vyQ180830AZFZvu.html
参数要先排序,然后拼上app_key,然后再计算签名,试试。希望对你有帮助。