Hello, I want to create a donation script and GUI. I just watched a tutorial on developer products.
According to the tutorial, you have to make a receipt processing function using receiptInfo. Do I have to do this if the developer product doesn’t do anything?
Not like a receipt receipt, like receiptInfo. This. Sorry if it was unclear. In the tutorial the person did it, but the developer product was an actual tool, not a donation. I was wondering if I had to use this with donations.
If your action does not give anything, then no. The receipt is used to make sure the player gets what they buy if the game crashes or they level before the order is processed. Nor do you have to actually confirm that the in-game items have been processed to Roblox but it’s recommended since it will be an open purchase forever.
By running this code on server side after promting the donation button click client side you can close the purchase letting roblox know that whatever you needed to do for the developer product has been finished
Enum.ProductPurchaseDecision.PurchaseGranted (more info on how to do this is in the same link here Link
Thanks! I decided to make it do a gui across the screen that thanks you for the donation, but thanks anyway! As a rule of thumb I’ll confirm that the purchase succeeded in the future.