Gamepass Issue (Made one gamepass, but prompt to another)

So basically i made a Gamepass which will be used for a Limited time Bundle Sale for my game around 3 days ago. Since then whenever i go to buy the gamepass (in order to test if its working or not), i always get prompted to another gamepass:

But ideally its not the gamepass which i put in the script. The original gamepass name is “Prototype Bundle” and its price is 159 robux:

I even made another gamepass, yet the same issue everytime. Can anyone help me out with the issue?

I would recommend providing the code that is being problematic (in this case, the code that prompts the purchase) in your post, to better enable someone to assist. Regardless, I’ve still identified your issue from testing with the ID shown in the image:

When you are trying to prompt the player to purchase the gamepass, you are (likely) calling PromptProductPurchase (which is used to prompt a developer product purchase) when you should be calling PromptGamePassPurchase (which is used to prompt a Gamepass purchase). From testing, switching to PromptGamePassPurchase gets the correct purchase to appear.

These are all the script and the RemoteFunction which handles this system. Which script shall i send?

Whichever one is prompting the purchase, although don’t believe I need the code anymore as I believe I already identified the issue (which is outlined in the second half of my initial reply).

ohh yea right.. Changed it and it works now!! Tysmm

No problem!
Make sure to mark the relevant reply as the solution, so others can know that your issue is resolved!

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.