{"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为商户号,这具体是哪里不匹配,辛苦看一下
建议直接用sdkhttps://wechatpay.im/ 你贴这些啥都看不出来