小游戏米大师支付wx.requestMidasPayment不能调起
发布于 5 年前 作者 lei02 1081 次浏览 来自 问答

调用虚拟支付时报错

{errMsg: "requestMidasPayment:fail getIAPInfo:fail invalid scope"}

微信appid:wx430775b6c6e74855


var s = {

mode: “game”,

env: 1,

offerId: “******”,

currencyType: “CNY”,

buyQuantity: 60,

platform: “android”,

zoneId: “1”,

success: function (e) {

console.log(“requestMidasPayment success”);

console.log(e)

},

fail: function (n) {

console.log(“requestMidasPayment failure”);

console.log(n)

}

};

wx.requestMidasPayment(s);

急急急。。。。

回到顶部