Difference between revisions of "FBInstant.payments"

From GiderosMobile
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 +
<languages />
 
<!-- GIDEROSOBJ:Payments -->
 
<!-- GIDEROSOBJ:Payments -->
 
'''<translate>Supported platforms</translate>:''' [[File:Platform html5.png]]<br/>
 
'''<translate>Supported platforms</translate>:''' [[File:Platform html5.png]]<br/>

Revision as of 09:58, 3 September 2018


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