In-app purchase recovery function in iphone / ipad application

I have built-in applications in the application in my application and tested on my device. It is working correctly. But when I download the binary in the iTunes store, Apple rejects my application for this reason:

"We found that your app offers In-App Purchase/s that can be restored but it does not include a "Restore" feature to allow users to restore the previously purchased In-App Purchase/s." 

I could not understand what the problem was.

+2
source share
1 answer

Are you using MKStoreKit by accident? I received the same refusal message.

To solve this problem, I added the "Restore In-App Purchases" button and calls restorePreviousTransactionsOnComplete:onError: which will allow the user to restore previously acquired IAPs.

+3
source

Source: https://habr.com/ru/post/1496135/


All Articles