腾讯的服务太傲慢了,连个DEMO也没有!
分账接口签名验证失败?请求分账接口,签名验证失败,但是使用微信签名工具箱生成的签名结果与我程序的签名结果一致。 签名过程: [图片] 签名结果:[图片] 以及最后的提交的xml对比: [图片]
2020-06-13{"code":"SIGN_ERROR","detail":{"detail":{"issue":"sign not match"},"field":"signature","location":"authorization","sign_information":{"method":"POST","sign_message_length":85,"truncated_sign_message":"POST\n/v3/ecommerce/profitsharing/orders\n1592016574\nHwa2T9ttFaMVycFuFfoTLY2sJArqE5aM\n\n","url":"/v3/ecommerce/profitsharing/orders"}},"message":"错误的签名,验签失败"} 分账接口有没有demo,我快崩溃了。
wechatpay-guzzle-middleware// Fatal error: Uncaught GuzzleHttp\Exception\ClientException: Client error: `GET https://api.mch.weixin.qq.com/v3/certificates` resulted in a `401 Unauthorized` response in F:\web3\letmn.webecn.com\mnapp\vendor\guzzlehttp\guzzle\src\Exception\RequestException.php:113 Stack trace: #0 F:\web3\letmn.webecn.com\mnapp\vendor\guzzlehttp\guzzle\src\Middleware.php(65): GuzzleHttp\Exception\RequestException::create(Object(GuzzleHttp\Psr7\Request), Object(GuzzleHttp\Psr7\Response)) #1 F:\web3\letmn.webecn.com\mnapp\vendor\guzzlehttp\promises\src\Promise.php(203): GuzzleHttp\Middleware::GuzzleHttp\{closure}(Object(GuzzleHttp\Psr7\Response)) #2 F:\web3\letmn.webecn.com\mnapp\vendor\guzzlehttp\promises\src\Promise.php(156): GuzzleHttp\Promise\Promise::callHandler(1, Object(GuzzleHttp\Psr7\Response), Array) #3 F:\web3\letmn.webecn.com\mnapp\vendor\guzzlehttp\promises\src\TaskQueue.php(47): GuzzleHttp\Promise\Promise::GuzzleHttp\Promise\{closure}() #4 F:\web3\letmn.webecn.com\mnapp\vendor\guzzlehttp\promises\src\Promise.php(246): GuzzleHt in F:\web3\letmn.webecn.com\mnapp\vendor\guzzlehttp\guzzle\src\Exception\RequestException.php on line 113
2020-06-13