收藏
回答

Native支付下单签名正常,查询订单签名报错,但用微信提供的工作生成签名,签名通过

{"code":-1,"message":"Client error: `GET https:\/\/api.mch.weixin.qq.com\/v3\/pay\/transactions\/out-trade-no\/241119173201242808101592?mchid=xxxxx` resulted in a `401 Unauthorized` response:\n{\"code\":\"SIGN_ERROR\",\"detail\":{\"detail\":{\"issue\":\"sign not match\"},\"field\":\"signature\",\"location\":\"authorization\",\"sign_ (truncated...)\n","file":"E:\\git\\loulan\\duanju_app\\vendor\\guzzlehttp\\guzzle\\src\\Exception\\RequestException.php","line":113}

xxxxx为商户号,这具体是哪里不匹配,辛苦看一下

最后一次编辑于  11-20
回答关注问题邀请回答
收藏

1 个回答

登录 后发表内容