I am working on a script for my other account's cafe and I need some help. This is what I have so far:
local Market = game:GetService("MarketPlaceService")
local id = 19932057 -- This is a developer product ID.
function hi()
Market:PromptProductPurchase(game.Players.LocalPlayer, id)
end
script.Parent.Button.MouseButton1Down:connect(hi)
Its not even giving me a prompt? What do I do?

6 comments
This didnt work.
Its a Dev. Product, so it isnt an actual "item". The actual id leads to a place.
Dev Products aren't shown on the website. Only In-Game. Make sure you're testing in play mode.
I am, its not working... go to JOJObuddy011, join his active place and try the buy cash button. It dosent work.
Did you put the script inside of the TextButton? Made sure it's a LocalScript?
This actually worked, I didnt review the script as I didnt have the script in the button in the first place! Thanks!