Non Consumable and Dynamic in app purchase - ios

I am having an issue implementing the kind of in-app purchase that my application demands, Basically we need to sell story books but the books and their prices are not fixed as the book list comes from some server. The price range is fixed i.e a book will be having price from this 3 prices(0.99$, 1.99$, 2.99$).Apple demands the purchase of books to be a non-consumable purchase, the issue is that we create 3 in-app purchase that I mentioned but there can be any number of books having the price 0.99$ but once we have purchased a book with in-app id of price 0.99$, if we purchase another book with same in-app ID it will say you have already purchased this item.We just want is to create a single in-app id and use them with multiple books of same price.Please help me out with some solution regarding this issue.

For non-consumable in-app purchase you will need to create an in-app purchase code in iTunesConnect for each product. You can't use a generic product code as content purchases need to be restorable (and you would also have the problem that you pointed out of not being able to purchase more than one product at each price point).
Each content in-app purchasable item needs to be submitted to Apple for approval.

Maybe you can try to let users purchase virtual currencies in your app. Then let them use those currencies to buy your books. In this case, you don't have to worry about the dynamic price and all you have is a single IAP item(currencies). But your server has to handle the purchase history carefully.
Not sure if this helps, i am dealing with the same problem in subscription items.

You can create three consumables IAPs; a 'One dollar book' consumable, a 'two dollar book' consumable and a 'three dollar book' consumable. Each consumable can be used by the user to download (or otherwise secure access to) one book in that price category. Alternatively you could just sell Tokens and require that the user cash in 1,2 or 3 Tokens to buy a book in each of the three (or more) categories. You would need to keep track of the user's purchases or create some way of allowing the user to transfer rights from one device to another device. iCloud (each App has a key-value object) is good at managing that.

Related

iOS IAP for limited purchase count of an item. Consumable or not?

If we provide a limited purchasable item to a user, ie 'you can purchase the limited jewel only 3 times', which one is more Apple IAP guideline friendly?
register one Consumable item ('limited jewel': $0.99) and check transaction counts.
register three Non-consumable items (limited jewel 1/2/3) and provide the next purchasable item for each purchase.
or, either looks fine?
Depends on what the user can do with those jewels. If an item can be used once and then it is gone, it is a consumable. If it can be reused over and over, it is a non-consumable.
Consumable
Users can purchase different types of consumables, such as lives or gems in a game, to further their progress through an app. Consumable in-app purchases are used once, are depleted, and can be purchased again.
Non-Consumable
Users can purchase non-consumable, premium features within an app. Non-consumables are purchased once and do not expire, such as additional filters in a photo app.
Source
I suggest you should use the "Consumable" type IAP, it complies with Apple Guideline because it will buy many times. The Non-consumable just use for one time.
After it reaches the third time, you can hide this feature, or prevent the user continue buying.

In-app purchases: Types of products

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.

How to purchase consumable product more than one time via in-app purchase

After going through number of question still i haven't receive any to the point solution. In one of my Iphone application i'm using in-app purchase payment method. As per requirement i have created consumable product but after first purchase it gives me a message on second purchase that product is already buy for the same product. Requirement is something like this, for one added item user can buy three different time slot and for every slot user need to pay. So for item(I1), user add timeslot (T1) and pay for the same, then add timeslot(T2) and pay for the same.

How to change price of product programmatically in in-app Purchase functionality?

I want to change price of product dynamically from mobile app on basis of email id through which user login.
Do Apple allow do this? If yes , Please tell me how to do this.
Prices for in-app purchase are set through iTunesconnect. As far as I am aware there is no API available to change prices and prices cannot be changed dynamically, only for specific periods of time (such as a 1 week "sale") or set indefinitely.
You could have multiple products registered at different price points and decide which product to display to a particular user - but be aware, the in-app purchase products are visible in the iTunes store, so your customers would be able to see all of the different price-points and products that you were selling
I do not think apple allows to do this. You can set it using itunesconnect. Application can only retrieve the information of products. They have not provide any web call to change the information of inapp purchase product in their programming guideline.

Allow multiple purchases of same in app purchase

Right now i'm allowing multiple in app purchases. 3 month subscription, etc. But i cannot get a renewable purchase because apple wont allow it. So currently when a user goes to buy another 3 month subscription it gives the message that they've already purchases this item and wont allow them to purchase it again. I figure this has something to do with the product id? Is there a way to allow this not to happen and purchase the same product with the same product id multiple times? Thanks for the help!
Your product is not a non consumable product it is Non-Renewing Subscriptions instead. For further detail check check this link and go to Types of In-App Purchases this section.

Resources