统一下单API返回400 Bad Request是什么原因?​
发布于 6 年前 作者 yan41 4287 次浏览 来自 官方Issues

统一下单API返回400 Bad Request是什么原因?

<html>

<head><title>400 The SSL certificate error</title></head>

<body bgcolor=“white”>

<center><h1>400 Bad Request</h1></center>

<center>The SSL certificate error</center>

<hr><center>nginx</center>

</body>

</html>

3 回复

你好,请参考:统一下单API返回400 Bad Request是什么原因?? 微信支付技术助手 的回答 - 微信开放社区 https://developers.weixin.qq.com/community/develop/doc/0002eebd004aa00ffb487004b51800?_at=1570519835120&jumpto=comment&commentid=000a807ddec188090b586bf1f5b8

若还有疑问,请发微信支付帖提问,我们有专门的人员处理,感谢配合

微信支付专区:https://developers.weixin.qq.com/community/pay

提示是你SSL证书错误,你去查下你的证书再试试

我请求的XML文件是这个

<xml> <appid>avc</appid> <mch_id>148050000</mch_id> <device_info>XCXWEB</device_info> <nonce_str>99904511999045119990451199904511</nonce_str> <sign>81128CF5E94286580161F6B48DD1A56E</sign> <sign_type>MD5</sign_type> <body>嘉善大众药房-购物消费</body> <attach>暗号天王盖地虎</attach> <out_trade_no>28</out_trade_no> <fee_type>CNY</fee_type> <total_fee>11600.00</total_fee> <spbill_create_ip>10.10.10.57</spbill_create_ip>     <notify_url>https://wanghua1024.cn/zhilianyyapi.fsp?proc=wx_notify</notify_url> <trade_type>JSAPI</trade_type>     <openid>oug4D0cg4Yz9GYLCwjS6Dz8X49Pw                      </openid> <receipt>N</receipt> </xml> 

回到顶部