Is it possible to do a refund system for dev products

So as most scripting developers know, Process receipt is the method for developer products. However, experienced developers know how the return system works. So, I was thinking about making a refund system for developer products just in case the buyer decides they don’t want the item anymore. Now if you do return Enum.ProductPurchaseDecision.NotProcessedYet it will keep repeating until you return Enum.ProductPurchaseDecision.PurchaseGranted or the pending robux length is over (3 days i believe)

So, I do have a question about Process receipt, Will the function keep running even if the server has been closed or there are 0 players playing? I am wondering this because how I would go about refunding dev products would be by returning not processed yet until 2 days has been reached (or if the item has been refunded keep going until the length is over)

Now if the function doesnt keep running, How would you all go about making a refund system?

1 Like

So pretty much those Developers such as the ones doing refunds there’s really no way to do it through a script. The user has two options. 1) Go to Roblox and issue a refund request I’m pretty sure this can only be done by the user who has purchased the product or 2) The more sketchy way, pay the user using group pay-outs or some sort of payment method (other than USD). In other words it’s really gotta be done my the Roblox admins at support in order for this sort of thing to even remotely come close to happening. Other than that, there really isn’t any other refund method except for a sketchy group funds sort of WebHook script. Which I’d stay away from at all costs cause not only do you loose money or have to give them less from what they paid and Roblox will see it and probably think you’re doing give-aways. Over all you can’t really do it except for support, I hope this helped.

1 Like

Not sure though, if you look at the roblox documentation for it the function keeps repeating until the purchase was granted. I am wondering if it is possible to do it through that though.

Just return the proper ProductPurchaseDecision depending on if the purchase is still valid at the time of it being bought. If NotProcessedYet is returned, it will retry for about 3 days then return the user their robux if the purchase failed.

1 Like

I know this but, will it keep repeating even if the server is closed or shutdown or if everyone stops playing.