Problem with MarketplaceService

I’m using this prompt script which I made for a developer product, it’s supposed to be 5 hours of in game premium time but it is saying that it’s a different product: Shirt Pennywise Pennywise Pennywise, that’s not what it is supposed to be, any assistance would be great! This is my code:

script.Parent.MouseButton1Click:Connect(function()

game:GetService("MarketplaceService"):PromptPurchase(game.Players.LocalPlayer, 1147917099)
end)
1 Like

This only works for Avatar Shop items, instead use PromptProductPurchase

game:GetService("MarketplaceService"):PromptProductPurchase(game.Players.LocalPlayer, 1147917099)
1 Like

Thank you for the help! Just how would I see if they purchased it so I can link it to a function?

Use this: