微信jsapi支付,支付宝即时到账支付,异步通知url接收到微信、支付宝服务器post过来的数据
<xml><appid><![CDATA[wx93b3a15deb69791a]]></appid>
<bank_type><![CDATA[CCB_DEBIT]]></bank_type>
<cash_fee><![CDATA[1]]></cash_fee>
<fee_type><![CDATA[CNY]]></fee_type>
<is_subscribe><![CDATA[Y]]></is_subscribe>
<mch_id><![CDATA[1233448302]]></mch_id>
<nonce_str><![CDATA[v5penapg1ymcem3dk84zulwcoo4racvb]]></nonce_str>
<openid><![CDATA[o6MmTuOejEBm3bXX4gRpgmDe7wmc]]></openid>
<out_trade_no><![CDATA[wx93b3a15deb69791a1442327545]]></out_trade_no>
<result_code><![CDATA[SUCCESS]]></result_code>
<return_code><![CDATA[SUCCESS]]></return_code>
<sign><![CDATA[3444923E1E5F7A5E7FE167AFF6B9BE88]]></sign>
<time_end><![CDATA[20150915223253]]></time_end>
<total_fee>1</total_fee>
<trade_type><![CDATA[JSAPI]]></trade_type>
<transaction_id><![CDATA[1004080125201509150891617040]]></transaction_id>
</xml>
支付宝服务器post过来的参数转成xml后:
<?xml version="1.0" encoding="UTF-8" ?>
<discount>0.00</discount>
<payment_type>1</payment_type>
<subject>384</subject>
<trade_no>2016112121001004830240093825</trade_no>
<buyer_email>1534645381@qq.com</buyer_email>
<gmt_create>2016-11-21 09:07:20</gmt_create>
<notify_type>trade_status_sync</notify_type>
<quantity>1</quantity>
<out_trade_no>384</out_trade_no>
<seller_id>2088711315113634</seller_id>
<notify_time>2016-11-21 09:07:27</notify_time>
<trade_status>TRADE_SUCCESS</trade_status>
<is_total_fee_adjust>N</is_total_fee_adjust>
<total_fee>0.01</total_fee>
<gmt_payment>2016-11-21 09:07:27</gmt_payment>
<seller_email>2355635667@qq.com</seller_email>
<price>0.01</price>
<buyer_id>2088602141610834</buyer_id>
<notify_id>b0e05ba6b206fa8243aad69577caa2cmem</notify_id>
<use_coupon>N</use_coupon>
<sign_type>MD5</sign_type>
<sign>fc31d5d59cdb2ac2a5196bacf2c85830</sign>
版权声明:若无特殊注明,本文皆为《菜鸟站长》原创,转载请保留文章出处。
本文链接:微信jsapi支付,支付宝即时到账支付,异步通知url接收到微信、支付宝服务器post过来的数据 - https://wziyi.com.cn/?post=101