尊敬的微信支付商户:
微信支付沙箱测试系统已全新升级,旧沙箱测试系统将于2022年9月14日下线。如您需要使用沙箱测试系统,请按照指引文档接入新的沙箱测试系统。
新沙箱测试系统使用指引:https://pay.weixin.qq.com/wiki/doc/api/jsapi.php?chapter=23_1&index=2
如您在接入新沙箱测试系统过程中有疑问,可联系微信支付技术支持进行咨询:https://support.pay.weixin.qq.com/online-service?from=wechatpay
财付通支付科技有限公司
2022年9月2日
新沙箱环境有个“bug”,请求头必须得是 Content-Type: application/xml,而生产系统上无此要求,如果有同学在调用沙箱环境时出现超时,请排查这个content-type是否匹配。望周知。
运行日志如下:
* Trying 101.226.137.13:443... * Connected to api.mch.weixin.qq.com (101.226.137.13) port 443 (#0) * ALPN: offers http/1.1 * CAfile: /usr/local/etc/openssl@1.1/cert.pem * CApath: none * SSL connection using TLSv1.2 / ECDHE-RSA-AES256-GCM-SHA384 * ALPN: server accepted http/1.1 * Server certificate: * subject: C=CN; ST=Guangdong Province; L=Shenzhen; O=Tenpay Technology Company Limited; CN=payapp.weixin.qq.com * start date: Apr 2 00:00:00 2022 GMT * expire date: Oct 19 23:59:59 2022 GMT * subjectAltName: host "api.mch.weixin.qq.com" matched cert's "*.mch.weixin.qq.com" * issuer: C=US; O=DigiCert Inc; CN=DigiCert Secure Site CN CA G3 * SSL certificate verify ok. > POST /xdc/apiv2getsignkey/sign/getsignkey HTTP/1.1 Host: api.mch.weixin.qq.com Accept: text/xml, text/plain, application/x-gzip Content-Type: application/xml;charset=utf-8 User-Agent: wechatpay-php/1.4.6 GuzzleHttp/7 curl/7.85.0 (Darwin/17.7.0) PHP/8.1.10 Content-Length: 138 * Mark bundle as not supporting multiuse < HTTP/1.1 200 OK < Server: nginx < Date: Fri, 02 Sep 2022 09:14:03 GMT < Content-Type: application/xml; charset=utf-8 < Content-Length: 185 < Connection: keep-alive < Keep-Alive: timeout=8 < X-CloudBase-Request-Id: d0be7620a4751a085517b3230e3c1764 < X-CloudBase-Upstream-Type: Tencent-CloudBaseRun < Last-Modified: Fri, 02 Sep 2022 09:14:03 GMT < X-DNS-Prefetch-Control: off < Expect-CT: max-age=0 < X-Frame-Options: SAMEORIGIN < X-Download-Options: noopen < X-Content-Type-Options: nosniff < X-Permitted-Cross-Domain-Policies: none < X-XSS-Protection: 0 < X-Graph-Id: 08DB92C7980610A40518D684A0A50B20E20328B20D < x-xdc-version: mmpayxdcapiv2getsignkey-v1.0.14 < x-cloudbase-upstream-status-code: 200 < X-CloudBase-Upstream-TimeCost: 58 < * Connection #0 to host api.mch.weixin.qq.com left intact * Trying 101.91.0.140:443... * Connected to api.mch.weixin.qq.com (101.91.0.140) port 443 (#0) * ALPN: offers http/1.1 * CAfile: /usr/local/etc/openssl@1.1/cert.pem * CApath: none * SSL connection using TLSv1.2 / ECDHE-RSA-AES256-GCM-SHA384 * ALPN: server accepted http/1.1 * Server certificate: * subject: C=CN; ST=Guangdong Province; L=Shenzhen; O=Tenpay Technology Company Limited; CN=payapp.weixin.qq.com * start date: Apr 2 00:00:00 2022 GMT * expire date: Oct 19 23:59:59 2022 GMT * subjectAltName: host "api.mch.weixin.qq.com" matched cert's "*.mch.weixin.qq.com" * issuer: C=US; O=DigiCert Inc; CN=DigiCert Secure Site CN CA G3 * SSL certificate verify ok. > POST /xdc/apiv2getsignkey/sign/getsignkey HTTP/1.1 Host: api.mch.weixin.qq.com Accept: text/xml, text/plain, application/x-gzip Content-Type: text/xml; charset=utf-8 User-Agent: wechatpay-php/1.4.6 GuzzleHttp/7 curl/7.85.0 (Darwin/17.7.0) PHP/8.1.10 Content-Length: 138 * Mark bundle as not supporting multiuse < HTTP/1.1 504 Gateway Time-out < Server: nginx < Date: Fri, 02 Sep 2022 09:16:16 GMT < Content-Type: text/html < Content-Length: 162 < Connection: keep-alive < Keep-Alive: timeout=8 < * Connection #0 to host api.mch.weixin.qq.com left intact
阅,不懂,但是知道你的努力。
新沙箱什么时候能支持下单支付和退款?
什么时候支持pay/unifiedorder接口呢
阅!
sdk jar包什么时候更新呢?
加油
支付沙箱停了,新沙箱还不支持下单,现在没法测试了怎么办?
新支付沙箱支持下单了吗?