昨天还是好好的 今天就获取不到支付通道了 有没有人知道是啥问题
getIOSPay() {
var IAPOrders;
var _this = this;
// 获取支付通道
plus.payment.getChannels(
function(channels) {
console.log(channels);
for (var i in channels) {
if (channels[i].id == 'appleiap') {
console.log(channels[i]);
var iapChannel = channels[i];
iapChannel.requestOrder(
['monthVips','fanyin.year.vip'],
function(event) {
console.log('--------------');
console.log(event);
},
function(errormsg) {
console.log('获取支付通道失败:' + errormsg.message);
}
);
}
}
},
function(e) {
console.log('获取支付通道失败:' + e.message);
}
);
},
获取支付通道失败:Payment_appleiap:Error Domain=AMSErrorDomain Code=301 "Invalid Status Code" UserInfo={AMSStatusCode=502, NSLocalizedDescription=Invalid Status Code, NSLocalizedFailureReason=The response has an invalid status code},
0 个回复