v3的提交申请单API证书序列号冲突

微信支付 文章 2020-08-10 11:41 2231 0 全屏看文

AI助手支持GPT4.0

v3的提交申请单API证书序列号冲突The API certificate serial number conflicts in the v3 submission application form

v3的提交申请单API证书序列号冲突

特约商户进件接口提交进件数据的时候报错: 微信支付V3

使用证书自带serial_no时报错:商户证书序列号有误。请使用签名私钥匹配的证书序列号;更改为接口下载证书serial_no时,报错商户证书序列号有误。请使用签名私钥匹配的证书序列号;

一个奇怪的现象:

从平台证书:https://api.mch.weixin.qq.com/v3/certificates 接口获取证书,和我们解析出来的证书不一致;

v3的提交申请单API调用时发送的证书序列号是 1AF73A340EB738B13213B1594B5495B946D0D74C,此证书是从微信的商户平台下载的。但是返回 平台证书序列号Wechatpay-Serial错误  ,

返回的   "Request-ID","value":"247x3o"   返回的验签序列号,"WechatpaySerial","value":"7DAECE20D45126AA26C9DECA84713D5FB2F69D02“   ,麻烦看一下这个问题,是因为证书冲突了吗?还是微信有具体什么控制逻辑?

An error is reported when the incoming data is submitted by the special merchant's incoming interface: wechat payment V3 uses the certificate with serial_ No time error: merchant certificate serial number is wrong. Please use the certificate serial number matched by the signature private key; change to the interface to download the certificate serial_ When no, the wrong merchant certificate serial number is reported. Please use the certificate serial number matching the signature private key; a strange phenomenon: from the platform certificate: https://api.mch.weixin.qq.com/v3/certificates The interface obtains the certificate, which is inconsistent with the certificate we resolve. The serial number of the certificate sent when the V3 submit application form API call is 1af73a340eb738b1323b1954b5495b946d0d74c, this certificate is downloaded from the wechat merchant platform. However, the returned platform certificate serial number wechatpay serial is wrong, and the returned "request ID", "value": "247x3o" returned signature verification serial number, "wechatpayserial", "value": "7daece20d45126aa26c9deca84713d5fb2f69d02", please take a look at this problem, is it because of certificate conflict? Or does wechat have specific control logic?

回答:

支付技术助手8:

1,证书分为平台证书和商户证书。

2,Wechatpay-Serial这里指的是通过接口获得的证书的序列号。

https://wechatpay-api.gitbook.io/wechatpay-api-v3/chang-jian-wen-ti/zheng-shu-xiang-guan,参考一下这里

北望沣渭:

这个接口涉及俩证书序列号,其中:

  • 平台证书序列号要在请求头header[Wechatpay-Serial] 随请求一并发送(商户敏感信息加密,平台做敏感信息解密)
  • 商户证书序列号要在请求头header[Authrozation] 按v3文档做格式编码一并发送(即serial_no段)


特别的 敏感信息商户侧加密是用的平台公钥证书,这个很容易不注意就用商户公钥证书了

peng:

证书分平台证书与商家证书,你这里是不是弄错了,

Wechatpay-Serial传的是接口获得的证书接口的序列号。


-EOF-

AI助手支持GPT4.0


国内超级便宜服务器

摸鱼人热门新闻聚合

钻级赞助商 我要加入

开发者在线工具

第三方支付技术请加QQ群

相关文章
iPhoneX的px尺寸如何换算成rpx呀?
config接口注入权限验证配置失败
小游戏个人开发者在公众号里投放广告如何开具公司抬头的发票?
swiper组件,在ios13.5.1版本中,不显示轮播点,好像是被盖在图片下方了?
刷脸支付 返回openid或sub_openid无效 ?
随便看看
微信小程序内部导航名称如何修改? 581
Banner广告放在顶部算违规吗? 643
个人公众号开通流量主,关闭后可以进行,个人认证吗? 950
打开留言功能找哪个部门? 631
<web-view> 不支持现在的转发朋友圈功能? 1232
开发者工具出现无法预览和真机调试 1195
公众号appid和公众号appsecret是开发者ID和开发者密码(AppSecret)? 575
小程序的开发版,测试版,正式版数据共存? 770
你好,我看别人的公众号 还没关注他,下面就显示他发过哪些东西 ,麻烦问下这咋弄的? 701
微信支付正常却提示账户异常无法参与各种活动? 2320