Difference between revisions of "Event.PURCHASE STATE CHANGE"
Line 3: | Line 3: | ||
'''Value:''' purchaseStateChange<br/> | '''Value:''' purchaseStateChange<br/> | ||
=== Description === | === Description === | ||
− | 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) purchase state<br/> | + | '''purchaseState''': (string) <translate>purchase state</translate><br/> |
− | '''productId''': (string) your assigned product id<br/> | + | '''productId''': (string) <translate>your assigned product id</translate><br/> |
− | '''notificationId''': (string) id of notification, that you need to confirm<br/> | + | '''notificationId''': (string) <translate>id of notification, that you need to confirm</translate><br/> |
− | '''purchaseTime''': (string) time when purchase was made<br/> | + | '''purchaseTime''': (string) <translate>time when purchase was made</translate><br/> |
− | '''developerPayload''': (string) A developer-specified string that can be specified when you make a purchase request.<br/> | + | '''developerPayload''': (string) <translate>A developer-specified string that can be specified when you make a purchase request.</translate><br/> |
Revision as of 13:34, 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.