Difference between revisions of "FBInstant.payments"

From GiderosMobile
(Created page with "__NOTOC__ '''Supported platforms:''' <br/> '''Available since:''' Gideros 2018.3<br/> === Description === <br /> Contains functions and properties related to payments and purc...")
 
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
'''Supported platforms:''' <br/>
+
'''Supported platforms:''' html5<br/>
 
'''Available since:''' Gideros 2018.3<br/>
 
'''Available since:''' Gideros 2018.3<br/>
 
=== Description ===
 
=== Description ===
 
<br />
 
<br />
 
Contains functions and properties related to payments and purchases of game products.<br />
 
Contains functions and properties related to payments and purchases of game products.<br />
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 
{|-
 
{|-
 
| style="width: 50%;"|
 
| style="width: 50%;"|
 
=== Methods ===
 
=== Methods ===
 +
[[FBInstant.payments.consumePurchaseAsync]] - Consumes a specific purchase belonging to the current player.<br/>
 +
[[FBInstant.payments.getCatalogAsync]] - Fetches the game's product catalog.<br/>
 +
[[FBInstant.payments.getPurchasesAsync]] - Fetches all of the player's unconsumed purchases.<br/>
 +
[[FBInstant.payments.onReady]] - Sets a callback to be triggered when Payments operations are available.<br/>
 +
[[FBInstant.payments.purchaseAsync]] - Begins the purchase flow for a specific product.<br/>
 
| style="width: 50%;"|
 
| style="width: 50%;"|
 
=== Events ===
 
=== Events ===
 
=== Constants ===
 
=== Constants ===
 
|}
 
|}

Revision as of 08:56, 23 August 2018

Supported platforms: 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