• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

UWP How do i check what IAPs a user has bought outside of the app?

E

Estragon Helmer

Guest
If a player buys an IAP directly from the Windows Store, rather than from WITHIN the app, how do I then tell the app to unlock that IAP?

In this: http://www.yoyogames.com/blog/74 (IAP basics) it says:
"On all marketplaces you can ask the store to return a list of the durable products the player has previously bought,"​
But what code actually does that?

My IAP is a level pack, and is simply hidden behind a button that either shows a padlock and does nothing, or shows the button and goes to the level selection room.

How do I get that object to check if the IAP has been bought previously, so it unlocks when it's created, if the IAP has been bought?
 
Last edited by a moderator:
Top