Comments (4)
你看下服务器返回的错误码和错误信息?
from wechatpay-apache-httpclient.
你看下服务器返回的错误码和错误信息?
应答的状态码不为200-299。status code[400] request headers[[Accept: application/json; charset=UTF-8, Authorization: WECHATPAY2-SHA256-RSA2048 mchid="我的appId",nonce_str="xOWyRfSwKYc63dPWQjxntu9ASfdEjJDy",timestamp="1676433245",serial_no="我的证书序列号",signature="nz0UdFsD0pRw5g4/kYnB0sCvdky8mmG+ZvrerZ68Wj8NTmFNZ2bDebmGneUQtu6Mvdeif1dOpBkzM+DpGra6cbkhQnEO1zSZRtIuo1wbLp9lo/oSIwDQXf5h81YDyvmSTDJ7x5qwI1YbTVVALLu4vDjILkEoNjNTHQfGEYbBeJey39DBuS/5hgIHDCDvESa6tofaX+Ox1onqmQgcqrG6+nvm6B1t1VGH5zA62Q4JiAbQ4gU6z7X108WEoETbuOkjIWDYUZ78bXkxvEEgqCWCV51DrybZ9QLxRRlWokK9dk8pNnnI8vA4Xa9CwtLoGyu07Co8p8NElN1P1uQshniUdg==", Transfer-Encoding: chunked, Content-Type: multipart/form-data; boundary=tZYqbmWlPGw2UR6hFQMjgSvraLAaDBKhEy, Host: api.mch.weixin.qq.com, Connection: Keep-Alive, User-Agent: WechatPay-Apache-HttpClient/0.4.9 (Windows 10/10.0) Java/1.8.0_152, Accept-Encoding: gzip,deflate]]
from wechatpay-apache-httpclient.
400只是状态码。你需要把应答流收回来,输出 body,看到错误码和错误信息。它们可以用来定位问题。
from wechatpay-apache-httpclient.
400只是状态码。你需要把应答流收回来,输出 body,看到错误码和错误信息。它们可以用来定位问题。
好的谢谢
from wechatpay-apache-httpclient.
Related Issues (20)
- 使用时Verifier没有办法初始化在springboot中 HOT 2
- 吊毛写的什么够吧文档
- 下单按照文档的格式写,遇到报错:Http头Authorization值格式错误,请参考《微信支付商户REST API签名规则》 HOT 2
- 是否考虑做个wechatpay-apache-httpasyncclient或支持异步通讯
- 视频上传问题 HOT 2
- jackson版本过低不兼容wechatpay-apache-httpclient0.4.9 HOT 1
- NotificationHandlerTest.java示例可能不够清晰 HOT 1
- prepay 提交 PrepayRequest 提示sub_mch_id HOT 1
- 证书自动更新里面写死的证书接口地址,内网服务器无法访问 HOT 1
- Caused by: java.util.concurrent.CancellationException: Operation aborted HOT 1
- 奇怪bug复现 HOT 3
- 使用该 sdk 后使用国标加密报错 HOT 2
- 接入APIV3获取证书 HOT 33
- 使用Notification对象验签之后 lombok的@Slf4j注解生成的log对象无法打印任何日志 HOT 1
- API_v3定时更新证书功能 HOT 2
- 能对接一下那个v3 Native支付问题吗
- 你好,请问下为啥一直是验签失败呢,参数都按照文档配置了
- 上传图片的uri错误了
- [BUG] 下载平台证书时遇到网络问题阻塞,导致大量线程等待
- Maven版本选择问题
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wechatpay-apache-httpclient.