What's the Logic for In App Purchases?

Just wondering what the best or recommended way to code for unlocked items when using in app purchases?

I’m not asking how to code for in app purchases, but rather, what the logic is after the user has bought something?

So, if the player bought something and the time is now unlocked, how do you code or that?

Do you use player prefs, or is there another way or a better way to go about this?

Thanks.

I would suggest you use Secured Playerprefs: Secured PlayerPrefs | Tools | Unity Asset Store

If you’re not interested in paying up, look at something like the answer to this question: Secure version of "Player.Prefs" - Unity Answers

I suggest posting this question on the SOOMLA forum as they are the experts in this, having made a widely popular IAP plugin: http://answers.soom.la/