二级商户进件API,提示平台证书序列号Wechatpay-Serial错误?

微信支付 文章 2020-09-07 15:41 0 182 全屏看文

二级商户进件API,提示平台证书序列号Wechatpay-Serial错误?The API of the second-level merchant’s entry, prompting the platform certificate serial number Wechatpay-Serial error?

二级商户进件API,提示平台证书序列号Wechatpay-Serial错误?

我采用的就是微信提供的sdk分装的httpclient,我看到他自己发送的请求头 Authorization 中的序列号和我写的是一样的,但还是提示平台证书序列号Wechatpay-Serial错误,是这个序列号要加密处理吗?铭感信息的加密解密,都是好的,但就是掉不通,麻烦告知一下,谢谢

I use the HTTP client of the SDK subpackaged provided by wechat. I see that the serial number in the authorization of the request header sent by him is the same as what I wrote, but it still prompts the platform certificate serial number wechatpay serial error. Is this serial number to be encrypted? The encryption and decryption of impression information is good, but it can not be dropped. Please tell me, thank you

回答:

微信支付技术助手8:

平台证书说明指引:https://wechatpay-api.gitbook.io/wechatpay-api-v3/chang-jian-wen-ti/zheng-shu-xiang-guan。这里指的是平台证书,不是商户证书。

老张:

需要先下载平台证书。

北望沣渭:

看你截图里,addHeader Wechatpay-Serial 那里,值得用平台证书序列号,非商户证书序列号

 :你好,这个平台证书序列号在哪里看呢,麻烦告知一下
 :好的,谢谢没问题已处理

-EOF-