How to set up subscription cancellation in Stripe Billing
A step-by-step setup for cancelling in Stripe Billing: portal cancel settings, period end or immediate, reasons, save offers, and reminder emails the laws expect.
Published December 2, 2026
To set up cancellation in Stripe Billing, turn on cancelling in the customer portal, choose whether a cancel takes effect at the end of the paid period or right away, and put a "Cancel subscription" link in your account area and your billing emails. Then check the two spots where the laws are most specific: any save offer or "what you'll lose" screen must keep a cancel option in view, and reminder emails must land inside each state's window and say how to cancel.
This is practical guidance, not legal advice. The legal lines below were read on 2 December 2026 in the official texts linked under each section (California's on the Legislature's site), and the Stripe settings in Stripe's own documentation on the same day. We didn't click through a live Stripe portal for this page, so test your own flow in a sandbox. PlainRenew isn't affiliated with or endorsed by Stripe. If you want a quick read of how your public pricing and terms pages describe renewal and cancelling, the free checker at plainrenew.com/check does that in under a minute.
What the law asks of the cancel step
| Rule | What it asks | Where |
|---|---|---|
| Federal (ROSCA) | "Simple mechanisms for a consumer to stop recurring charges" | 15 U.S.C. § 8403(3) |
| California | Signed up online: cancel exclusively online, at will, through a prominent link or button (it may sit in the account or settings) or a ready-made cancel email. A sign-in may be required if they have an account. | B&P § 17602(d)(1), (d)(3) |
| California | A save offer or "effects of cancellation" screen is fine only with a prominent, continuously shown "click to cancel" link or button beside it | B&P § 17602(e)(2) |
| New York | Cancel at any time, as easily as signing up, in the same medium; don't refuse to acknowledge, obstruct or unreasonably delay. A discount or retention offer may be shown. | GBL § 527-a(1)(d), (e) |
| Colorado | Signed up online: a one-step online cancellation link, available right after a reasonable sign-in used only to confirm who they are; save offers only with a direct cancel link alongside | C.R.S. 6-1-732(1)(d.7), (2)(d), (2.5) |
| Maryland | Online cancel must be easy to find, need no live or virtual representative, and use a direct link or button or a ready-made cancel email | Com. Law § 14-1329(b)(3) |
More states have similar wording. See online cancellation requirements by state for the full list, and is the FTC click-to-cancel rule still in effect? for the federal picture.
Step 1. Turn on cancelling in the customer portal
In the Stripe Dashboard, go to Settings > Billing > Customer portal and open the Cancellations section. Stripe's docs list Cancel subscription as on by default, but confirm it on the configuration your customers actually use if you have more than one (Stripe docs).
Then pick the cancel mode. The portal can cancel immediately or at the end of the current billing period; in the API this is the configuration's features.subscription_cancel.mode (Stripe docs).
- At period end lets the customer keep what they've paid for. Stripe describes this as allowing "the subscription to complete the duration of time the customer has already paid for," and you can undo a scheduled cancel until the period ends (Stripe docs). Say so on the confirm screen: "Your plan ends on [date]. You won't be charged again."
- Immediately ends it now. If you choose this, decide whether you prorate, and say plainly on the screen what happens to the unused time.
Read plainly, either can fit: the rules above are about stopping the renewal and the charges (ROSCA's words are "stop recurring charges"). What matters is that the words on screen match what Stripe does.
Step 2. Put the link where customers look
California, Colorado and Maryland all describe a direct link or button that can sit inside the account or settings. You have two simple ways to get one.
- No-code portal link. Activate the login link in the portal settings and add it to your site. Customers enter their email and Stripe emails them a login link (Stripe docs).
- A deep link from your own app. If customers already sign in to your app, create a portal session with a
subscription_cancelflow. It opens straight on the cancel page for that subscription, hides the rest of the portal, and can send them back to your own URL afterwards (Stripe docs). Read plainly, that is a close fit for Colorado's "immediately after" a reasonable sign-in.
Label it "Cancel subscription," not "Manage billing" alone. California and Maryland also say a customer who can't or won't sign in must still have another way to cancel (§ 17602(d)(3); § 14-1329(b)(3)(iv)), so keep a ready-made cancel email as a fallback. Our cancellation page wording has copy for the link, the confirm screen and that email.
Step 3. Reasons, "what you'll lose" and save offers
These three portal options are where a clean flow can turn into an obstructed one.
Cancellation reasons. The portal can ask why someone is leaving, and Stripe's docs say "customers can cancel without selecting a reason or providing additional feedback" (Stripe docs). Keep it optional. You'll find answers on the subscription in the Dashboard, in the subscription's cancellation_details, and in customer.subscription.updated events.
Lost benefits. Stripe lists this as on by default: the portal shows which benefits the customer loses, taken from your product's marketing features (Stripe docs). California and Colorado treat "information regarding the effects of cancellation" the same way as a save offer: it is fine only with a cancel link or button shown alongside it (§ 17602(e)(2); 6-1-732(2.5)). Keep the wording factual, and check in a sandbox that the cancel button stays on that screen.
Retention coupons. Off by default. If you turn one on, the same rule applies: a prominent "cancel" option has to stay in view next to the offer, and using it must cancel promptly. New York also allows a discounted offer, but not one that obstructs or unreasonably delays the cancel (§ 527-a(1)(e)(ii)). We haven't reviewed how Stripe lays out its coupon screen, so look at it yourself before you rely on it.
Step 4. Confirm it and keep a record
Read plainly, New York's ban on refusing "to acknowledge" a cancel request (§ 527-a(1)(e)) is easiest to meet with an on-screen confirmation and an email. Stripe can send customer emails when a subscription is cancelled (Stripe docs); if you send your own, trigger it from Stripe's events:
customer.subscription.updatedfires when a cancel is scheduled for period end.customer.subscription.deletedfires when the subscription actually ends, including when a period-end cancel takes effect (Stripe docs).
One detail for developers: on subscriptions using flexible billing mode, a portal cancel sets cancel_at rather than cancel_at_period_end (Stripe docs). If your code only checks cancel_at_period_end, it can miss the scheduled cancel.
Stripe's email logs in the Dashboard cover the last 60 days (Stripe docs), so keep your own copy of the cancel date and the email you sent.
Step 5. Reminder emails with a cancel link
Cancelling isn't only a page. Several laws require a reminder before certain charges, and the reminder has to say how to cancel.
| Reminder | Window | Where |
|---|---|---|
| Free trial or promo over 31 days (California) | 3 to 21 days before it ends | B&P § 17602(b)(1)(A) |
| Free trial over a month (New York) | 3 to 21 days before the cancel deadline for the first paid period, with how to cancel | GBL § 527-a(1)(h) |
| Initial term of a year or longer (California) | 15 to 45 days before renewal | B&P § 17602(b)(2) |
| Paid term of a year or longer renewing for 6 months or more (New York) | 15 to 45 days before the cancel deadline, with how to cancel | GBL § 527-a(1)(f) |
California also says an emailed notice must include a link to the cancellation process, or another easy electronic way to reach it (§ 17602(a)(8)(E)).
In Stripe, these settings are under Settings > Billing > Subscriptions and emails:
- Trial reminders. "Send a reminder email 7 days before a free trial ends" (Stripe docs). Seven days falls inside both 3-to-21-day windows above. If you send your own,
customer.subscription.trial_will_endfires 3 days before the trial ends by default (Stripe docs), which is the very edge of those windows. - Renewal reminders. "Send emails about upcoming renewals," timed by the Upcoming renewal events days you set, and only for subscriptions charged automatically (Stripe docs). For yearly plans, pick a number of days that lands within 15 to 45 days of the renewal. If both trial and renewal reminders are on during a trial, Stripe sends only the trial one (Stripe docs).
- Subscription management link. Turn on the setting that adds a manage-subscription link to your billing emails, pointing to the portal or your own cancel page (Stripe docs).
We haven't reviewed the full content of Stripe's built-in emails. Compare them with our renewal reminder email template, and for trials see free trial rules by state.
A quick test before you ship
- In a sandbox, sign in as a test customer and count the clicks from your account page to "cancelled."
- Check that every screen in the cancel flow, including lost benefits and any coupon, shows a cancel button.
- Confirm the on-screen message and email match the mode (end date for period end).
- Trigger a trial and a renewal reminder and check that each has a working cancel link.
- Make sure your app reads
cancel_atas well ascancel_at_period_end.
Quick FAQ
Does using the Stripe portal make my flow compliant? It gives you the parts: a cancel page, reasons, reminders and links. Whether your flow meets each rule depends on how you set them up and what your pages say. Stripe's own trial guide notes that if you don't use its settings, "you're still responsible for complying with the requirements" (Stripe docs).
Can I require a sign-in before cancelling? California, Maryland and Colorado allow a sign-in for customers with an account, with a fallback for those who can't sign in in California and Maryland (§ 17602(d)(3); § 14-1329(b)(3)(iv); 6-1-732(2)(d)).
Is a pause option a problem? None of the texts above mention pausing. Read plainly, it's a retention benefit like any other save offer, so keep the cancel button beside it.
Want to see how your public pages read before you change anything in Stripe? Run the free checker at plainrenew.com/check. If you'd like renewal and trial reminders scheduled from your Stripe data for you, create a PlainRenew account.
Sources
- 15 U.S.C. § 8403(3) (ROSCA), U.S. Code via GovInfo
- Cal. Bus. & Prof. Code § 17602(a)(8), (b), (d), (e) (California Legislative Information)
- N.Y. Gen. Bus. Law § 527-a(1)(d), (e), (f), (h) (New York State Senate, PDF of the current section)
- SB25-145, Session Laws 2025, ch. 368, amending C.R.S. 6-1-732(1)(d.7), (2)(d), (2.5) (Colorado General Assembly)
- Md. Code, Com. Law § 14-1329(b)(3) (Maryland General Assembly)
- Stripe docs: Configure the customer portal
- Stripe docs: Add a cancellation page to the customer portal
- Stripe docs: Deep links in the customer portal
- Stripe docs: Set up the no-code customer portal
- Stripe docs: Cancel subscriptions
- Stripe docs: Billing mode comparison (cancellations in the customer portal)
- Stripe docs: Automate customer emails
- Stripe docs: Send customer emails (subscription management link)
- Stripe docs: Manage compliance requirements for trials and promotions
- Stripe docs: Configure trial offers on subscriptions (trial events)
Not legal advice. Rule summaries are our plain-English reading of official sources and may be incomplete or out of date. Check with a qualified lawyer for your situation.