Difference between revisions of "Event.PURCHASE STATE CHANGE"
Line 4: | Line 4: | ||
=== Description === | === Description === | ||
<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> | |
=== Parameters === | === Parameters === | ||
'''purchaseState''': (string) <translate>purchase state</translate><br/> | '''purchaseState''': (string) <translate>purchase state</translate><br/> |
Revision as of 13:55, 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.