Phil
Phil

Reputation: 3043

Restoring In-App purchases

I'm creating a game where the player can buy non-consumable items, there are 10 to buy and once bought they stay bought. The transactions for these items (a simple boolean for each item) is recorded on a server (Parse.com).

So I'm unsure what I need to do with my restore button as it doesn't matter what device the player signs into my game on, as long as they use the same account (which is tied to their GameCenter details) the game will know what items they have bought anyway, so there's no need for my game to have a restore button, but Apple says I need one, so what should I do?

Upvotes: 1

Views: 929

Answers (1)

Guo Luchuan
Guo Luchuan

Reputation: 4731

With non-consumable items ,you may not have a "restore button" but you must have a restore function. My app has no restore button , but has a restore function , and it also approved by apple. But it is better to has a restore function for non-consumable items. And you must has a restore function

And Why non-consumable items need restore ?

In my app , When user purchase my items and my local app has a transactions , At this time , the device maybe offline suddenly. So his payment success but purchasing failed , this situation should restore. And another situation , When user purchase my items and my local app has a transactions, I pass the transactions to my server . My server check the transactions with apple server , At this time , my server is down .So his payment success but purchasing failed , this situation also should restore.

Upvotes: 3

Related Questions