-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
用户在appstore推广的时候 点击商品跳转一直弹起支付框,因为在XYStore里设置了 #12
Comments
设置了
|
不能做自己的下单支付逻辑 |
@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. 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支付界面是怎么样的 |
@Gl-Gz-Cake 这些都有,是这样的,已安装了App,从appstore里面的iap推广点进来的,见下图画框地方,会直接打开App后弹窗支付,现在苹果好像是要求进入支付界面必须要有商品介绍等信息。 |
我试了腾讯视频,优酷视频的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"<[email protected]>;
发送时间: 2019年11月27日(星期三) 下午3:56
收件人: "MQCCoder/XYIAPKit"<[email protected]>;
抄送: "&#x1F33F;"<[email protected]>; "Mention"<[email protected]>;
主题: 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"<[email protected]>;
发送时间: 2019年11月27日(星期三) 下午4:16
收件人: "MQCCoder/XYIAPKit"<[email protected]>;
抄送: "&#x1F33F;"<[email protected]>; "Mention"<[email protected]>;
主题: 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.
|
No description provided.
The text was updated successfully, but these errors were encountered: