PcoWSkbVqDnWTu_dm2ix
Collapse Sidebar

PromptPremiumPurchaseFinished

This event fires when the Premium purchase modal closes, specifically when the player presses “Cancel” at the prompt, “OK” at the error message, or after the payment UI closes.

To learn more about and incorporating Premium into your game, and monetizing your game with the Premium Payouts system, take a look at this article.

See also

  • MarketplaceService/PromptPremiumPurchase, used to prompt a user to purchase Premium
  • Players/PlayerMembershipChanged, fires when the game server recognizes that a player’s membership has changed

Parameters

Name Type Default Description

The player who finished the purchase


Code Samples


Handling Premium In-Game Purchases

The function in the code sample runs immediately after the Premium purchase process has been completed.