See my screenshots above - the subscription is cancelled. This screenshot is from a user who wrongly did not get demoted (also the webhook shows success)
Full event:
customer.subscription.deleted
10/4/19, 7:24:15 PM
ID
evt_1FPuVnJQmekOBFQg59P2ugWK
Date
10/4/19, 7:24:15 PM
Type
customer.subscription.deleted
Source
Automatic
{
“object”: {
“id”: “sub_6wL0AxFq3zAwIQ”,
“object”: “subscription”,
“application_fee_percent”: null,
“billing”: “charge_automatically”,
“billing_cycle_anchor”: 1473178711,
“billing_thresholds”: null,
“cancel_at”: null,
“cancel_at_period_end”: false,
“canceled_at”: 1570209854,
“collection_method”: “charge_automatically”,
“created”: 1441642711,
“current_period_end”: 1599322711,
“current_period_start”: 1567786711,
“customer”: “cus_6wL0iDwy8p64Z3”,
“days_until_due”: null,
“default_payment_method”: null,
“default_source”: null,
“default_tax_rates”: [
],
“discount”: null,
“ended_at”: 1570209854,
“items”: {
“object”: “list”,
“data”: [
{
“id”: “si_18U1fnJQmekOBFQgAX8NEUkQ”,
“object”: “subscription_item”,
“billing_thresholds”: null,
“created”: 1441642712,
“metadata”: {
},
“plan”: {
“id”: “s2_d894076243d10732d30a2e08307d17b1”,
“object”: “plan”,
“active”: true,
“aggregate_usage”: null,
“amount”: 1300,
“amount_decimal”: “1300”,
“billing_scheme”: “per_unit”,
“created”: 1421149410,
“currency”: “eur”,
“interval”: “day”,
“interval_count”: 365,
“livemode”: true,
“metadata”: {
“recurring”: “true”,
“recurring_times”: “-1”
},
“nickname”: null,
“product”: “prod_BTfeaPxdkk8sCa”,
“tiers”: null,
“tiers_mode”: null,
“transform_usage”: null,
“trial_period_days”: 365,
“usage_type”: “licensed”
},
“quantity”: 1,
“subscription”: “sub_6wL0AxFq3zAwIQ”,
“tax_rates”: [
]
}
],
“has_more”: false,
“total_count”: 1,
“url”: “/v1/subscription_items?subscription=sub_6wL0AxFq3zAwIQ”
},
“latest_invoice”: “in_1FFk8sJQmekOBFQgMJcR7IzU”,
“livemode”: true,
“metadata”: {
“tax_info”: “{“trial_tax”:“0.00”,“trial_tax_per”:“0%”,“tax”:“0.00”,“tax_per”:“0%”}”
},
“pending_setup_intent”: null,
“plan”: {
“id”: “s2_d894076243d10732d30a2e08307d17b1”,
“object”: “plan”,
“active”: true,
“aggregate_usage”: null,
“amount”: 1300,
“amount_decimal”: “1300”,
“billing_scheme”: “per_unit”,
“created”: 1421149410,
“currency”: “eur”,
“interval”: “day”,
“interval_count”: 365,
“livemode”: true,
“metadata”: {
“recurring”: “true”,
“recurring_times”: “-1”
},
“nickname”: null,
“product”: “prod_BTfeaPxdkk8sCa”,
“tiers”: null,
“tiers_mode”: null,
“transform_usage”: null,
“trial_period_days”: 365,
“usage_type”: “licensed”
},
“quantity”: 1,
“schedule”: null,
“start”: 1441642711,
“start_date”: 1441642711,
“status”: “canceled”,
“tax_percent”: null,
“trial_end”: 1473178711,
“trial_start”: 1441642711
}
}