Gamepass gui saying "This item is not for sale" when clicked?

I am making it so if you click a gui button you get a gamepass prompt, but instead it says gamepass not for sale even though it is.
Script

local productId = 9689891
local player = game.Players.LocalPlayer

script.Parent.MouseButton1Click:connect(function()
	game:GetService("MarketplaceService"):PromptPurchase(player, productId)
end)

PromptGamePassPurchase, try that

2 Likes