# Upgrading/Downgrading/Canceling Subscriptions

This process pertains to recurring subscriptions. Subscribed clients have access to a prebuilt billing portal where they can manage their subscription (upgrade, downgrade, or cancel).

**Triggered Events**: `customer.subscription.updated` or `customer.subscription.deleted`\
**Process**:

* Update the ClientPlan data to reflect the new subscription details.
* Call `handleAfterSubscriptionTasks()` to handle post-subscription actions.

For further queries or assistance, refer to the code comments or contact our support team.
