商户传入的appid参数不正确
我看日志都是对的,看不出哪有问题,同样的代码部署在其它环境,没出现过问题,麻烦帮看看。 请求下单的参数 <appid><![CDATA[wxfb4510c528bba3e2]]></appid>
<attach><![CDATA[599628]]></attach>
<body><![CDATA[02-xx费]]></body>
<detail><![CDATA[xx费,应收金额:1000.00,未缴金额:1000.00]]></detail>
<mch_id><![CDATA[1355582502]]></mch_id>
<nonce_str><![CDATA[8c173e40709e426b843280e0cf5b99d3]]></nonce_str>
<notify_url><![CDATA[http://xxxxxxx/]]></notify_url>
<out_trade_no><![CDATA[20200517205503913]]></out_trade_no>
<product_id><![CDATA[20200517205503913]]></product_id>
<sign><![CDATA[49448D26D162D3BD5BDF82A59242D840]]></sign>
<spbill_create_ip><![CDATA[10.223.131.200]]></spbill_create_ip>
<sub_appid><![CDATA[wxeecd4f1f44f855da]]></sub_appid>
<sub_mch_id><![CDATA[1493380992]]></sub_mch_id>
<sub_openid><![CDATA[oVgiFwpa_hBdRtt9kFwOcPp1NCm0]]></sub_openid>
<time_expire><![CDATA[20200517210503]]></time_expire>
<time_start><![CDATA[20200517205503]]></time_start>
<total_fee>100000</total_fee>
<trade_type><![CDATA[JSAPI]]></trade_type>
</xml>
下单返回结果
<xml>
<return_code><![CDATA[SUCCESS]]></return_code>
<return_msg><![CDATA[OK]]></return_msg>
<appid><![CDATA[wxfb4510c528bba3e2]]></appid>
<mch_id><![CDATA[1355582502]]></mch_id>
<sub_mch_id><![CDATA[1493380992]]></sub_mch_id>
<nonce_str><![CDATA[EL0mIIV9PewmDGox]]></nonce_str>
<sign><![CDATA[C96B481F189D63FA299EC3651D0B3D77]]></sign>
<result_code><![CDATA[SUCCESS]]></result_code>
<prepay_id><![CDATA[wx17205603192842dd3b232b211299566200]]></prepay_id>
<trade_type><![CDATA[JSAPI]]></trade_type>
<sub_appid><![CDATA[wxeecd4f1f44f855da]]></sub_appid>
</xml>
支付时使用jsApiParam :
{"appId":"wxfb4510c528bba3e2",
"nonceStr":"5037e106826b4a4fb7fd88ca8891e1be",
"package":"prepay_id=wx17205603192842dd3b232b211299566200",
"paySign":"E414E1FD827FF1325E499B2048B91372",
"signType":"MD5",
"timeStamp":"1589720104"}