Is there a way of checking if a player bought a Developer Product?

Hello, Developers!

I have a game which is going to get a revamp soon, and I was wondering if there is a way to check through a script if a player bought a Developer Product? We need this because our game has a lot of Developer Products and people would complain if their data is gone.

Thank you!

2 Likes

Unless you specifically saved the purchase in a DataStore, as far as I am aware you cannot. For long term things, you should be using Gamepasses.

5 Likes

Dev products are temporary so you can only check if they bought it in their current session and only at the time and not in the past

2 Likes

https://developer.roblox.com/articles/Developer-Products-In-Game-Purchases

Roblox itself does not record the purchase record of developer products by players. It’s your responsibility to track this, typically with data stores. See the ProcessReceipt reference for a code example which includes data store usage.

3 Likes