NOTE: I made a mistake because of my device’s time and thus this post is inaccurate.
However, do note that if you are using a DataStore inside of a process receipt function and you’re saving the time of the purchase, Roblox will automatically set the purchase time to the current UTC time when player joins the game.
Hi everyone.
In my game there is a DataStore that saves and shows the user’s purchase history of game passes and developer products in-game. The player can access this using some custom UI I made.
Is there a way to see if a player bought a dev product out of the game and then have have it added to their DataStore when they join and see it in their purchase history.
The purchase history DataStore is updated in the ProcessReceipt
callback/function yet it only seems to work in-game. I bought a 50,000 Coins Dev Product out side of the game and received my 50,000 Coins. However as I mentioned, I didn’t get an updated purchase history DataStore. This is weird because the DataStore incrementation happens in the same function that the purchase history is updated in.
Any solutions/tips?
Thanks