Hello my donate gui script isnt working

So my script is supposed to Promt a product purchase its a donate gui

local id = 1148875798
script.Parent.MouseButton1Click:Connect(function()
game:GetService(“MarketplaceService”):PromtProductPurchase(game.Players.LocalPlayer,id)
end)

i’m not getting a error i press then button and nothing happens

Please be more specific about the error of the code.

there more specific 30 letters

Is it in a localscript or a script?

What are you talking about? I asked for the errors that shows up inside the output tab.

local script in the Gui 30 letters

There is a typo it should be :PromptProductPurchase instead of :PromtProductPurchase

2 Likes

thanks for the help i really appreciate it

1 Like

wait i dont even see a difference

Your code used PromtProductPurchase (Also mark his answer as solution if it helped)