Marc
Marc

Reputation: 171

restore consumable inapp purchases using webservice

we are using a backend service for the products in the app and a mapping scheme of in-app consumables for the dynamic content (added in the backend and synced to the app) so that a new content added to the backend can be matched with a fixed price of a consumable in app purchase, this way we dont have add a new object with itunes connect when a new item in the backend is added. but how can the restoration of a product be done (since its required by apple)? is it possible to send the receipt of a transaction to the backend and use it for restoring? anyone here who has experience with a similiar solution?

Upvotes: 3

Views: 111

Answers (1)

Msencenb
Msencenb

Reputation: 5104

Apple does not require you to have restoration for consumable in-app purchases. In fact the StoreKit API and App Receipt does not contain any record of consumable purchases after the transaction has been finished.

See this doc and search for 'Calling the payment queue’s restoreCompletedTransactions method does not restore any products in my application' for more info.

Upvotes: 1

Related Questions