-
Notifications
You must be signed in to change notification settings - Fork 4
Cancellation Flow
Following members-data-api/pull/459 we now get a new top level object with key selfServiceCancellation
on our ProductDetail
type, for example...
... which we use to drive the CancellationCTA
component (part of manageProduct.tsx
) which, depending on what we get from the API, shows EITHER...
...OR...
...OR nothing if the sub is already cancelled.
The above CTAs both link to cancellation flow regardless and then depending on selfServiceCancellation
and whether cancellation is configured for the given ProductType
in productTypes.tsx
, it will EITHER show...
-
a
ContactUsToCancel
component which displays contact details (filtered by the properties in the newselfServiceCancellation
from the API) - see manage-frontend/pull/444. User cannot progress from this point, they can only return to account overview. -
OR step '1 of 3' of the self-service cancellation flow, containing...
- the component specified in
cancellation.startPageBody
of the givenProductType
(e.g.membershipCancellationFlowStart.tsx
forPRODUCT_TYPES.membership
) - the available 'reasons' (as a radio group) with the options specified via
cancellation.reasons
of the givenProductType
(e.g.membershipCancellationReasons.tsx
forPRODUCT_TYPES.membership
) - and optionally (based
cancellation.startPageOfferEffectiveDateOptions
and whether achargedThroughDate
is available) a choice of effective dates for the cancellation ('today' or 'end of billing period'[chargedThroughDate
]). This choice is conveyed to the subsequent steps viaCancellationPolicyContext
and currently if the customer chooses 'today' they will be put into 'escalated' state, which means they won't be able to actually complete the cancellation online, but instead a high priority case will be created in Salesforce (see more about that below).
- the component specified in
IMPORTANTLY once the user proceeds
Not what you're looking for? Be sure to use the navigation sidebar on the right. ➡️