# CommerceService(ロブロックス クラス) > Supports real-world purchases that you can bundle with digital benefits. - URL:https://roblox.minecraft-okinawa.com/reference/classes/CommerceService/ - 公式:https://create.roblox.com/docs/reference/engine/classes/CommerceService - 受け継いでいるクラス:Instance ## メソッド - `CommerceService:GetCommerceProductInfoAsync(commerceProductId: string): Dictionary`:Retrieves information about the commerce products you are selling in experience. - `CommerceService:PromptCommerceProductPurchase(user: Player, commerceProductId: string): ()`:Prompts a user to purchase a commerce product using the provided commerceProductId. Opens a webview that guides the user through the purchasing flow. - `CommerceService:PromptRealWorldCommerceBrowser(player: Player, url: string): ()`:Legacy endpoint that opens an in-experience browser to a real-world commerce URL for the specified player; superseded by Class.CommerceService:PromptCommerceProductPurchase(). - `CommerceService:UserEligibleForRealWorldCommerceAsync(): boolean`:Legacy endpoint that returns whether the current user is eligible for real-world commerce; superseded by PolicyService. ## イベント - `CommerceService.PromptCommerceProductPurchaseFinished(user: Player, productId: string)`:Fires when commerce purchase webview has closed - not an indicator that a purchase was successful. 英語の説明とメンバー一覧:Roblox Creator Documentation(CC BY 4.0)。日本語の解説はこのサイト独自のものです。 執筆:鈴木孝昌(現役プロジェクトマネージャー/プログラミング講師)/運営:沖縄マイクラ部 プログラミングスクール「クロスウェーブ」(https://minecraft-okinawa.com/)