微信支付回调 请求报文xml格式如下:
<?xml version=”1.0″ encoding=”UTF-8″?><root>
</root>
可以通过postman模拟回调, 例如:
<?xml version="1.0" encoding="UTF-8"?><root>
<transaction_id>4200000063201803191955231781</transaction_id>
<nonce_str>0YeImuC5r2AtCO5v</nonce_str>
<bank_type>CFT</bank_type>
<openid>oI4tuwt0PDmsnsNodRMicndAaN18</openid>
<sign>CA09DF71B611D8D8F9CD705DB1DDC16E</sign>
<fee_type>CNY</fee_type>
<mch_id>1490271692</mch_id>
<sub_mch_id>99001787</sub_mch_id>
<cash_fee>1000</cash_fee>
<out_trade_no>2018031922175301908854889290</out_trade_no>
<appid>wxacb60b24dc95fc2d</appid>
<total_fee>1000</total_fee>
<trade_type>NATIVE</trade_type>
<result_code>SUCCESS</result_code>
<attach>bank_mch_name=cmbchina201&bank_mch_id=20180319202641023553</attach>
<time_end>20180319221817</time_end>
<is_subscribe>N</is_subscribe>
<return_code>SUCCESS</return_code>
</root>