MarketplaceService:GetGamepassInfo()

As a Roblox developer it’s currently impossible to find out info like R$ price or description of a gamepass with the recent gamepass system.

This callback essentially is the same as :GetProductInfo() except only for gamepass Ids.

This functionality already exists:

local gamePassId = 2068240
local info = game:GetService("MarketplaceService"):GetProductInfo(gamePassId, Enum.InfoType.GamePass)
print(game:GetService("HttpService"):JSONEncode(info))

https://wiki.roblox.com/index.php?title=API:Class/MarketplaceService/GetProductInfo

6 Likes

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