RequestPromptPurchase
Request the server prompt's the user to purchase the developer product, or for a free product this will purchase if allowed.
InvokeServer
('RequestPromptPurchase'
, ProductId)
Request the server prompt's the user to purchase the developer product, or for a free product this will purchase if allowed. Returns a success boolean and optionally an alert message. If success
is true
and the alert message is nil
, the user was prompted to purchase the developer product. If success
is true
and the alert message is present, the alert message is the new license ID.
Parameters
Field
Type
Description
ProductId
string
the id of the product to purchase
Example Script
Last updated