requestMidasPayment报错
- 当前 Bug 的表现(可附上截图)
- 预期表现
会卡死
- 复现路径
调用requestMidasPayment 后完成充值后不会
- 提供一个最简复现 Demo
wx.requestMidasPayment({
mode:“game”,
env:0,// 0:正式 1:沙箱
offerId:data.offerId,//在米大师侧申请的应用 id
currencyType:“CNY”,
buyQuantity:data.buyQuantity,//金额
platform: _that.system,
zoneId: data.zoneId,
success:function(res){
console.log(res);
},
fail:function(res){
console.log("requestMidasPayment fail ",res);
},
complete:function(){
console.log(“requestMidasPayment complete”);
}
});