I am making developer products for my game but the prompt keeps saying "Item is not currently for sale." I may be missing something obvious or maybe I typed something wrong? Do I need to add the item to the store in roblox as well? I'm new to dev products, any help is appreciated!
local MarketplaceService = game:GetService("MarketplaceService") local Button = script.Parent local Players = game:GetService("Players") local id = XXXXX Button.MouseButton1Click:Connect(function() local player = Players.LocalPlayer MarketplaceService:PromptPurchase(player, id) end)
This gets the prompt to pop up, but again, the prompt just says the item isn't currently for sale.
Like I said in the comment use PromptGamePassPurchase. Read more about it here: