小游戏米大师支付wx.requestMidasPayment不能调起
调用虚拟支付时报错
{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);
急急急。。。。