JSAPI支付,后台PHP接口已返回正确参数,但微信开发工具中的response返回值不正确
JSAPI支付,后台PHP接口已返回正确参数,但微信开发工具中的response返回值不正确 后台接口完成统一下单返回Array ( [appid] => xxxxxx[mch_id] => xxxxxxx[nonce_str] => xxxxxxxx[prepay_id] => xxxxxx[result_code] => SUCCESS [return_code] => SUCCESS [return_msg] => OK [sign] => xxxxxx[trade_type] => JSAPI ) 后台接口地址 https://xxxxxx.com/xxx-server/index.php/Api/Wxpay/wxpay JSapi的支付授权目录已添加为https://xxxxxx.com/xxx-server/index.php/Api/Wxpay/ 但微信response返回,多了签名错误 <xml><return_code><![CDATA[FAIL]]></return_code><return_msg><![CDATA[签名错误!]]></return_msg></xml>Array ( [appid] => xxxx [mch_id] => xxxxxx [nonce_str] => xxxx [prepay_id] => xxxxxx [result_code] => SUCCESS [return_code] => SUCCESS [return_msg] => OK [sign] => xxxxxx [trade_type] => JSAPI )