< xml > < appid > <![CDATA[wxc0d5e05946cff6e1]]> </ appid > < mch_id >1558975901</ mch_id > < body > <![CDATA[充值0.01元]]> </ body > < nonce_str > <![CDATA[zOlXdNP5f46Yv9DO]]> </ nonce_str > < notify_url > <![CDATA[xxxxxxxxxx]]> </ notify_url > < out_trade_no >2019121110573347551</ out_trade_no > < spbill_create_ip > <![CDATA[0.0.0.0]]> </ spbill_create_ip > < total_fee >1</ total_fee > < openid > <![CDATA[ounjVw7OMJ8VPtojeqrxlxe8Bey4]]> </ openid > < trade_type > <![CDATA[JSAPI]]> </ trade_type > < sign > <![CDATA[6C8CEA89C9E641212B2D769A12195981]]> </ sign > </ xml > |
appid填的是CorpID,
返回
< xml >< return_code > <![CDATA[FAIL]]> </ return_code > < return_msg > <![CDATA[appid和mch_id不匹配]]> </ return_msg > </ xml > |
请去人你的APPID是否正确,或者你用的商户号是否有做绑定.