我也遇到了和楼主一样的问题,但是没有找到原因,麻烦帮看看: 下面是统一下单返回参数: {PACKAGE=prepay_id=wx2511011047752744290ad4851137992200, TIME_STAMP=1585105269, NONCE_STR=8upnst2vawwswn8i8kqrjtny0hwe7cu4, PREPAY_ID=wx2511011047752744290ad4851137992200, SL_RSLT_MESG=success, SL_RSLT_CODE=999999, REDIRECT_URL=https://api.mch.weixin.qq.com/pay, PAY_SIGN=E987A6EF6E051EDAFEB4AC16C287A098, TRAN_CODE=EpayReq, BANK_TYPE=DEFAULT, APP_ID=wx4397b8de3975294a} 下面是发起支付请求参数: {SING_FLAG: "Y", PACKAGE: "prepay_id=wx2511011047752744290ad4851137992200", PAY_SIGN: "E987A6EF6E051EDAFEB4AC16C287A098", APPID: "wx4397b8de3975294a", TIMESTAMP: "1585105269"}
商户传入的appid参数不正确,请联系商户处理-问题描述: 调用支付接口,后台请求支付接口成功,回执数据正常,回执数据返回至小程序端,报错“商户传入的appid参数不正确,请联系商户处理”,没有弹出输入密码页面!!! -问题出现场景: 小程序对同主体商户,能够支付成功,对应不同主体商户支付失败(商户平台已经绑定改小程序的APPID) - 当前 Bug 的表现(可附上截图) [图片] [图片] - 预期表现 [图片] -小程序端代码 [代码]wx.requestPayment({[代码][代码] [代码][代码]'timeStamp': res.data.timeStamp,[代码][代码] [代码][代码]'nonceStr': res.data.nonceStr,[代码][代码] [代码][代码]'package': res.data.package,[代码][代码] [代码][代码]'signType': res.data.signType,[代码][代码] [代码][代码]'paySign': res.data.paySign,[代码][代码] [代码][代码]'success': function (res) {[代码][代码] [代码][代码]wx.setStorageSync('ordertime', 60);[代码][代码] [代码][代码]wx.setStorageSync('clearsetInter','');[代码][代码] [代码][代码]wx.setStorageSync("orderid", "");[代码][代码] [代码][代码]wx.redirectTo({[代码][代码] [代码][代码]url: orderUrl[代码][代码] [代码][代码]})[代码][代码] [代码][代码]},[代码][代码] [代码][代码]'fail': function (res) {[代码][代码] [代码][代码]wx.redirectTo({[代码][代码] [代码][代码]url: '../../order/fail/fail?orderfail=fail&orderid=' + orderid[代码][代码] [代码][代码]})[代码][代码] [代码][代码]}[代码][代码] [代码][代码]})[代码]-请求参数: [代码]{nonce_str: [代码][代码]"prlNcOyt8XNXTDdI"[代码][代码], [代码][代码]package[代码][代码]: [代码][代码]"prepay_id=wx131821368388059bff1da1a91266347900"[代码][代码],…}[代码][代码]appid: [代码][代码]"wx64219b04c3af9d85"[代码][代码]mch_id: [代码][代码]"1515291591"[代码][代码]nonceStr: [代码][代码]"1125C6496504470BA95F99905D32E902"[代码][代码]nonce_str: [代码][代码]"prlNcOyt8XNXTDdI"[代码][代码]package[代码][代码]: [代码][代码]"prepay_id=wx131821368388059bff1da1a91266347900"[代码][代码]paySign: [代码][代码]"7061D742E95B91DD39E1B18731DDE8FC"[代码][代码]prepay_id: [代码][代码]"wx131821368388059bff1da1a91266347900"[代码][代码]result_code: [代码][代码]"SUCCESS"[代码][代码]return_code: [代码][代码]"SUCCESS"[代码][代码]return_msg: [代码][代码]"OK"[代码][代码]sign: [代码][代码]"B692060C049D89D585A254E5332C6C9F"[代码][代码]signType: [代码][代码]"MD5"[代码][代码]timeStamp: [代码][代码]"1560421295151"[代码][代码]trade_type: [代码][代码]"JSAPI"[代码]
2020-03-25