Game passes not working in studio!

Major bug!

None of my game passes are working in studio, when I test purchase them, it doesn’t do anything but it’s all coded!

3 Likes

Please provide your code so we can assist you

1 Like

I’ve had the same issue where I couldn’t buy any gamepasses in my game (from studio).
Edit: For me it works in-game but not in studio.

1 Like

They’re all broken, If I were to provide you with code, it would be quite a bit.
image

1 Like

We need the bit of code in regards to the purchasing/processing of the gamepasses, not the gamepass list

it might be that you cant buy dev products in studio… i don’t know

Can you tell me a bit more? What didn’t work in studio, all the passes?

Unfortunately, this is how gamepasses work. Studio doesn’t fire anything for gamepass purchases in studio.

What I do to combat this is just store all the gamepass info and whether a player owns them on join, and then update on purchase

Oh, if you have a ProcessReceipt function none of the gamepasses/products will ever work unless you’re playing the main game. (for me at least)

Ah, I see. So I’m assuming that its normal for it to be like this in studio?

EDIT: Same for dev products? Because it works in other games that I’ve created.

Yeah you should be fine as long as you wrote everything correctly. If you have some spare robux, you could try setting the price of one of the gamepasses to 1 and test buy it in-game.

Ok. Cheers!

Will test it out now.

1 Like

A problem.
image

I take it this is in-game, I’m not sure why it would error. Could you please show me the ProcessReceipt script?

This?

1 Like

Yeah, so a question did that popup happen after you bought it or when you clicked buy?

When I bought it. Not when I clicked buy.

Alright, try put this:

return Enum.ProductPurchaseDecision.PurchaseGranted

under each purchase. For example on the case product put it under:

Remote:FireClient(user, createInfo, Error)

and same goes for all other products.

Will try now, thank you.

(charrs_

1 Like