Difference between revisions of "Event.PURCHASE STATE CHANGE"

From GiderosMobile
Line 5: Line 5:
 
=== <translate>Descriptio</translate>n ===
 
=== <translate>Descriptio</translate>n ===
 
<translate>Dispatched when information about a transaction is received with these purchase states:
 
<translate>Dispatched when information about a transaction is received with these purchase states:
`GoogleBilling.CANCELED` indicates that purchase was canceled
+
[[Special:MyLanguage/GoogleBilling.CANCELED|GoogleBilling.CANCELED]] indicates that purchase was canceled
`GoogleBilling.PURCHASED` indicates that item was purchased you can enable it in your app
+
[[Special:MyLanguage/GoogleBilling.PURCHASED|GoogleBilling.PURCHASED]] indicates that item was purchased you can enable it in your app
`GoogleBilling.REFUNDED` indicates that item previously purchased was refunded, remove purchased item from users app
+
[[Special:MyLanguage/GoogleBilling.REFUNDED|GoogleBilling.REFUNDED]] indicates that item previously purchased was refunded, remove purchased item from users app
`GoogleBilling.EXPIRED` indicates that item previously subscribed is expired, disable any subscription services</translate>
+
[[Special:MyLanguage/GoogleBilling.EXPIRED|GoogleBilling.EXPIRED]] indicates that item previously subscribed is expired, disable any subscription services</translate>
 
=== <translate>Parameters</translate> ===
 
=== <translate>Parameters</translate> ===
 
'''purchaseState''': (string) <translate>purchase state</translate><br/>
 
'''purchaseState''': (string) <translate>purchase state</translate><br/>

Revision as of 10:36, 24 August 2018

Available since: Gideros 2012.09
Value: purchaseStateChange
Defined by: GoogleBilling

Description

Dispatched when information about a transaction is received with these purchase states: GoogleBilling.CANCELED indicates that purchase was canceled GoogleBilling.PURCHASED indicates that item was purchased you can enable it in your app GoogleBilling.REFUNDED indicates that item previously purchased was refunded, remove purchased item from users app GoogleBilling.EXPIRED indicates that item previously subscribed is expired, disable any subscription services

Parameters

purchaseState: (string) purchase state
productId: (string) your assigned product id
notificationId: (string) id of notification, that you need to confirm
purchaseTime: (string) time when purchase was made
developerPayload: (string) A developer-specified string that can be specified when you make a purchase request.