https://api.mch.weixin.qq.com/pay/unifiedorder
请求参数
<xml>
<attach/>
<body>费用支付</body>
<detail/>
<appid>xxxx</appid>
<mch_id>xxx</mch_id>
<nonce_str>JGAGLZCX90U6</nonce_str>
<sign>xxx</sign>
<sign_type/>
<return_code/>
<return_msg/>
<result_code/>
<err_code/>
<err_code_des/>
<time_start>20221129104928</time_start>
<time_end/>
<time_expire>20221129111933</time_expire>
<device_info/>
<openid>xxxx</openid>
<trade_type>JSAPI</trade_type>
<total_fee>5800</total_fee>
<fee_type/>
<out_trade_no>202211291049286831aYWzc</out_trade_no>
<sub_mch_id/>
<sub_appid/>
<sub_openid/>
<spbill_create_ip>xxxx</spbill_create_ip>
<goods_tag/>
<limit_pay/>
<product_id/>
<notify_url>http</notify_url>
</xml>
遇到相同问题,别的客户正常,就有最近开通的商户返回:请求中含有未在API文档中定义的参数,这个问题有解决了吗?
<nonce_str>
<![CDATA[xxxxxx]]>
</nonce_str>
<openid>
<![CDATA[xxxxxx]]>
</openid>
<sign>
<![CDATA[xxxxxxx]]>
</sign>
<body>
<![CDATA[test]]>
</body>
<mch_id>
<![CDATA[XXXXX]]>
</mch_id>
<notify_url>
<![CDATA[http://v]]>
</notify_url>
<spbill_create_ip>
<![CDATA[111]]>
</spbill_create_ip>
<out_trade_no>
<![CDATA[1111]]>
</out_trade_no>
<total_fee>
<![CDATA[1]]>
</total_fee>
<trade_type>
<![CDATA[JSAPI]]>
</trade_type>
<pay_type>
<![CDATA[WECHAT]]>
</pay_type>
<detail>
<![CDATA[{"cost_price":1,"goods_detail":[{"goods_id":"85","goods_name":"农夫山泉农夫山泉天然水550ml","price":1,"quantity":1}],"receipt_id":"1684120469"}]]>
</detail>
<app_id>
<![CDATA[XXXX]]>
</app_id>
</xml>
帮忙看下参数有什么问题?