Restore Unity IAP

Hi guys,
I am little confused about restoring Unity IAP though code. I followed this document. As previously I was using Cross platform native plugin. They return identifier of restoring item. I compare them and update my local data as well as game. Now In this case I am very much confused because the callback only return bool.

Should I directly update my local storage? Or Should I call purchase item for each ID? I don’t know what to do. Can you guys help me to sort this issue?

Basically you’ll want to process Restore exactly the same way as the original purchase, there should be nothing else you need to do. During Restore, ProcessPurchase is fired for each item restored, just as if the user originally purchased them. I would recommend starting with the Sample IAP project here Unity Services - Unity Discussions There is more information here Unity - Manual: Restoring Transactions and Unity - Manual: Configuring for Google Play Store

Thanks for your answer. I will look them up.