Events
Name | Parameters | Supported Platforms | Description |
---|---|---|---|
PRODUCT_PURCHASED |
| ANDROID | Triggered for a new one-time product purchase (single purchase). NOTE: A purchase is considered new, if the receipt was uploaded within 10 minutes of purchasing. |
PRODUCT_CANCELLED |
| ANDROID | Triggered when a one-time product purchase (single purchase) was cancelled, e.g. by customer support / the developer. |
SUBSCRIPTION_PURCHASED |
| ANDROID | Triggered for new subscription purchases. NOTE: A purchase is considered new, if the receipt was uploaded within 10 minutes of purchasing. |
SUBSCRIPTION_UPGRADED |
| ANDROID | The subscripton has been upgraded by the user. For iOS: The current subscription will end immediately and then the new one will start. For Android: A subscription has been changed to a different product and the new subscription has a higher price. The start of the new subscription depends on the selected proration mode during purchase. |
SUBSCRIPTION_DOWNGRADED |
| ANDROID | The subscripton has been downgraded by the user. For iOS: The current subscription will end normally and then the new one will start. For Android: A subscription has been changed to a different product and the new subscription has a lower price. The start of the new subscription depends on the selected proration mode during purchase. |
SUBSCRIPTION_RESUBSCRIBED |
| ANDROID | A previously expired subscription has ben restarted/resubscribed by the user. |
SUBSCRIPTION_RESUBSCRIBED_OTHER |
| IOS | A subscription has expired; user resubscribed to another SKU (upgrade or downgrade) |
SUBSCRIPTION_CANCELLED |
| ANDROID | Triggered when the renewal of a subscription has been cancelled by the user. The subscription will continue until the expiration date is reached. |
SUBSCRIPTION_CANCELLED_INVOLUNTARY |
| ANDROID | A subscription has been cancelled after it failed to renew the subscription due to billing problems. |
SUBSCRIPTION_RENEWED |
| ANDROID | The subscription has been renewed for another period. |
SUBSCRIPTION_RENEWAL_FAILED |
| ANDROID | The subscription could not be renewed due to billing issues. It is still active and the system will retry to renew it. When it succeeds it will result in a SUBSCRIPTION_RECOVERED event or if it fails in a SUBSCRIPTION_CANCELLED_INVOLUNTARY event, |
SUBSCRIPTION_RECOVERED |
| ANDROID | A subscription that previously failed to renew has been renewed / recovered. |
SUBSCRIPTION_EXPIRED |
| ANDROID | The subscription reached its expiration date and is now considered expired. |
Event format
{ "version": "1.0", "type": "SUBSCRIPTION_CANCELED", "properties": { "deviceId": "1122334455", "productId": "com.example.product1" }, "eventTimeMillis": 11223344L }