benecaster_buyup_cancelled
Fires after a subscriber’s buy-up is cancelled and its Stripe subscription item has been removed. The subscriber no longer has access to whatever the buy-up unlocked. Use for revoking an external entitlement, updating a CRM record, or sending a “your add-on has ended” message. For admin-initiated removal rather than subscriber-initiated cancellation, listen to benecaster_buyup_revoked instead.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
$user_id |
int |
— | WordPress user ID |
$buyup_id |
int |
— | ID of the buy-up record |
$show_id |
int |
— | ID of the show |
$stripe_subscription_item_id |
string |
— | Stripe subscription item ID for the cancelled buy-up |
Need this built rather than just documented? See our services →