在iPhoneSDK中为Subscription创建多少Product-id [英] How many Product-ids to create for Subscription in iPhoneSDK

查看:344
本文介绍了在iPhoneSDK中为Subscription创建多少Product-id的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

为了您的信息,我已经在应用程序中实施了应用程序内购买,并且在Apple 的 Content Hosting中工作正常as 服务器模型。我的应用程序中有逻辑来检查用户是否已经下载了内容,如果没有使用NKIssue下载,因为它是 Newsstand app。

For your information, I have already implemented In-app Purchase in the application and it is working fine with Content Hosting at Apple as well as Server Model.I have logic in my app to check whether user has already downloaded the content ,if not download it using NKIssue as it is Newsstand app.

以下是我对Subscription的要求:
该杂志有一期已发布每一个月。我想要的是用户订阅,即3,6,12个月,在此期间,他们每个月都会收到一期杂志,因为它已经发布。如果他们想购买以前的任何问题,他们必须购买这些作为独立的应用内购买。

Here is the my requirement for Subscription : There is one issue of the magazine published each month. What I want is for users to subscribe i.e. for 3,6,12 months, and during this time, they receive one magazine issue each month as it is published. If they want to buy any of the previous issues, they would have to purchase those as an standalone in-app purchase.

在这里,我在创建产品ID以包含此功能时对Subscription感到困惑。我在IAP中为n个产品创建了n个产品ID,但在Subscription中会出现这种情况。我在这里有点困惑,关于处理订阅部分,我是否还需要创建n个产品ID以支持订阅。

Over here, I am getting confused about the Subscription while creating the Product ID's to include this feature. I have created n number of Product-ID for n number of Products in IAP but what will be the case in Subscription. I am bit confused here, about handling the Subscription part, Do I also need to create the n number of Product ID's to support Subscription.

例如, 如果一年有12本杂志,我是否必须创建12个单独的产品ID,每个订阅3个月,6个月,12个月(总计:36个产品ID)创建每个持续时间的单个产品ID,与产品无关将起作用? (总计:3产品ID)

For instance, If there are 12 magazines in a year, Do I have to create 12 separate Product IDs for subscription each of 3, 6 ,12 months (Total : 36 Product ID) OR creating a single product id for each of duration , irrelevant to product will work ? (Total : 3 Product ID)

类似于,


  • 3个月: com.mycompanyname.pdfproduct.3months

  • 6个月: com.mycompanyname。 pdfproduct.6months

  • 12个月: com.mycompanyname.pdfproduct.12months

  • 3 months : com.mycompanyname.pdfproduct.3months
  • 6 months : com.mycompanyname.pdfproduct.6months
  • 12 months : com.mycompanyname.pdfproduct.12months

更新1:

如果是最好的检查方法,用户已经订阅了6个月并且在不知情的情况下,试图订阅3个月的订阅?那么,在这种情况下,app会允许订阅还是需要限制用户使用相同的内容?

Which is the best approach to check, if the user is already subscribed for 6 months and unknowingly , trying to subscribe for 3 months subscription ? So, in that case, will app be allowing to subscribe or need to restrict the user for the same ?

应用程序将如何检查此持续时间/时间范围或者已有任何方法/方法?

How the app will check for this duration/span of time OR there is already any method/approach ?

参考教程,如果这可能对某人:

Reference Tutorials , if that could be helpful for someone :

iOS 6教程中的应用程序内购买简介

使用IBAction /按钮进行应用内购买

谢谢,

推荐答案

在iTunesConnect中,您必须创建一个订阅系列。不知怎的。然后为这个家庭添加3个不同的持续时间:3个月,6个月和12个月并给他们ID,如上所述:com.myCompany.product.subscription.3months / 6months / 12months

In iTunesConnect you must create one subscription family. Name it somehow. Then add 3 different durations for this family: 3, 6 and 12 month and give them ID's like you wrote above: com.myCompany.product.subscription.3months/6months/12months

这篇关于在iPhoneSDK中为Subscription创建多少Product-id的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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