I don't understand why the purchase prompt isn't appearing in a roblox game, but in testing servers it does appear and works and i want to understand how i could make it so that it would appear or what I did wrong.

local MarketplaceService = game:GetService("MarketplaceService")
local Player      = game.Players.LocalPlayer
local Overlay     = script.Parent.Parent
local Menu        = Overlay.Menu
local CoinFrame   = Menu.CoinFrame
local Purchase1   = CoinFrame.Purchase1
local Purchase2   = CoinFrame.Purchase2
local Purchase3   = CoinFrame.Purchase3
local Purchase4   = CoinFrame.Purchase4
local Purchase5   = CoinFrame.Purchase5
local DataWarning = CoinFrame.Data
Purchase1.MouseButton1Click:connect(function()
game:GetService("MarketplaceService"):PromptProductPurchase(Player, 349843507)
end)

Purchase2.MouseButton1Click:connect(function()
game:GetService("MarketplaceService"):PromptProductPurchase(Player, 349843077)
end)

Purchase3.MouseButton1Click:connect(function()
game:GetService("MarketplaceService"):PromptProductPurchase(Player, 349844893)
end)

Purchase4.MouseButton1Click:connect(function()
game:GetService("MarketplaceService"):PromptProductPurchase(Player, 349845906)
end)

Purchase5.MouseButton1Click:connect(function()
game:GetService("MarketplaceService"):PromptProductPurchase(Player, 349846503)
end)