wx.requestPayment({
provider: 'wxpay',
appid:orderInfo.appId,
timeStamp:orderInfo.timeStamp,
nonceStr:orderInfo.nonceStr,
package:orderInfo.package,
signType:'RSA',
paySign:orderInfo.paySign,
success: function(res4) {
console.log(res4, "支付成功");
setTimeout(function(){
wx.navigateTo({
url: '../payStatus?status=1',
})
},200)
},
fail: function(err) {
console.log('支付失败:' + JSON.stringify(err));
setTimeout(function(){
wx.navigateTo({
url: '../payStatus?status=2',
})
},200)
},
complate:function(com){
console.log('支付complate:' + JSON.stringify(com));
}
});
确认支付成功后,没有进入success也没有进入complate,跳转是正常的,没有进入回调