We use cookies on this site to enhance your user experience

MarketplaceService

MarketplaceService

A service that is responsible for in-game transactions, item information and ownership. All of the current financial rules of Roblox apply to in-game sales. At present if you are a member of builders club you will earn 70% of the total cost of the transaction, and 10% of affiliate gear sales. If you are not a member of builders club you will only earn 10% of the total cost of the transaction.


Functions

Name Type Description
Instance

Returns a Pages object which contains information for all of the current game’s developer products.

Dictionary

Returns the product information of an asset using its assetId.

bool

Returns whether the given player has the given asset.

void

Used to prompt a user to purchase a game pass with the given assetId.

void

Used to prompt a user to purchase a product with the given product id.

void

Used to prompt a user to purchase an item with the given assetId.

void

Prompts a third-party purchase.

bool

Returns true if the player with the specified userId, owns the game pass with the specified gamePassId.

Inherited from Instance

ClearAllChildren Clone Destroy FindFirstAncestor FindFirstAncestorOfClass FindFirstAncestorWhichIsA FindFirstChild FindFirstChildOfClass FindFirstChildWhichIsA GetChildren GetDebugId GetDescendants GetFullName GetPropertyChangedSignal IsA IsAncestorOf IsDescendantOf WaitForChild

Events

Name Type Description

Fires when a gamepass purchase is finished.

Fires when a purchase is either denied or accepted.

Fires when a third-party purchase has been completed.

Inherited from Instance

AncestryChanged Changed ChildAdded ChildRemoved DescendantAdded DescendantRemoving

Callback

Name Type Description

A callback to process receipts of product purchases.