Open Gl-Gz-Cake opened 5 years ago
不能做自己的下单支付逻辑
@Gl-Gz-Cake @MQCCoder 大佬解决了吗?现在提交升级被拒了
When the user initiates an in-app purchase on the App Store, they are taken into your app to continue the transaction. However, information about the subscription must be displayed to the user prior to the purchase: • Title of publication or service • Length of subscription (time period and content or services provided during each subscription period) Price of subscription, and price per unit if appropriate
Your app must include links to your privacy policy and Terms of Use, and users should be able to access these links at any time.
1这里的问题不是说有关订阅的信息必须在购买之前显示给用户么,我这边是有支付金额和获得的价格的,你那边app支付界面是怎么样的 2.这里说的隐私政策链接 是不是指appstore connect里面的隐私政策链接 可以参考下
@Gl-Gz-Cake 这些都有,是这样的,已安装了App,从appstore里面的iap推广点进来的,见下图画框地方,会直接打开App后弹窗支付,现在苹果好像是要求进入支付界面必须要有商品介绍等信息。 我看了是通过下面这个协议启动App的,怎么监听把商品介绍页给打开 itms-services://?action=purchaseIntent&bundleId=com.example.app&productIdentifier=product_name
我试了腾讯视频,优酷视频的IAP,他们会自动打开商品介绍页
在appdelegate里实现 [[SKPaymentQueue defaultQueue] addTransactionObserver:self];的代理方法,关闭该框架的shoudAddstorePayment方法yes方法 返回NO试下。看看是不是你想要的结果
-(BOOL)paymentQueue:(SKPaymentQueue)queue shouldAddStorePayment:(SKPayment)payment forProduct:(SKProduct*)product
{
//做跳转付费界面控制器
BaseNavigationController * nvc = nil;
if (self.tabar) {
nvc = (BaseNavigationController *)self.tabar.selectedViewController;
}else
{
UIViewController * ctr = self.window.rootViewController;
if ([ctr isKindOfClass:[BaseNavigationController class]]) {
nvc = (BaseNavigationController *)self.window.rootViewController;
}
}
[[PushHelper sharedHelper] pushClassDetailAndNvc:nvc];
return NO;
}
------------------ 原始邮件 ------------------ 发件人: "ieliwb"<notifications@github.com>; 发送时间: 2019年11月27日(星期三) 下午3:56 收件人: "MQCCoder/XYIAPKit"<XYIAPKit@noreply.github.com>; 抄送: "🌿"<2487464453@qq.com>; "Mention"<mention@noreply.github.com>; 主题: Re: [MQCCoder/XYIAPKit] 用户在appstore推广的时候 点击商品跳转一直弹起支付框,因为在XYStore里设置了 (#12)
我试了腾讯视频,优酷视频的IAP,他们会自动打开商品介绍页
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.
@Gl-Gz-Cake 大佬厉害啊,解决了,谢谢啊,暂时没有动XYIAPKit,先提交试试
我的是关闭yes的,嗯,不客气.
------------------ 原始邮件 ------------------ 发件人: "ieliwb"<notifications@github.com>; 发送时间: 2019年11月27日(星期三) 下午4:16 收件人: "MQCCoder/XYIAPKit"<XYIAPKit@noreply.github.com>; 抄送: "🌿"<2487464453@qq.com>; "Mention"<mention@noreply.github.com>; 主题: Re: [MQCCoder/XYIAPKit] 用户在appstore推广的时候 点击商品跳转一直弹起支付框,因为在XYStore里设置了 (#12)
@Gl-Gz-Cake 大佬厉害啊,解决了,谢谢啊,暂时没有动XYIAPKit,先提交试试
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.
设置了