Difference between revisions of "Event.PURCHASE STATE CHANGE"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2012.09<br/> === Description === Dispatched when information about a transaction is received with these purchase states: `GoogleBillin...")
 
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 
'''Available since:''' Gideros 2012.09<br/>
 
'''Available since:''' Gideros 2012.09<br/>
 +
'''Value:''' purchaseStateChange<br/>
 
=== Description ===
 
=== Description ===
 
Dispatched when information about a transaction is received with these purchase states:
 
Dispatched when information about a transaction is received with these purchase states:
Line 7: Line 8:
 
`GoogleBilling.REFUNDED` indicates that item previously purchased was refunded, remove purchased item from users 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
 
`GoogleBilling.EXPIRED` indicates that item previously subscribed is expired, disable any subscription services
 +
=== Parameters ===
 +
'''purchaseState''': (string) purchase state<br/>
 +
'''productId''': (string) your assigned product id<br/>
 +
'''notificationId''': (string) id of notification, that you need to confirm<br/>
 +
'''purchaseTime''': (string) time when purchase was made<br/>
 +
'''developerPayload''': (string) A developer-specified string that can be specified when you make a purchase request.<br/>

Revision as of 10:45, 23 August 2018

Available since: Gideros 2012.09
Value: purchaseStateChange

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.