微信支付查询订单信息:c出现"message":"签名错误,请检查后再试"请问那位大佬可以帮处理一下。{ "code":"SIGN_ERROR","detail":{ "detail":{ "issue":"sign not match"},"field":"signature","location":"authorization","sign_information":{ "method":"GET","sign_message_length":123,"truncated_sign_message":"GET\n/v3/pay/transactions/id/微信订单号?mchid=商户号\n时间戳\n随机字符串\n\n","url":"/v3/pay/transactions/id/微信订单号?mchid=商户号"} },"message":"签名错误,请检查后再试"}
微信支付V3 H5下单签名错误根据这个文档 https://wechatpay-api.gitbook.io/wechatpay-api-v3/qian-ming-zhi-nan-1/qian-ming-sheng-cheng POST请求 https://api.mch.weixin.qq.com/v3/pay/transactions/h5 按照文档必传的参数都传了,每次调试都返回 "code"=>"SIGN_ERROR", "message"=>"Authorization不合法", request id: 08A6BCF0FB051083061885E0C24820D3032884D403-270924332 用openssl 命令行工具加密签名,加密后的结果和API 传的签名是一样的 商户API证书已经下载过了, API v3密钥也设置过了 而且同样的算法和签名方法,请求 GET /v3/certificates,是正常的,返回certificate,也可以解密出来 [图片]
2022-12-25