将应用内Purhcase内容(杂志)扩展到iPhone中的每月自动续订订阅类型 [英] Extending In-App Purhcase content (Magazine) to monthly Auto-renewable Subscription type in iPhone

查看:301
本文介绍了将应用内Purhcase内容(杂志)扩展到iPhone中的每月自动续订订阅类型的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

对于有关iTunes订阅的第100万个问题,我们深表歉意。 IAP,我们在那里有解决方案,但这似乎与我所经历的不同,包括UrbanAirShip。

Sorry for the millionth question about iTunes subscriptions & IAP, where we do have solutions to them, but this seems to be different than what I have gone through including UrbanAirShip.

我已经成功地实现了IAP功能我的申请&使用Urban-Airship可以很好地工作。

I have successfully implemented the IAP functionality very well in my application & it works nicely using Urban-Airship.

这些链接真的帮助我学习和使用它。在应用程序中实现付费功能,即使这可以在将来帮助新学员:

These links really helped me to learn & implement the Pay feature in the app,even this could help the new learner in future:


  1. http://www.alexcurylo.com/blog/2010/02/26/in-app-purchasing/

  2. https://docs.urbanairship。 com / display / DOCS / Home

  3. http:// urbanairship。 com / resources /

  1. http://www.alexcurylo.com/blog/2010/02/26/in-app-purchasing/
  2. https://docs.urbanairship.com/display/DOCS/Home
  3. http://urbanairship.com/resources/

基本上我想在我的应用中实现自动更新的订阅类型,我想要确保我做对了以下列出了我想出的步骤:

Basically I'm looking to implementing auto-renewable kind of subscriptions in my app and I want to make sure I got it right. Here's a list of steps to take that I came up with:


  • 创建没有任何通配字符的AppID。

  • 在编码方实现了应用程序内购买的体系结构以及
    订阅。

  • 在iTunesConect上创建了一个新应用程序并添加了应用程序内容
    有耗材和非耗材类型。

  • 在Urban-Airship创建了一个新应用程序并添加了应用程序内容

    有消耗品,非消耗品还有subsciption,负责与iTunes产品相匹配的ProductID。

  • 使用在iTunesConnect帐户中创建的测试用户进行测试。

  • Created the AppID without any wild-characters.
  • Implemented the architecture for In-app Purchase as well as subscriptions at coding side.
  • Created a new application at iTunesConect and added In-app content having consumable as well as non-consumable type.
  • Created a new application at Urban-Airship and added In-app content
    having consumable,non-consumable as well subsciption, taking care of ProductID which should match with iTunes product.
  • Testing with test user created in iTunesConnect account.

以下是我要实施的案例:

单一杂志问题是非消费类型可以由最终用户购买。现在,我如何作为每月包装提供该杂志的订阅设施。与app类似: http://itunes.apple.com/us/app/time-magazine/id369021520?mt=8

A single magazine issue which is of non-consumable type can be purchased by the end user.Now, how can I provide the subscription facility to this magazine as a monthly package.Similar to app : http://itunes.apple.com/us/app/time-magazine/id369021520?mt=8


  1. 3个月订阅

  2. 6个月订阅

  3. 12个月订阅
  4. li>
  5. 24个月订阅

  6. 36个月订阅

  1. 3 months Subscription
  2. 6 months Subscription
  3. 12 months Subscription
  4. 24 months Subscription
  5. 36 months Subscription

现在,一般情况下,我可以将应用程序内购买项目附加到订阅或任何方式我可以重复使用相同的杂志订阅。我需要配置所有这些设置,只需要处理UrbanAirShip。

Now,in general is there any possibility where I can append the In-app Purchase item to subscription OR any way I can reuse the same magazine for Subscription.Where do I need to configure all those settings, just taking care of UrbanAirShip too.

我愿意听听您认为实施此案例的最佳方法,即单个杂志可以作为应用程序以及每月套餐的自动续订订阅。

I am to open to hear the best approach you think for implementation of this case where a single magazine would work as In-app as well auto-renewable subscription for monthly package.

最后一件事,是否有可能拥有24& 36个月的订阅,因为我没有找到任何可以设置订阅24& 36个月。

And the last thing,Is it possible to have 24 & 36 months of subscription because I didn't find anyway where one can setup subscription to 24 & 36 months.

推荐答案

我只能解决您遇到的部分问题。我没有太多实施UrbanAirship的经验。

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

Apple管理自动可再生订阅(ARS)。这意味着他们负责向客户收费并计算到期日期。此外,在初次订购购买后,用户必须通过iTunes Store应用程序或设置应用程序管理其ARS,而不是您的应用程序。 Apple只为ARS提供一定的持续时间。所以,不,我很确定你不会在没有请求Apple的情况下做24或36个月的订阅。

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.

让我试着澄清你关于非消耗品vs的问题.ARS。您希望用户能够购买6个月(或其他)订阅并获得每期杂志,对吗?但您也希望允许订阅的人购买个别问题,对吗? (使用非消费品)现在,您是说,如果他们购买单个问题他们也有订阅,您希望它以某种方式延长他们的订阅一周或一个月?

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?

如果是这种情况,简短的回答是否定的。这不是不可能,但它会很复杂,这就是原因。 Apple会为您计算ARS的续订/到期日期。在每个期间结束时,他们会自动向用户收取下一期的费用。如果用户的帐户在6月1日设置为续订,但您在向用户显示之前添加了一个月,那么即使您在7月1日告诉用户他们的帐户续订,Apple仍会在6月1日对其帐户收费。当用户获得续订电子邮件或用户在iTunes应用程序中检查其订阅状态时,它会变得混乱。 Apple不允许您随意为某人的自动续订订阅添加时间。

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:


  • 用户必须在每个期间结束时手动续订。

  • 您,因为开发人员必须通过实施某种用户/密码系统来处理Apple所要求的所有人的设备同步订阅(在ARS中,这基本上是在您的帮助下为您处理的) restoreCompletedTransactions )。

  • 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).

这篇关于将应用内Purhcase内容(杂志)扩展到iPhone中的每月自动续订订阅类型的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆