Dev product for currency

Returning Enum.ProductPurchaseDecision.PurchaseGranted is the correct way to go about marking a developer product purchase which was successfully handled.

DataStores are useful for logging sold developer products but aren’t required.

3 Likes

What should you do when datastores are down and someone purchased the dev product?

HttpService and an external database could work, in any case the DataStoreService is rarely down & when it is, Roblox is usually down itself.

I played a tycoon and it was down but roblox still worked.
What if you do not want to spend money on a database?

When was that? I can’t seem to remember any time in the recent past where that happened, could it potentially of been the fault of the game rather than DSS as a whole?

There are many free options for external databases as well. For example, Cloud Firestore is free and very beginner friendly, as long as you don’t go over 100,000 reads and 50,000 writes a day. If you’re using external databases in an efficient manner though, if you’re still getting over that many reads and writes daily, you’ll probably be making enough money to be able to dedicate some of that to an external, especially if you’re using this for dev product purchases.

4 days ago or so. I never heard of firestore.
I might check it out.