发货+兼容苹果

This commit is contained in:
@fawn-nine
2023-10-31 16:50:02 +08:00
parent 0a3bf99719
commit 8da1734b17
13 changed files with 158 additions and 151 deletions

View File

@@ -266,6 +266,7 @@
// 支付成功result 为 IAP商品交易信息对象 IAPTransaction 需将返回的支付凭证传给后端进行二次认证
that.iapCheck(result)
}, function(e) {
console.log('错误回调', e)
if(e.errCode == 2){
// 用户未绑定支付方式app内支付流程结束系统弹出框引导用户绑定支付方式此过程将跳转到系统应用 AppStore 进行绑定支付方式,绑定成功同步支付成功,用户成功付款
plus.runtime.openURL("https://apps.apple.com/account/billing");