Where to store In app purchase info?

Hi

I am wondering if this is right forum to ask about in app purchase related question. I am new to unity and in app purchase. I am using unity engine to develop app. I have used unity in app purchase. I am wondering where to store successful purchase info. Currently, if purchase is successful then I am storing “successful purchased” info in Playerprefs.

But for any reason, user of my app formats his / her cellphone then the playerprefs will be lost. So I guess storing this info in playerprefs is not a good option. I also guess there must be best option to store successful purchase info.

Please note: When user purchases the app, user can access full version of my app. Full version includes all the benefits available in the app.

Hope you understand my question.

Thanks.

On iOS you can make an IAP item be non-consumable (setup in iTunes Connect). Then you can always query Apple and determine if the player already purchased it.

My app is available at google play store. So the way is to query google play store whether user has purchased this app or not! Okay thanks for the guide.