Difference between revisions of "FBInstant.payments"

From GiderosMobile
Line 2: Line 2:
 
'''Supported platforms:''' html5<br/>
 
'''Supported platforms:''' html5<br/>
 
'''Available since:''' Gideros 2018.3<br/>
 
'''Available since:''' Gideros 2018.3<br/>
=== Description ===
+
=== <translate>Description</translate> ===
 
<translate><br />
 
<translate><br />
 
Contains functions and properties related to payments and purchases of game products.<br /></translate>
 
Contains functions and properties related to payments and purchases of game products.<br /></translate>
 
{|-
 
{|-
 
| style="width: 50%; vertical-align:top;"|
 
| style="width: 50%; vertical-align:top;"|
=== Methods ===
+
=== <translate>Methods</translate> ===
 
[[Special:MyLanguage/FBInstant.payments.consumePurchaseAsync|FBInstant.payments.consumePurchaseAsync]] ''<translate>Consumes a specific purchase belonging to the current player.</translate>''<br/>
 
[[Special:MyLanguage/FBInstant.payments.consumePurchaseAsync|FBInstant.payments.consumePurchaseAsync]] ''<translate>Consumes a specific purchase belonging to the current player.</translate>''<br/>
 
[[Special:MyLanguage/FBInstant.payments.getCatalogAsync|FBInstant.payments.getCatalogAsync]] ''<translate>Fetches the game's product catalog.</translate>''<br/>
 
[[Special:MyLanguage/FBInstant.payments.getCatalogAsync|FBInstant.payments.getCatalogAsync]] ''<translate>Fetches the game's product catalog.</translate>''<br/>
Line 14: Line 14:
 
[[Special:MyLanguage/FBInstant.payments.purchaseAsync|FBInstant.payments.purchaseAsync]] ''<translate>Begins the purchase flow for a specific product.</translate>''<br/>
 
[[Special:MyLanguage/FBInstant.payments.purchaseAsync|FBInstant.payments.purchaseAsync]] ''<translate>Begins the purchase flow for a specific product.</translate>''<br/>
 
| style="width: 50%; vertical-align:top;"|
 
| style="width: 50%; vertical-align:top;"|
=== Events ===
+
=== <translate>Events</translate> ===
=== Constants ===
+
=== <translate>Constants</translate> ===
 
|}
 
|}

Revision as of 07:28, 24 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