Nikita P
Nikita P

Reputation: 4246

Change the price of a product in app purchase dynamically

I have some non-renewable subscriptions as products for in app purchase in my iTunes connect. Something like this - Buy 1 GB, Buy 2 GB, Buy 3 GB etc

Now, if the user has bought 2 GB already, and he wishes to have 3GB, I need to adjust the price of 3GB, so that 2GB price is subtracted.

Can I change the price if any product like this?

Upvotes: 1

Views: 1775

Answers (1)

Stewart Macdonald
Stewart Macdonald

Reputation: 2132

I don't think you can dynamically adjust the price of an In-app Purchase.

I'm assuming that your existing prices don't scale linearly (i.e., the price of your 3GB product is not equal to the sum of the prices of your 2GB and 1GB products).

This is far from an elegant solution, but you could work out ahead of time all possible combinations of product purchases and have separate products for them. For example, you'd have another product of "3GB after having already purchased 2GB", for the appropriate price. You could hide this product from the user unless they had first purchased the 2GB product.

Upvotes: 1

Related Questions