Subflow: Cancel
Introduction
Limio for Salesforce Manage Subscriptions flow (please, find an overview here: ) among others contains a Cancel subflow.
Depending on the scenario this flow can be used to achieve the following:
1. cancel a subscription
2. save a customer by offering a discount for the next term
3. save a customer by offering a switch to a different offer in the next term
Flow Overview
Get Cancel reason - Apex class that fetches the list of reasons defined in the metadata, find details in
Cancel screen:
Select a discount offer or a new regular offer to save the customer
Use the to compare prices of the new offers to the next expected charge of the existing subscription
Specify an effective date of the cancellation
in cancel-save scenarios effective date is set to the end of the current billing period and cannot be modified.
minimum allowed effective date is the start date of the current billing period
maximum allowed effective date equals an end of the current billing period for termed subscriptions and is not defined for evergreen subscriptions (those that do not have an end date).
We plan to release an enhancement to the effective date management and allow our users to define the dates range.
Preview the total Total is received form the Zuora Preview API to be as accurate as possible in calculating changes. In case of saving a customer by switching to a cheaper offer, some amount of money is returned to the customer in a form of a credit on their account. It is possible to customise the maximum allowed credit amount returned to a customer in the flow:
A banner at the top of the screen notifies agents if there already is a discount applied to the next billing period to prevent discount stacking.
Get Cancel Preview -
Show Zuora preview calculations to the agents or build compliance scripts with a global Apex class accessible from the flow context -
Get Customer Address List - fetching addresses associated with the current customer in Limio for a delivery and billing address steps.
Is Offer Deliverable Decision element & Delivery Address screen - when saving a customer with a new physical offer, we navigate to an address form to populate the delivery address.
Payment Selection screen - in cancel journey this is an optional step, if skipped, the order is processed against a default payment method in Zuora.
Customise the list of available options in the dropdown:
Payment options:
Debit Card, Credit Card - both options use Zuora iframe for secure transactions.
Gateways are being configured via metadata:
Customer Wallet - contains a list of existing payment methods linked to the customer account. We use custom labels to mark payment methods that expired or are going to expire soon.
Order Summary screen - offers an overview of the order, listing the selected offer (if any), the effective date, cancellation reason and a breakdown of the order total in the table. After submitting an order, loads order processing events in real time showing status messages per each step of the process.
Agent's View
Cancel screen offers an overview of the current subscription's offer, billing period and the latest charge of the left and several input fields on the right:
- Reason for cancellation (mandatory)
- Effective date with buttons for shortcuts (mandatory, preset by default)
- New Offer (optional)
- Order Total (view only)
Tips
Create to control who can cancel subscriptions by Permission set, and which subscriptions can be cancelled.
Use to preload only relevant offers in the catalog.
Our flow allows cancelling an already cancelled subscription to change the effective date, however the total preview will not be available due to the Zuora API limitations:
Last updated
Was this helpful?

