FBInstant.payments: Difference between revisions

From GiderosMobile
No edit summary
No edit summary
Line 1: Line 1:
__NOTOC__
__NOTOC__
'''Supported platforms:''' html5<br/>
'''<translate>Supported platforms</translate>:''' [[File:Platform html5]]<br/>
'''Available since:''' Gideros 2018.3<br/>
'''<translate>Available since</translate>:''' Gideros 2018.3<br/>
=== <translate>Description</translate> ===
=== <translate>Description</translate> ===
<translate><br />
<translate><br />

Revision as of 08:28, 24 August 2018

Supported platforms: File:Platform html5
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