Forum Discussion
flavobarth
2 years agoExplorer
API to determine if user has purchased game
Is there an API method to determine if the Meta user has already purchased the game? We do have API calls to determine if the user has purchased Addons (IAP), but I have not found any method regarding the game itself.
We are changing our game price to free, and want users that have previously purchased it to have special benefits ingame.
3 Replies
Replies have been turned off for this discussion
- RehesProtege
Hi,
It depends on the specific platform or service that you are using. For example, if your game is distributed through Steam, you can use the Steamworks Web API to check if a user owns a specific game. You can also use the Steamworks SDK to check if a user has purchased DLC or in-game items. Similarly, if your game is distributed through Apple's App Store or Google Play Store, you can use the StoreKit or Google Play Billing APIs to check if a user has previously made purchases. I hope it helps.
- flavobarthExplorer
Hello, Rehes.
Our game is actually distributed through the Meta Oculus Store itself. Specifically through App Lab.
- RehesProtege
If your game is distributed through the Oculus Store, you can use the Oculus Platform SDK to check if a user has purchased your game. You can use the entitlement API to determine if a user has already purchased your game or if they are eligible to purchase it. The entitlement API provides an endpoint called /v1/me/entitlements that returns a list of the user's entitlements, including any games or apps they have purchased. This is how we work at Triotech Systems.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 3 years ago
- 8 months ago
- 7 months ago
- 4 years agoAnonymous