I have a paid app on apple store, I wish to migrate to IAP, if use .*.IAP as productID for IAP, I can check transactions against this for purchase status, but for those original paid up, can I get a receipt, if so what productID do I check against?
Or should I get user to subscribe to non consumable purchase at £0.00 and at a later date, after trial period, switch store price to £0.00 and IAP price to £x.xx
Thanks
Related
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?
I want to implement InApp purchase in my iOS video streaming app to do that I need to implement Non-renewing subscription e.g 1 month,3 months, 6 months and 1 year.
I am using Objetive-C in my application.
Can you please tell me how to implement it because as per Apple, developer need to manage subscription expiration date and time.
How to validate receipt ??
How to manage user's subscription on multiple device or restore user's subscription if user login on other device ??
Please help me and let me know if anything is required in Non-renewing subscription.
Thanks,
You should go through the in-app purchase programming guide before starting the implementation.
https://developer.apple.com/library/content/documentation/NetworkingInternet/Conceptual/StoreKitGuide/Introduction.html
Store-kit won't send you any notification in case of subscription end for a non-renewable subscription. You need to calculate the duration on your own and revoke the user's access to your server after that duration.
To verify the receipt you can do the validation on user's device or on your server, but your server is preferably better and even recommended by apple also.
For restoring the purchase you can go through the following doc
https://developer.apple.com/library/content/documentation/NetworkingInternet/Conceptual/StoreKitGuide/Chapters/Restoring.html#//apple_ref/doc/uid/TP40008267-CH8-SW9
Non Renewing subscription
First of non renewing subscription is the consumable keys that means once it purchased it just purchased. Keep in mind Storekit doesnot restore consumable products so you have to manage yourself because StoreKit does not do it as it do in Auto-renewable subscriptions and Non-consumable .
More details about Non renewing subscription :
Does Non-Renewing subscription requires a restore button?
How to manage?
To manage your in-app purchase you have to use server DB. You have to store your all purchases in server DB by using post API.
Benefits:
You can easily maintain the end date of purchase.
You can get each paid account every time user logged in with any device.
Note: Maintain your DB according to your need.
Please, help me to clarify purchases types.
I have an ionic project, where a user has a possibility to post to feed. But he/she has to pay for each news he/she posts.
I know that purchases are of three types: consumable, non-consumable and subscriptions.
I cant understand what is the type of such kind of purchases?
You would be a consumable type as you are paying every time you post.
Good description from a previous post https://stackoverflow.com/a/21251768/5270656
Ref: itunesconnect.apple.com
Everything is here:
Consumable (pay everytime)
A consumable In-App Purchase must be purchased every time
the user downloads it. One-time services, such as fish food in a
fishing app, are usually implemented as consumables.
Select Non-Consumable (one time payment)
Non-consumable In-App Purchases only need to be
purchased once by users. Services that do not expire or decrease with
use are usually implemented as non-consumables, such as new race
tracks for a game app.
Select Auto-Renewable Subscriptions (will deduct money from your credit card on a cycle complete)
Auto-renewable Subscriptions allow
the user to purchase updating and dynamic content for a set duration
of time. Subscriptions renew automatically unless the user opts out,
such as magazine subscriptions.
Select Free Subscription (no payment and is still visible even you did not submitted your account detail to itunes connect)
Free subscriptions are a way for developers
to put free subscription content in Newsstand. Once a user signs up
for a free subscription, it will be available on all devices
associated with the user’s Apple ID. Note that free subscriptions do
not expire and can only be offered in Newsstand-enabled apps.
Select Non-Renewing (need to renew manually)
Subscription Non-Renewing Subscriptions allow the
sale of services with a limited duration. Non-Renewing Subscriptions
must be used for In-App Purchases that offer time-based access to
static content. Examples include a one week subscription to voice
guidance feature within a navigation app or an annual subscription to
online catalog of archived video or audio.
You can use an SKPRoductRequest to get prices for products, and you can use the App Store receipt API to get what products a user has purchased (as of iOS7).
However, I think the SKProductRequest reflects the current price for the products.
Is there any way to tell what price the user actually paid for an in-app purchase, given there might have been a price change? How about for the app itself?
You will have to store the purchase price on the device or server, or in your analytics package
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.