FBInstant.payments: Difference between revisions

From GiderosMobile
No edit summary
No edit summary
Line 19: Line 19:
=== <translate>Constants</translate> ===
=== <translate>Constants</translate> ===
|}
|}
{{GIDEROS IMPORTANT LINKS}}

Revision as of 21:30, 11 February 2020


Supported platforms:
Available since: Gideros 2018.3

Description


Contains functions and properties related to payments and purchases of game products.

Methods

FBInstant.payments.consumePurchaseAsync Consumes a specific purchase belonging to the current player.
FBInstant.payments.getCatalogAsync Fetches the game's product catalog.
FBInstant.payments.getPurchasesAsync Fetches all of the player's unconsumed purchases.
FBInstant.payments.onReady Sets a callback to be triggered when Payments operations are available.
FBInstant.payments.purchaseAsync Begins the purchase flow for a specific product.

Events

Constants