onLoad() {  
    plus.payment.getChannels((channels) => {  
        for (let item of channels) {  
            if (item.id == 'appleiap') {  
                this.iap = item  
                this.requestOrder()//获取订单信息  
            }  
    })  
},  
methods:{  
      requestOrder() {  
        uni.showLoading({  
            title: '检测支付环境...'  
        })  
        this.iap.requestOrder(['product_id01'], (res) => {  
            console.log(JSON.stringify(res));  
            uni.hideLoading();  
        }, (err) => {  
            console.log(JSON.stringify(err));  
            uni.hideLoading();  
        })  
    }  
}
{"code":-100,"message":"Payment_appleiap:返回订单信息失败,https://ask.dcloud.net.cn/article/282"}
测试包ID 和 苹果申请内购的ID 是一样的确认了很多次
求助大佬 还有什么原因导致
            
            
            
            
1 个回复
FullStack - 【插件开发】【专治疑难杂症】【ios上架、马甲包、白包、过审、已成功上架过几百个】【多款插件已上架:https://ext.dcloud.net.cn/publisher?id=22130】【非诚勿扰】QQ:543610866
沙箱测试
使用的第三方SDK内部错误