Every time I try to test a starter pack as a gamepass item in studio the prompt window comes down and says "purchase failed because something went wrong. Please try again later"
local MarketplaceService = game:GetService("MarketplaceService")
local Button = script.Parent
local id = (I have this I'm not sure if I should put it here)
local player = game.Players.LocalPlayer
Button.MouseButton1Click:Connect(function()
MarketplaceService:PromptGamePassPurchase(player, id)
end)
I suppose there is a small chance it could be studio because it is saying to try again later, but I figure it's my code or something missing from it.

1 comment
Unrelated?