Cancellation Funnels
A hosted manage-subscription page for web subscribers — the manage link, the email form, link scanners, pause / discount / free-period offers, cancel at period end, the confirmation and receipt mails, pauses and churn, events, webhooks and rollout.
A subscriber who bought on the web can open a manage-subscription page that you design in the funnel builder. It shows their plan, can ask why they want to leave, and can make up to six offers in the order you choose:
- pause billing for 1–3 billing periods;
- a discount of 1–90 % for a number of billing periods;
- a free period of 1–3 billing periods.
Cancel is always one tap away. On every page, "Cancel anyway" leads to a built-in confirmation page, and the cancellation is confirmed by email. Every change is made in Stripe, and every change is mailed to the customer.
This works for Stripe subscriptions on your connected Stripe account. That covers web funnel purchases, web SDK checkouts and Stripe imports. A subscriber who pays through the App Store or Google Play gets a page that sends them to the store's own subscription settings, with no offers. Neither store lets a server pause or discount their subscriptions.
Cancellation funnels ship off on self-hosted deployments. While
FUNNEL_RETENTION_ENABLED is false (the default), every manage link opens
the Stripe customer portal, no offer is made, and publishing a cancellation
funnel is refused with RETENTION_DISABLED. See
Turning it on.
What your customer sees
- They open the manage link you sent them, or one they asked for by email (see Sending a manage link).
- A short page in your brand says Manage your subscription, with one button. Nothing happens until they press it.
- Pressing it opens your cancellation funnel: the plan, the optional reason question, and your offers.
- "Cancel anyway" opens the built-in confirmation: the plan, the date it ends, and any add-ons that end with it. Confirm cancellation cancels. Keep my subscription goes back.
- The done page shows when the request was received and when access ends. The confirmation email is on its way.
A link that has expired or was already used shows "This link has expired or was already used" and the email form, so the customer can ask for a new link.
What the link opens depends on the subscription:
| The subscription | The page |
|---|---|
| Stripe, and your cancellation funnel is live | Your funnel |
| Stripe, with no cancellation funnel, your kill switch on, or the feature off | A Manage in billing portal button that opens the Stripe customer portal |
| App Store or Google Play | Manage in App Store / Manage in Google Play, linking to the store's subscription settings |
| Already ended, refunded or revoked | "There's nothing to manage on this subscription." |
The portal fallback needs the customer portal to be set up in your Stripe account. If it is not, the page says the billing portal isn't available and asks the customer to contact you.
Setting it up
- In Funnels, choose New manage-subscription funnel. It starts from a template: a reason question, offers, and "Cancel anyway" on every page. Whether a funnel is a cancellation funnel is set when you create it and cannot be changed later. It is always a web funnel.
- Edit the pages. Select an offer to set its kind, percent and number of billing periods, and the page shown after the customer accepts or declines it. Choose the reason question under Cancellation reason.
- Publish. Publishing needs a connected Stripe account
(
RETENTION_STRIPE_NOT_CONNECTEDotherwise) and the rules under Rules the editor enforces. - In Project settings → Manage subscriptions, pick the funnel as the Manage-subscription funnel. A project has one. None sends every manage link to the Stripe billing portal.
Turn off retention offers, in the same section, is the kill switch. While it is on, every manage link opens the Stripe billing portal and no offer is made. That includes links you already sent. Turning it back on needs no deploy and no republish.
Sending a manage link
A manage link is the only way into a cancellation funnel. The funnel's own address does not open it: a cancellation funnel opened by its slug answers like a funnel that does not exist. Each link works once.
From your server
Your backend creates a link with your secret key and sends it to the customer in your app, your emails or your support replies:
POST /v1/subscribers/{appUserId}/manage-link HTTP/1.1
Authorization: Bearer <rov_sk_live_…>
Content-Type: application/json
{ "returnUrl": "https://example.com/account" }{
"data": {
"url": "https://pay.example.com/m#mt=…",
"kind": "funnel",
"expiresAt": "2026-11-14T10:00:00.000Z"
}
}- The link works for 72 hours.
purchaseId(optional) picks the subscription. Without it, Rovenue picks the newest live Stripe subscription that is not an add-on.returnUrl(optional) is where the Stripe billing portal sends the customer back to. It must be one of your verified domains or one of the key's allowed origins.kindsays what the link opens:funnel,portalorstore_redirect.- A sandbox key makes links for sandbox purchases only, and a live key for
live purchases only. Naming a purchase of the other mode is refused with
403 RETENTION_FORBIDDEN. - At most 5 links per subscriber per hour. More answer
429 RETENTION_RATE_LIMITED. A subscriber with nothing to manage answers409 RETENTION_NOTHING_TO_MANAGE.
The full request and response are in the API explorer. Public (SDK) keys cannot create manage links.
Link addresses
The link opens on your custom domain
when you have one: https://<your domain>/m#mt=…. Without one, it opens on the
Rovenue app host: https://<app host>/m/<project id>#mt=….
The single-use code sits after the #. Browsers never send that part to a
server or in a Referer header, and the page removes it from the address bar
as soon as it loads.
By email, from the hosted page
Opening the manage page without a link shows a form: Enter the email you subscribed with and we'll send you a secure link.
- The page always answers the same way, whether or not the address has a subscription, so the form cannot be used to find out who your customers are.
- An address with a Stripe subscription in this project gets one email, Manage your subscription, with a link per subscription (up to 3). Each link works once, for 15 minutes.
- An unknown address gets nothing.
- An address can ask 3 times an hour, and one network 10 times an hour.
Link scanners
Many company mail systems (Microsoft Safe Links, Proofpoint, Mimecast) open every link in an email before the reader does, and some render the page in a headless browser. That does not use up a manage link. The link first shows the Manage your subscription button, and nothing happens until someone presses it.
A scanner that presses buttons is not defended against. The customer then sees "This link has expired or was already used" and the email form, and gets a new link in one step.
Offers
Each offer is one Retention offer element on its own page, with an Accept offer and a Decline offer button. Accepting moves to the page you chose for "Accepted"; declining moves to the page for "Declined". Leaving either empty means the next page in order, or the done page after the last one.
| Offer | Range | What happens in Stripe |
|---|---|---|
| Pause | 1–3 billing periods | Collection is paused with pause_collection (behavior: "void") from the end of the current period until the chosen number of periods later. Then billing resumes on its own. |
| Discount | 1–90 % off, 1–12 monthly periods or 1–3 yearly periods | A repeating Stripe coupon is applied to the subscription. The next invoices are lower, then the regular price returns. |
| Free period | 1–3 monthly periods or 1 yearly period | A 100 % repeating coupon. The subscription stays active, and the invoices are paid at 0. |
Copy on a cancellation funnel can show the subscription with
{{subscription.planName}}, {{subscription.price}},
{{subscription.currency}}, {{subscription.renewsAt}},
{{subscription.status}}, {{subscription.periodEndsAt}},
{{subscription.pauseResumesAt}} and {{subscription.discountEndsAt}}. Rovenue
fills them from Stripe on the server. Nothing the browser sends can change
them.
Branching on the subscription
A cancellation funnel's conditions (a block's Visible when, a page's routing, a button's conditional) can read the same facts, from the Subscription group of the condition picker:
| Fact | You can check |
|---|---|
subscription.status | equals / does not equal / is one of a status (TRIAL, ACTIVE, PAUSED, GRACE_PERIOD, BILLING_ISSUE, …), or that it is set |
subscription.currency | equals / is one of an upper-case code (USD), or that it is set |
subscription.planName | equals / is one of the product's display name, or that it is set |
subscription.renewsAt, subscription.periodEndsAt, subscription.pauseResumesAt, subscription.discountEndsAt | only whether it is set — for example, hide a discount offer when subscription.discountEndsAt is set |
The price cannot be compared (it is a formatted amount), and dates cannot be
compared with a value (they are written in the customer's language).
Publishing refuses such a condition (SUBSCRIPTION_CONDITION_UNSUPPORTED), and
an acquisition funnel cannot read subscription.* at all
(UNKNOWN_QUESTION_REF). The values come from the server, never from the
browser.
An offer a condition hides cannot be taken by calling the manage API
directly: quoting, accepting or declining an offer the customer's current page
does not show is refused with RETENTION_OFFER_NOT_REACHABLE, and nothing
reaches Stripe. If the subscription changes while the page is open (a discount
added elsewhere hides the offer), pressing the offer skips it along its
"Declined" path, like an offer the customer cannot take.
The coupons are created on your connected account and reused for every customer with the same offer and currency. You can see them, and the discounted invoices, in your Stripe dashboard.
Who gets which offer
An offer the customer cannot take is skipped. The page moves on along its "Declined" path, so the customer never sees an offer that would fail.
| Subscription status | Pause | Discount | Free period | Cancel |
|---|---|---|---|---|
| Active | yes | yes | yes | yes |
| Trial (paid trials too) | – | in the trial's last billing period | in the trial's last billing period | yes |
| Paused by a cancellation funnel | – | – | – | yes |
| Grace period or billing issue | – | – | – | yes |
| Ended, refunded or revoked | – | – | – | – |
Every offer also needs all of the following:
- a monthly or yearly plan. Weekly and other intervals get no offers;
- each kind once per Stripe customer every 365 days. A new purchase by the same Stripe customer does not reset this;
- for a discount or free period, no discount already on the subscription. Rovenue never replaces one you gave;
- for a pause, no pause already set, no subscription schedule, and no cancel already scheduled;
- the subscription is on the Stripe account the project is connected to now, in the same mode.
During a billing issue the customer gets no offers. The billing portal link is there so they can fix their card.
Cancelling
Cancelling always takes effect at the end of the current billing period,
or at the end of the trial for a subscription in a trial. Rovenue sets
cancel_at_period_end on the Stripe subscription. The customer keeps access
until that date and is not charged again.
Refunds and immediate cancellation follow your own terms. A cancellation funnel never refunds and never ends access early. Handle those the way you do today, in Stripe or through your support.
When the customer cancels a subscription bought in a funnel with one-click upsells, its live add-on subscriptions are cancelled at their own period end too. The confirmation page and the email list each one. Pauses and discounts apply to the main subscription only.
The reason question
The reason question is optional for the customer. If you name one under
Cancellation reason, it must be a single-choice question that is not
required. The answer goes to Stripe as cancellation_details.comment (the
option's value). An option can also carry a Stripe feedback value
(too_expensive, unused, missing_features, switched_service, other,
…), which is sent as cancellation_details.feedback. The template's options
already carry one.
An answer typed as free text is kept for up to 500 characters and deleted after 180 days.
Reactivating
A Reactivate subscription button undoes a scheduled cancellation, together with the add-ons that cancellation ended, or ends a pause from a cancellation funnel at once. It works only when there is something to undo. A subscription that has already ended cannot be reactivated here.
Confirmation and receipt emails
Every change, from every manage link, is emailed to the customer. A forwarded or stolen link therefore cannot change anything without the customer hearing about it. The mail goes to the email on the Stripe customer in your connected account, never to an address typed on the page. It carries your app's name and brand, and is written in the language of the customer's session.
| Change | What it says | |
|---|---|---|
| Cancel | Your cancellation is confirmed | When the request was received, when the subscription ends, every add-on that ends with it, and that the customer will not be charged again |
| Pause | Your subscription is paused | When the pause starts and when billing resumes |
| Discount | Your discount is applied | The percent, the number of billing periods, and when the discount ends |
| Free period | Your next billing period is free | The number of free periods and when they end |
| Reactivate | Your subscription continues | The next renewal |
Dates in these mails carry their time zone (UTC), and match the confirmation page. A mail that could not be sent is retried every few minutes for up to 3 days. A Stripe customer with no email address gets no receipt.
When Stripe refuses
If Stripe refuses a change or cannot be reached, the page says "We couldn't make this change right now." and shows a Manage in billing portal link. On an offer, it also shows Continue to cancel. A failed cancellation is never a dead end: the customer can try again or cancel in the Stripe billing portal.
Pauses, access and churn
A pause is not churn. While a pause from a cancellation funnel is in
force, the subscription is PAUSED and its access is off. Rovenue's charts
count a paused subscription as at risk, never as churned, and do not expire
it while it is paused. When Stripe resumes billing, the subscription is
active again and access comes back. Stripe's voided invoices during the pause
add no revenue.
Until the pause starts, at the end of the period already paid, the subscription stays active and the customer keeps access.
Your own pause_collection keeps access. Rovenue marks the pauses it
makes in the subscription's metadata. A pause you set yourself in Stripe,
without that mark, changes nothing in Rovenue: the subscription stays
ACTIVE with access, as before.
In MRR charts, a paused subscription keeps counting toward MRR for the month its pause covers, and a 100 %-off month counts at its full price.
Retention analytics
A cancellation funnel's Revenue tab shows its retention dashboard instead of sales figures. It counts the sessions that entered the funnel on the days of the range you pick (7, 30 or 90 days), in the environment you pick (production or sandbox):
| Number | What it counts |
|---|---|
| Saved and save rate | Sessions that accepted an offer and did not cancel after it, divided by the sessions that entered. A customer who takes an offer and then presses Cancel anyway is not saved. |
| Offers | Per offer: the sessions it was shown to, the sessions that accepted it, and the sessions it saved (the offer of the session's last accept). Its save rate divides by every session that entered. |
| Reasons | Sessions per answer to the reason question, with their saves and cancellations. A session with no answer is counted under No answer. |
| Cancelled and reactivated | Sessions that ended with a cancellation, and sessions that undid a scheduled cancellation or a pause. |
| Paused subscribers and paused MRR | Subscriptions a pause from this funnel holds right now, and their price before the pause, per month. |
| Revenue kept | Revenue on each saved subscription in the 30 and 90 days after the save, net of tax and refunds, in USD. A discounted or free renewal counts what was actually charged. |
| Churn after save | Saved subscriptions that expired within 90 days of the save. |
A pause is never churn here either: a paused subscription is in the paused numbers, not in churn after save. In your MRR charts, a paused month still counts toward MRR.
Events and webhooks
A manage session records these funnel events:
| Event | When |
|---|---|
funnel.retention.entered | The customer pressed Manage your subscription and the funnel opened |
funnel.retention.offer_shown | An offer was shown |
funnel.retention.offer_skipped | An offer was skipped because the customer cannot take it |
funnel.retention.offer_accepted | An offer was accepted and Stripe applied it |
funnel.retention.offer_declined | An offer was declined |
funnel.retention.cancel_requested | The customer confirmed the cancellation. Carries the reason (reason_key) |
funnel.retention.reactivated | A scheduled cancellation or a pause was undone |
funnel.retention.failed | Stripe refused or could not be reached |
funnel.retention.offer_accepted, funnel.retention.cancel_requested and
funnel.retention.reactivated are also
outbound webhooks. Their data names
the session, funnel and its published version, the subscriber, the purchase (purchaseId, the id
manage-link takes), the Stripe subscription (storeTransactionId), the
offer, retentionKind, retentionActionId and, when the customer answered the reason
question, the answer's option value (reasonKey). They carry no amounts and no free text.
What changes in Stripe still reaches you through the usual subscription
lifecycle webhooks (subscription.cancel_requested, subscription.paused,
subscription.resumed, subscription.uncancelled). When a cancellation
funnel caused the change, those carry cause: "retention_funnel" and the
same retentionActionId.
Privacy
- A cancellation funnel page loads no pixels, no tag manager and no third-party scripts. Your project's pixels stay on your other funnels. They are simply never served on this page, so they do not block publishing.
- A data export of a subscriber includes their manage links (with the return address, never the code) and their cancellation funnel actions, with the reason text. Erasure revokes their open links and removes the reason text and return address. A session that is open when its subscriber is erased stops working.
Rules the editor enforces
Publishing refuses a cancellation funnel that hides the way out. Every page
needs a "Cancel anyway" that every visitor sees. An offer page needs a
decline button, and must not advance on its own. The reason question cannot
be required. A cancellation funnel cannot take a payment, carry checkout or
upsells, or be converted to native. The full list is under
Blockers (the RETENTION_* codes).
Turning it on (self-hosting)
Retention pauses depend on webhook and expiry-sweeper code that knows about them. An older process would treat a retention pause as active, or expire it at the period end. Every process must run it before the first offer goes out:
- Deploy the release with
FUNNEL_RETENTION_ENABLED=false, the default in.env.example. - Wait until every API and worker process runs it.
- Run the ClickHouse migrations (
0056_funnel_retention_events). - Set
FUNNEL_RETENTION_ENABLED=trueon every API and worker process, and restart them.
Per project, the kill switch in Project settings → Manage subscriptions stops offers at once, with no deploy.
One-click Upsells
Offer pages after a web funnel's payment that charge the card the buyer just used — what the buyer sees, the consent line, card vs wallet, 3D Secure, declines, the one-hour window, refunds, webhooks, pixels, erasure and rollout.
Ad Pixels
Fire Meta, TikTok, Pinterest, X, Google Ads, Snapchat, GA4 and Google Tag Manager from a web funnel, with one event id shared by the browser and the server so each conversion is counted once.