Dev Product Wont Work

I have this script in a Text button to prompt a dev product purchase but it wont work. HELP PLEASE!

local Player = game:GetService('Players').LocalPlayer
local MarketplaceService = game:GetService('MarketplaceService')

script.Parent.MouseButton1Click:Connect(function()
	MarketplaceService:PromptProductPurchase(Player,2284063634)
end)

It says something failed

Something is wrong with your developer product. Try making another developer product and use it in the place of your old one.

local ID = New ID -- New Product ID Goes Here
local Player = game.Players.LocalPlayer

script.Parent.MouseButton1Click:connect(function()
	game:GetService("MarketplaceService"):PromptProductPurchase(Player, ID)
end)
1 Like

ya i found what was wrong i used the wrong number since there is 2 in the url

1 Like

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