Okay, so I made a donation UI, but after they buy the product, how do I thank players via a GUI after they bought the developer product?
If you know how, please tell me. I am using this script to make the purchase prompt pop up on click.
local productId = 1231980771 local player = game.Players.LocalPlayer script.Parent.MouseButton1Click:connect(function() Game:GetService("MarketplaceService"):PromptProductPurchase(player, productId) end)
This should help: [I dont do dev products that much, so idk if it will work. Pls say if it does not]
local productID = 1231980771 local MarketplaceService = game:GetService("MarketplaceService") local productInfo = MarketplaceService:GetProductInfo(productID, Enum.InfoType.Product) local function processReceipt(receiptInfo) -- Enable gui here end MarketPlaceService.ProcessReceipt = procesReceipt
Here are some helpfull links I have found: link 1 link 2 link 3
https://developer.roblox.com/en-us/articles/Developer-Products-In-Game-Purchases This might help ya