Difference between revisions of "Event.PURCHASE STATE CHANGE"
Line 2: | Line 2: | ||
'''<translate>Available since</translate>:''' Gideros 2012.09<br/> | '''<translate>Available since</translate>:''' Gideros 2012.09<br/> | ||
'''<translate>Value</translate>:''' purchaseStateChange<br/> | '''<translate>Value</translate>:''' purchaseStateChange<br/> | ||
+ | '''<translate>Defined by</translate>:''' [[Special:MyLanguage/GoogleBilling|GoogleBilling]]<br/> | ||
=== <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 | |
− | + | `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</translate> | |
=== <translate>Parameters</translate> === | === <translate>Parameters</translate> === | ||
'''purchaseState''': (string) <translate>purchase state</translate><br/> | '''purchaseState''': (string) <translate>purchase state</translate><br/> |
Revision as of 09:29, 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.