Extending In-App Purhcase content (Magazine) to monthly Auto-renewable Subscription type in iPhone

≯℡__Kan透↙ 提交于 2019-12-04 21:41:05

I can only address the portion of your concerns that I have experience with. I don't have much experience with implementing UrbanAirship.

Apple manages Auto-Renewable Subscriptions (ARS's). That means they take care of billing the customer and they calculate the expiration date. Also, after the initial subscription purchase, the user has to manage their ARS through the iTunes Store app or the Settings app, not your app. And Apple only offers certain durations for ARS's. So, no, I'm pretty sure you can't do 24 or 36 month subscriptions without petitioning Apple.

Let me try and clarify your question about non-consumable vs. ARS. You want a user to be able to buy a 6-month (or other) subscription and get every issue of your "magazine", right? But you also want to allow people who do not have a subscription to buy an individual issue, correct? (using non-consumable) Now, are you saying that, if they buy an individual issue and they also have a subscription, you want it to somehow extend their subscription by a week or a month?

If that's the case, the short answer is no. It's not impossible but it's gonna be complex and here's why. Apple calculates the renewal/expiration date for ARS's for you. And at the end of each period, they automatically charge the user for the next period. If a user's account is set to renew on June 1st, but you add a month to that before showing it to the user, Apple will still charge their account on June 1st, even though you're telling the user their account renews on July 1st. It'll get confusing when the user gets renewal e-mails or if the user checks the status of their subscription in the iTunes app. Apple doesn't let you arbitrarily add time to someone's Auto-Renewing Subscription.

Now, if you were to use Non-Renewing Subscriptions you'd have a lot more control. But there are also downfalls to that such as:

  • The user has to manually renew at the end of every period.
  • You, as the developer have to handle syncing the subscription across all of a person's devices as required by Apple by implementing some sort of user/password system (in ARS, this is essentially handled for you with the help of restoreCompletedTransactions).
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!