- 请求微信支付沙箱,返回mweb_url地址无法唤起收银台
如题,微信沙箱有很多问题,我就不吐槽了,请求十次大概成功一次,而且经常超时和报错 mweb_url的字段返回了weixin://wxpay/s/An4baqw这个地址,如何在浏览器唤起微信收银台的? 请求和返回报文如下: 【请求地址】:https://api.mch.weixin.qq.com/sandboxnew/pay/unifiedorder 【请求数据】: <xml> <appid>wxea70****f68f62</appid> <mch_id>13****4801</mch_id> <nonce_str>1573****621090</nonce_str> <sign>FE4110D20EE****84AB66F1F9DF</sign> <body>s1</body> <out_trade_no>3011911****430028</out_trade_no> <total_fee>101</total_fee> <spbill_create_ip>61.****.124</spbill_create_ip> <notify_url>http://****/callback/alipay</notify_url> <trade_type>MWEB</trade_type> </xml> 【响应数据】: <xml> <trade_type><![CDATA[MWEB]]></trade_type> <prepay_id><![CDATA[wx2019****9197660]]></prepay_id> <nonce_str><![CDATA[157320****21090]]></nonce_str> <return_code><![CDATA[SUCCESS]]></return_code> <err_code_des><![CDATA[ok]]></err_code_des> <sign><![CDATA[79301E****0D909650D6A]]></sign> <mweb_url><![CDATA[weixin://wxpay/s/An4baqw]]></mweb_url> <mch_id><![CDATA[13****04801]]></mch_id> <return_msg><![CDATA[OK]]></return_msg> <appid><![CDATA[wxe****79f68f62]]></appid> <device_info><![CDATA[sandbox]]></device_info> <result_code><![CDATA[SUCCESS]]></result_code> <err_code><![CDATA[SUCCESS]]></err_code> </xml>
2019-11-08 - 微信支付沙箱环境提示504 Gateway Time-out
调用沙箱,请求了20多秒,返回这个超时报文 504 Gateway Time-out 1、我已经成功使用商户秘钥生成沙箱秘钥 2、请求地址是沙箱环境:https://api.mch.weixin.qq.com/sandboxnew/pay/unifiedorder 3、确定可以到达沙箱服务器,验签不过会提示,如果是正确签名就超时 <html> <head><title>504 Gateway Time-out</title></head> <body bgcolor="white"> <center><h1>504 Gateway Time-out</h1></center> <hr><center>nginx</center> </body> </html> 【请求地址】:https://api.mch.weixin.qq.com/sandboxnew/pay/unifiedorder 【请求数据】: <xml> <appid>wxea704e****68f62</appid> <mch_id>1324****801</mch_id> <nonce_str>1573198632066</nonce_str> <sign>51F8A2A203****9FC681B41B392E42</sign> <body>s1</body> <out_trade_no>301191108****03774036004</out_trade_no> <total_fee>10</total_fee> <spbill_create_ip>127.0.0.1</spbill_create_ip> <notify_url>http://****:3333/callback</notify_url> <trade_type>MWEB</trade_type> </xml>
2019-11-08