Aprender
Clase de motor
CommerceService
No creable
Servicio

*Este contenido se traduce usando la IA (Beta) y puede contener errores. Para ver esta página en inglés, haz clic en aquí.



Referencia API
Métodos
GetCommerceProductInfoAsync
Proporciona
Capacidades: Monetization
CommerceService:GetCommerceProductInfoAsync(commerceProductId:string):Dictionary
Parámetros
commerceProductId:string
Devuelve

PromptCommerceProductPurchase
Capacidades: Monetization
CommerceService:PromptCommerceProductPurchase(
user:Player, commerceProductId:string
):()
Parámetros
user:Player
commerceProductId:string
Devuelve
()

PromptRealWorldCommerceBrowser
Capacidades: Monetization
CommerceService:PromptRealWorldCommerceBrowser(
player:Player, url:string
):()
Parámetros
player:Player
url:string
Devuelve
()

UserEligibleForRealWorldCommerceAsync
Proporciona
Capacidades: Monetization
CommerceService:UserEligibleForRealWorldCommerceAsync():boolean
Devuelve

Eventos
PromptCommerceProductPurchaseFinished
Capacidades: Monetization
CommerceService.PromptCommerceProductPurchaseFinished(
user:Player, productId:string
Parámetros
user:Player
productId:string

©2026 Roblox Corporation. Roblox, el logotipo de Roblox y "Powering Imagination" son algunas de nuestras marcas registradas y no registradas en los Estados Unidos y otros países.