I am trying to put a game pass button in my game but every time I try to purchase the product it states “This item is currently not for sale”
I have tried other scripts, But none of them worked.
local productId = 8865207
local player = game.Players.LocalPlayer
script.Parent.MouseButton1Click:connect(function()
game:GetService("MarketplaceService"):PromptPurchase(player, productId)
end```