[OUTDATED] Update on Game Passes

It broke mine, woke up early by chance and had to spend a few hours tweaking stuff until it worked. The scary part is I dont understand why or what I did. It’s just fixed. I used GetProductInfo on some gamepasses and it returned nil when before it worked fine.

edit: Apparently it was an issue at the time that was patched later by roblox.

My gamepasses are being displayed as Products, and I can click Buy Now multiple times (but the sale doesn’t actually go through)
image

This is the gamepass

and this is the line of code I’m using (with the new gamepass id)
MarketplaceService:PromptGamePassPurchase(player, 2786938)

Can you post the IDs you are passing in? These are the old game pass IDs right, you haven’t changed anything about your game passes recently?

local getGamepassesInfo = game:GetService("MarketplaceService"):GetProductInfo(935075829, Enum.InfoType.Asset)
warn("getGamepassesInfo", getGamepassesInfo)
warn(getGamepassesInfo.PriceInRobux)

I changed nothing, the game just broke overnight. That ID is to an existing gamepass

edit: I changed the preformatted text ID

For now, change back to using asset ID 911390637.

Due to some issues with the Lua APIs, the Game Pass change has been temporarily rolled back. This means that until we can fix the Lua APIs and re-enable the change to Game Passes, you should continue using Asset IDs for Game Passes as you’ve been doing for years. We will keep you updated about when we will be re-enabling the Game Pass change.

1 Like

I got this api working in game, it just didn’t work in studio.

Also, I set up my gamepasses last night before the update was reverted so it’s just a bit tedious to go back and edit the script once again.

does this update affect group games in the terms of where the robux goes?

because I have a game published under a group, and several gamepasses have sold since this update, and they appear under my account’s sales and pending sales?

edit: might be fixed, the gamepass shows sales (from different users) both dated today in my sales, and under the group’s line summary and clicking the hyperlink of the name in my sales brings me to the game, where the hyperlink in the group’s line summary brings me tot he actual product

Havent done game-passes for my game yet, good to know this before i started.

This is really bugging me, I made a game-pass the night Roblox added the update.

Now that they reverted it, I cant delete the pass, it just states
Error 400 Bad Request

The link of the gamepass is: Duck pass - Roblox

2 Likes

I’d also like some confirmation on this, I’ve had reports in the past about players not getting their items because they’ve rejoined the same server before

I’m aware this was reverted but any gamepass I upload now requires me to use PlayerHasPass otherwise it returns false in every case. This is an annoyance given that it isn’t a gamepass ID and it caches the results using the ‘new’ API.

Edit: NVM, this only happens in studio.

1 Like

I’m having some issues with this such as it detecting that I own my own gamepass even when it’s deleted from my inventory. This is really annoying for testing…

I don’t see how I can get the Gamepass Id from the Asset Id. I pasted the link with my Asset Id and the urls are exactly the same. I’m confused…? Any help?

Looks like you missed the update (and the big text at the start of the post).

Getting the new ID’s in this system is nigh impossible and confusing as hell
What the hell kind of tutorial is:

Any time you go to the /gamepass/ directory it redirects you to the library asset link

1 Like

I don’t think this is enabled yet.

What should I use for the time being?

Use the regular IDs and PromptPurchase.

For checking the gamepass I mean