第一次请求返回的格式
array(10) {
["return_code"]=>
string(7) "SUCCESS"
["return_msg"]=>
string(2) "OK"
["appid"]=>
string(18) "wx6e0****dc7730f98"
["mch_id"]=>
string(10) "158****061"
["nonce_str"]=>
string(16) "7M4v****xat528qb"
["sign"]=>
string(32) "7F5FF282F3C95****305BA031F50D715"
["result_code"]=>
string(7) "SUCCESS"
["prepay_id"]=>
string(36) "wx05104626334****4a97c6dc21008915800"
["trade_type"]=>
string(4) "MWEB"
["mweb_url"]=>
string(117) "https://wx.tenpay.com/cgi-bin/mmpayweb-bin/checkmweb?prepay_id=wx0510462633444064a97c6dc21008915800&package=875200415"
}
第二次请求返回的格式,mweb_url格式都变了唤不起微信支付 并且 出现个沙箱支付金额无效的错误
array(13) {
["trade_type"]=>
string(4) "MWEB"
["prepay_id"]=>
string(22) "wx202****8101644775259"
["nonce_str"]=>
string(13) "5edd**8c18e8a"
["return_code"]=>
string(7) "SUCCESS"
["err_code_des"]=>
string(2) "ok"
["sign"]=>
string(32) "F4C7C75B1ECC646F5****0F1A03222"
["mweb_url"]=>
string(24) "weixin://wxpay/s/An4baqw"
["mch_id"]=>
string(10) "158****061"
["return_msg"]=>
string(2) "OK"
["appid"]=>
string(18) "wx6e080f9dc****98"
["device_info"]=>
string(7) "sandbox"
["result_code"]=>
string(7) "SUCCESS"
["err_code"]=>
string(7) "SUCCESS"
}
你们h5申请成功了?
你好,沙箱金额需要填写文档固定的金额。谢谢。