Work with Entitlements In-Game
Last updated
Last updated
When getting a single entitlement, you can use the Status field to check where the purchase is in it's current stage.
canceled means that the purchase was canceled either by the player or an issue was encountered.
pending means that the purchase is currently still being processed, at this time it would be smart to invoke the method again to check for updates. It would also be a good idea to limit number or rate of attempts to avoid spamming the function.
active means that the purcahse has completed.
Each entitlement in the response has multiple entries of information, such as Type, Store, and the Rewards and Items which were given to the player.