How to set up In-App purchase Free for One Year? - ios

In my application, I have to give my app features free for one year but user should be charged for every one year later.
The Auto-Renewable Subscription does not give a Free Trial for one year. The Auto-Renewable Subscription’s max free Trial Duration is 3 Months. I can use this Auto-Renewable Subscription after first year. But for giving free subscription for one year which In-App Purchase type should I use and how to validate user that his one year free subscription has expired?

You can use Non renewing subscriptions for this, and you can handle the date of expiration using a Web Service.
Details on non renewing subscriptions:
http://www.raywenderlich.com/36270/in-app-purchases-non-renewing-subscription-tutorial

Related

Can I extend the users current auto-renewable subscription expiration date

I would like to implement a referral feature in an app that would add days to the user's current active subscription. Is there a way to do that using Apple's auto-renewable subscriptions?
Example
A user has a 12-month subscription that will renew in 3 months for an additional 12 months
The user refers a friend to use the app
Expected result
The user has a 12-month subscription that will renew in 4 months for an additional 12 months
To sum up:
NO.
https://developer.apple.com/forums/thread/38689
Extend a Subscription Renewal Date API:
Compensation up to 90 days twice a year.
The extension period doesn’t count toward the one year of paid service when the App Store calculates the developer’s commission rate.
Apple Developer Documentation:
https://developer.apple.com/documentation/appstoreserverapi/extend_a_subscription_renewal_date
AppStore Server API documentation:
https://developer.apple.com/documentation/appstoreserverapi
Apple subscriptions documentation:
https://developer.apple.com/app-store/subscriptions/

Do I need to using subscription or consumable IAP on Apple

if i was selling 1 month memberships in an app Apple says you should use Non-Renewing Subscriptions as youre giving access to your service for a fixed amount of time.
Ok fine...
But what if you wanted to allow users to purchase multiple '1 month subscriptions' ?
So each time they purchased the membership IAP it would add 1 month to there membership...
This would work if the IAP was set up as a consumable.... you just process the IAP and add a month to their membership, but would it work using 'Non-Renewing Subscriptions' ?? As i am assuming once you buy a Non-Renewing Subscriptions you have wait till it expires before you can buy again?

How Apple IAP Auto-renewable multiple subscriptions for same product works?

In my iOS app I have implemented an Auto-renewable subscription for one year. Let's say a user purchased a subscription one month ago, which will end after 11 months. At this time if the user purchase again he is getting the subscription for the next 12 months which I wanted to have for 11 + 12 = 23 months.
I was wondering:
Is it a limitation or a basic workflow of the category "Auto-renewable" product of Apple IAP.
Which category I should use to accomplish such type of subscriptions?
An auto-renewing subscription is either active or it isn't.
Once a user has purchased it, the subscription will renew automatically at the end of the current period unless they cancel the automatic renewal.
If they do cancel the renewal, then once that subscription period is up they can re-activate it by "purchasing" the subscription again.
It isn't possible to "stack" auto-renewing subscription IAPs.
If you use a non-auto renewing IAP then it is up to you to calculate the validity period for the users subscription. If they purchase another 12 months while the current 12 month subscription is active then you can add those periods together.

Setting expiry date for Non-Renewable subscription using storekit

I am writing a non-renewable subscription module for my new application. It includes 1 month, 3 month and 6 month subscription period. I do not understand, how to set expiry date using icloud. Any help would be appreciated?
For Apple, there is no "within the validity period" for non-renewing subscriptions. The duration of the period, fortunately or unfortunately, is left up to the developer.
Subscription validity/expiry date is up to the developer.
It seems common for developers to use their own server to track the expiry period of a non-renewing subscription.
"So if When you use iCloud for restoration you should have to manage expiry date on your own server..."
Non-renewable subscriptions. Subscriptions that don’t involve
delivering episodic content. Examples include access to a database of
historic photos or a collection of flight maps. It’s your app’s
responsibility to make the subscription available on all of the user’s
devices and to let users restore the purchase. This product type is
often used when your users already have an account on your server that
you can use to identify them when restoring content. Expiration and
the duration of the subscription are also left to your app (or your
server) to implement and enforce.
https://developer.apple.com/library/ios/documentation/NetworkingInternet/Conceptual/StoreKitGuide/Chapters/Products.html
Hope it help you.

Weekly subscription payment in inapp purchase

I want to implement inApp purchase where amount is automatically deducted every week.
User don't have to enter the credential again and again.
It just notify user and deduct the amount.
Like news letter feature in the application.
Every week perticular amount is been deducted.
It will ask for inapp credential one time and then it will deduct automatically.
I heard about consumable and non-consumable.
This will be like consumable.
But credential will be asked for every time.
How can i avoid that.
You should take a look at the official documents : https://developer.apple.com/in-app-purchase/In-App-Purchase-Guidelines.pdf
Basically, there is 5 type of InApp products which are :
Consumables
Non-Consumables
Auto-Renewable Subscriptions
Free Subscriptions
Non-Renewing Subscriptions
And I think you want to use Auto-Renewable Subscriptions, be sure to be compliant with Apple guidelines about what you want to sell.

Resources