BigAppleBump
BigAppleBump

Reputation: 1096

In-App purchase storing the purchase state

I am implementing in-app purchase to my iPhone App. I am following with this tutorial http://xcodenoobies.blogspot.com/2012/04/implementing-inapp-purchase-in-xcode.html and everything working fine.

But in the above tutorial purchase state is saving in the Phone KeyChain Utility. We can able to purchase it only once.

The second time when i downloaded the App it installs with purchased state .

In in-app purchases purchase should be unique to Apple ID or Device or Both ?

Thanks.

Upvotes: 0

Views: 265

Answers (2)

Hein van Dyke
Hein van Dyke

Reputation: 468

I haven't found any possibility to undo a purchase of a non-consumable product, neither on the device nor in iTunes Connect. So you have to either test your in-app purchases with a consumable product, or you need to delete your test user in iTunes Connect and register a new one.

Upvotes: 0

Romit M.
Romit M.

Reputation: 898

Yes, if you create product as Non-Consumable then it will allow only once to buy.

Upvotes: 1

Related Questions