I made a GUI to prompt a purchase but when I put a certain gamepass ID it prompts a shirt.
What is the problem here?
the gamepass I want it to purchase is this 5904682
and somehow theres a shirt with the same ID.
I made a GUI to prompt a purchase but when I put a certain gamepass ID it prompts a shirt.
What is the problem here?
the gamepass I want it to purchase is this 5904682
and somehow theres a shirt with the same ID.
What purchase method are you using?
You should be using
game:GetService("MarketplaceService"):PromptGamePassPurchase(player, id)
PromptPurchase() is used for the prompting of catalog items and models exclusively.
In the future, you should always use PromptProductPurchase() for Developer Products and PromptGamePassPurchase() for Game Passes.
the correct parameters for these functions can be found here
Ok, I wasnt using it.
Take a look at this post.
Don’t forget to mark the correct answer as the solution so people scrolling through know this thread has been solved.