if (wx.openBusinessView) {
wx.openBusinessView({
businessType: 'wxpayScoreUse',
extraData: {
mch_id: 'xxxxx',
package: res.data.package,
timestamp: res.data.timestamp,
nonce_str: res.data.nonce_str,
sign_type: res.data.sign_type,
sign: res.data.sign
},
envVersion: 'release',
success(e) {
debugger
console.log("111")
//dosomething
},
fail(e) {
debugger
console.log("222")
//dosomething
},
complete() {
//dosomething
}
});
} else {
//引导用户升级微信版本
}
创建完订单,去调用支付分小程序
同样的问题,楼主现在解决了吗????
添加一下WePayTS8(备注:微信社区XXX问题)