收藏
回答

native签名失败问题?

我的http头部信息:

Array

(

    [0] => Content-Type: application/json

    [1] => cache-control: no-cache

    [2] => User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.110 Safari/537.36

    [3] => Authorization : WECHATPAY2-SHA256-RSA2048 mchid="隐藏",nonce_str="621b0ab94cd01",timestamp="1645939385",serial_no="隐藏",signature="j/us+VGTWjEbGL950dLl9+6r4CtEoMQGNL16vQ1eNUkdboQ/E8q3/hxrEsJRU78U4wTiEPTCt+j5b+70APah4gGUmduS8ttapTRowQbIBpW60vwVUxbZLtBjYAdSOfqztfDkrrRGvSIZKgLouujv07flCrMFvUBQNd3ORLexGzXU1J/SHWaFZZ4kOD121JY+BsuU0stf2+Y2UjPM3nHMSdQlDy1Yjj8R356AmSs25DYUPxEHv1rRJI0NkAy3xDEe+keJg9OJX/4EpQGbn7bRUa6Y40jsAStK+FbBAj5XWHKxuWUraevBmvFtkb9FtgKVvdnKKaDNsd/zDTV0HQ=="

)


提示是这个:

array(2) {
  ["code"] => string(10) "SIGN_ERROR"
  ["message"] => string(91) "Http头Authorization值格式错误,请参考《微信支付商户REST API签名规则》"
}

麻烦大佬帮我看下,挺着急的,多谢

回答关注问题邀请回答
收藏

1 个回答

登录 后发表内容