MarketplaceService.PromptPurchaseFinished not firing on server after client transaction?

I’m trying to setup robux purchases for my game, but I’m running into a problem. The client initiates the purchase themselves by clicking on a button, but after confirming the purchase nothing happens on the server. I also already tried prompting the client from the server to see if that would fix it but I must be doing something totally wrong.

-- On the client:
option1.MouseButton1Click:Connect(function()
	MarketplaceService:PromptProductPurchase(Player, promptID1)
end)
-- Client part works just fine, the purchase pops up like it should, but when I do click purchase nothing is happening on the server.


-- Server code:
MarketplaceService.PromptPurchaseFinished:Connect(function(player, id, purchased)
	print(player,id,purchased)
end)
-- Nothing happens :(
1 Like

Wrong event, PromptPurchaseFinished is used for items in the Roblox catalog, like UGC or shirts and pants. For developer products you should use PromptProductPurchaseFinished.

1 Like

Thanks I even tried a few of the other functions just not that one lol

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.