Unity IAP - Restore Purchase

Hi
I have made a game using Playmaker, and only thing missing from releasing it is In-App Purchases (IAP). I found the Codeless IAP very useful and simple.

However Apple require you to have an Restore Purchasing button.

I have two global arrays to manage my non-consumable shop inventory, one for productID called CarIAPProductID_Array. And one Array for the respective bool for unlocked called CarLockedBool_Array.

I want to have a script for a restore button that gets the ProductID, check if the ProductID exists in the CarIAPProductID_Array and at what position. And then set the bool true at the same array position for the CarLockedBool_Array.

I would be extremely grateful if someone can help me out on this. as it’s the only thing missing to getting my game out and released.

Hi, if anyone interested to earn a buck or two helping me out, here is the job invite:

https://connect.unity.com/jobs/588e5784090915002a61e31f

Here’s one solution…