收藏
评论

【重要】微信支付沙箱功能升级通知官方

尊敬的微信支付商户:

微信支付沙箱测试系统已全新升级,旧沙箱测试系统将于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日


18082浏览
最后一次编辑于  2022-09-02
收藏

15 个评论

  • 北望沣渭
    北望沣渭
    置顶评论2022-09-02

    新沙箱环境有个“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
    
    2022-09-02
    赞同 5
    回复 1
    • ㅤ
      2023-03-30
      感谢大佬
      2023-03-30
      回复
  • 立十
    立十
    2022-09-02

    阅,不懂,但是知道你的努力。

    2022-09-02
    赞同 9
    回复
  • Tïedào 🧸
    Tïedào 🧸
    2022-09-22

    新沙箱什么时候能支持下单支付和退款?

    2022-09-22
    赞同 4
    回复 1
    • ㅤ
      2023-03-30
      还不支持吗现在
      2023-03-30
      回复
  • 欢乐马
    欢乐马
    2022-09-19

    什么时候支持pay/unifiedorder接口呢

    2022-09-19
    赞同 4
    回复 2
    • Tïedào 🧸
      Tïedào 🧸
      2022-09-22
      下单和退款暂不支持?那等于没用呀。新的不支持,旧的别那么快停呀!现在旧沙箱停了没法测试了:(
      2022-09-22
      2
      回复
    • Thomas
      Thomas
      2023-11-20
      是的,微信真实人才啊
      2023-11-20
      回复
  • 青寒
    青寒
    2022-09-02

    阅!

    2022-09-02
    赞同 4
    回复 1
    • 爱春
      爱春
      发表于移动端
      2022-09-18
      gyttyyhgf
      2022-09-18
      2
      回复
  • 罐头
    罐头
    2022-09-21

    sdk jar包什么时候更新呢?

    2022-09-21
    赞同 2
    回复
  • 一笑皆春
    一笑皆春
    2022-10-19

    加油

    2022-10-19
    赞同 1
    回复
  • Tïedào 🧸
    Tïedào 🧸
    2022-09-22

    支付沙箱停了,新沙箱还不支持下单,现在没法测试了怎么办?

    2022-09-22
    赞同 1
    回复 2
    • Tïedào 🧸
      Tïedào 🧸
      2022-09-22
      干嘛不等新的能用了再停掉旧的?能要求把旧的再上线吗?
      2022-09-22
      1
      回复
    • 轨迹
      轨迹
      2022-11-20
      只能用最小金额(1分)测试了
      2022-11-20
      回复
  • 💫 渴望
    💫 渴望
    发表于移动端
    2022-09-09
    11
    2022-09-09
    赞同 1
    回复
  • 宁夏
    宁夏
    2023-11-03

    新支付沙箱支持下单了吗?


    

    2023-11-03
    赞同
    回复

正在加载...

登录 后发表内容