Restore IAP in IOS unity 5.3

As the documentation says “On Apple platforms users must enter their password to retrieve previous transactions so your application must provide users with a button letting them do so

SO i should provide a simple button saying “Restore Purchase” and call

public void OnInitialized(IStoreController controller, IExtensionProvider extensions)
    extensions.GetExtension<IAppleExtensions> ().RestoreTransactions (result => {
        if (result) {
            // This does not mean anything was restored,
            // merely that the restoration process succeeded.
        } else {
            // Restoration failed.

Is that it ?

Pretty much.

You only need to include this if you have non-consumable items as an IAP though (setup in iTunes Connect).

You’ll also probably want to take some action in your UI / save data if it’s not already handled to reflect the fact that some items may now be restored.