FBInstant.payments.purchaseAsync

From GiderosMobile
Revision as of 10:18, 23 August 2018 by Hgy29 (talk | contribs)

Available since: Gideros 2018.3

Description


Begins the purchase flow for a specific product.

 FBInstant.payments.purchaseAsync(purchaseConfig,callback)

'purchaseConfig: (table) The purchase's configuration details. '
'callback: (function) A function that will be called with two arguments: True when the product is successfully purchased by the player. Otherwise, it rejects if the operation failed, and an error code if the function failed. '