Auto-renewal is where subscription businesses meet consumer protection law most directly, and the templates that survive review share three traits: they say what renews and at what price before the charge, they connect to billing systems that actually renew without undocumented settings, and they make cancellation as easy as signup. The legal baseline is the Restore Online Shoppers' Confidence Act (ROSCA), passed in 2010, with around 30 states running their own automatic renewal laws, several stricter than the federal rule ever was. California's AB 2863 applies to contracts entered into, amended, or extended on or after July 1, 2025, and its Section 17602 requires a cost-effective, timely, and easy-to-use cancellation mechanism, with online acceptance requiring online termination at will. This guide covers the clause language, the Stripe and Shopify setup, the opt-out UX, and the compliance points this material actually supports. It is not legal advice, and it promises no retention result.
What Template Auto-Renewal Is and What the Law Requires
Template auto-renewal means reusable contract language, notices, interface elements, and billing setup so a subscription continues unless the customer cancels. Teams use it in SaaS and e-commerce billing so renewal doesn't depend on the customer remembering to opt in again. The practical setup has three parts. Draft the clause in plain language, stating what renews, when, and at what price, including the post-trial price whenever a free trial converts to a paid plan. Connect billing so the subscription follows the plan interval unless canceled, without relying on an unsupported setting to enable renewal. And add a real opt-out: a cost-effective, timely, easy-to-use way to cancel, available online if the customer accepted online.
The regulatory picture has layers, and one of them is genuinely unsettled. ROSCA is the settled federal baseline. An updated FTC rule has been described as applying to almost all negative option programs in any media; one account states it became enforceable in 2024 and has been refined since, while another states the FTC lost the rule, not its authority. Do not treat a 2026 Click to Cancel update as settled. Plan for ROSCA, for whichever rule status actually applies to you, and for stricter state law.
California carries the most detail. AB 2863 applies to contracts entered into, amended, or extended on or after July 1, 2025. Section 17601 defines a free-to-pay conversion, and Section 17602 requires the post-trial price to be clearly explained plus the easy cancellation mechanism noted above. Section 17603 should not be described as refunding all subscription revenue. This guide does not adopt a specific pre-charge notice period or fine amount; those figures are not established here.
| Topic | Negative option (continues unless canceled) | Explicit renewal (customer opts in again) |
|---|---|---|
| Customer effort at renewal | Lower, if the terms were clear | Higher |
| Regulatory attention | A focus of federal and state rules | Still needs clear pricing and consent |
| Cancellation | Must stay easy to use; online acceptance means online termination at will where that rule applies | Usually simpler to explain |
| What this guide does not claim | A churn reduction, a fine amount, or a complaint-rate change | A retention or complaint result |
Choosing between negative option and explicit renewal is a product decision, but the disclosure duties travel with the contract either way. Longer terms and multi-year orders are a commercial choice too, and they don't replace the disclosure and cancellation rules that apply.
Implementation in Stripe, WordPress, and Shopify
Billing setup is where templates meet production code, and the Stripe example below is illustrative only, not a compliance control.
const stripe = require('stripe')('sk_test_...');
const subscription = await stripe.subscriptions.create({
customer: 'cus_...',
items: [{ price: 'price_...' }],
payment_behavior: 'default_incomplete',
payment_settings: { save_default_payment_method: 'on_subscription' },
expand: ['latest_invoice.payment_intent']
});
One mistaken pattern deserves a warning: setting billing_cycle_anchor to anchor_now and treating that as what enables auto-renewal. That setting is omitted from the snippet deliberately. Confirm current parameters before you ship. For renewal notices, a webhook on the upcoming invoice can trigger your own notice function, after checking the signature:
app.post('/webhook', express.raw({type: 'application/json'}), (req, res) => {
const sig = req.headers['stripe-signature'];
let event;
try {
event = stripe.webhooks.constructEvent(req.body, sig, 'whsec_...');
} catch (err) {
return res.status(400).send();
}
if (event.type === 'invoice.upcoming') {
sendRenewalNotice(event.data.object.customer);
}
res.json({received: true});
});
That webhook checks the signature and calls the notice function; it does not by itself handle trials, proration, or legal notice timing.
| Platform | Setup | Cancel path |
|---|---|---|
| Stripe | Create the subscription with your price and customer; omit unsupported anchor values | Customer-facing manage-or-cancel link plus signed invoice.upcoming webhook for notices |
| WordPress (WooCommerce) | Review the auto-renewal setting on the subscription product | Confirm the customer can cancel from the account area |
| Shopify | Turn on recurring billing in the subscription tool or app you actually use | Show the interval and a manage-or-cancel path in the customer account |
| Enterprise contracts | Renewal section with term, price, and cancellation method | Cancellation available online, at will, where that rule applies |
Shopify deserves one caution: don't assume one admin menu name applies to every store, since subscription behavior depends on whichever tool or app the store actually runs. The same caution applies to WordPress in reverse; WooCommerce Subscriptions keeps renewal control on the product, so review it per subscription product rather than trusting a global default.
The UX layer carries as much compliance weight as the code. Put a clear cancel or manage control where the customer already manages the subscription. In a pre-renewal email, state the renewal date, the price, and a link to cancel or manage, without inventing a legally required lead time this guide doesn't set. Never use a pre-checked box as a substitute for agreement to the renewal terms. After cancellation, confirm that future renewals will not be charged, if that's what your billing system will actually do. A dashboard control with a simple on/off state plus a confirmation of what happens next is a design starting point, not a tested conversion result.
Step-by-Step: Implementation and Review Checklist
Step 1: Map the applicable law. Identify whether ROSCA applies and which state automatic-renewal laws apply, since around 30 states have their own. For California contracts entered into, amended, or extended on or after July 1, 2025, review AB 2863 and the Section 17601 and 17602 points above.
Step 2: Write the disclosure language. State the renewal price, and the post-trial price for any free-to-pay conversion. Put disclosures where the customer can see them before agreeing.
Step 3: Build the billing. Implement the subscription in Stripe, Shopify, or your platform without unsupported renewal switches, following the snippets above as illustrations only.
Step 4: Build the cancel path. Provide a cost-effective, timely, easy-to-use cancel mechanism, online if acceptance was online, reachable from the account area customers already use.
Step 5: Draft the notices. Renewal notices should say when the plan renews and how to cancel, using language like the notice template below, without adding a cancel window or reminder schedule unless counsel confirms it for that contract.
Step 6: Test everything. Test cancellation end to end and the wording of renewal notices before launch. Confirmation-page wording, such as a short statement of the renewal price and how to cancel, can be tested against another layout; no conversion lift or winning template is reported here.
Step 7: Get counsel review. Have counsel review before launch. This checklist is not an audit and does not estimate fine avoidance.
AUTO-RENEWAL NOTICE:
Your [Plan] renews on [date] at [price] per [interval] unless you cancel.
If this plan follows a free trial, the price after the trial is [post-trial price].
If you signed up online, you can cancel online, at will, at [account link].
Cancellation must be cost-effective, timely, and easy to use.
Questions: [email protected]
For enterprise and multi-year contracts, the illustrative renewal section reads: "Section 5: Renewal. This order renews for [term] at [price] unless canceled as stated in this agreement. If the customer accepted online, cancellation is available online, at will, through [method]. The post-trial or renewal price is [price]." Placeholders only, and not evidence of lower churn. One privacy note applies to all of it: privacy law may govern customer and payment data in renewal notices, and this guide does not establish that any sample notice meets the GDPR or any other privacy statute.
FAQ
What legal requirements apply to auto-renewal clauses?
ROSCA, passed in 2010, is the baseline federal law, and around 30 states have their own automatic renewal laws, several stricter than the federal rule ever was. An updated FTC rule has been described as applying to almost all negative option programs in any media, but accounts differ on whether the FTC later lost that rule while keeping its authority. Don't rely on an unverified 2026 federal update.
How should a Stripe auto-renewal template be implemented?
Create the subscription with your price and customer, as in the illustrative snippet, and omit unsupported anchor values. Use a signed webhook, such as the invoice.upcoming example, only as a notice trigger you control. Confirm the current API before production use, and don't treat the snippet as a compliance control.
What opt-out pattern fits Shopify?
Use the recurring-billing app you have enabled, show the renewal interval, and give the customer an account path to manage or cancel. If the customer accepted online, they need to be able to terminate online, at will, where that requirement applies. Admin menu names vary by store, so verify in your own build.
What is supported here about California automatic renewal law?
AB 2863 applies to contracts entered into, amended, or extended on or after July 1, 2025. Section 17601 defines a free-to-pay conversion. Section 17602 requires the post-trial price to be clearly explained and requires a cost-effective, timely, easy-to-use mechanism, with online acceptance requiring online termination at will. Section 17603 should not be described as refunding all subscription revenue.
How should a cancel control be designed?
Make it easy to find and easy to use. If signup was online, cancellation must be available online, at will, where that rule applies. A clear control plus a confirmation of what happens next is an interface starting point, not a tested conversion result, and the control should live where the customer already manages the subscription.
How does GDPR fit into auto-renewal notices?
Privacy law may apply to customer and payment data in renewal notices, so the data handling behind your notice emails and account links falls under privacy review as well as renewal law. This guide does not establish that any sample notice here meets the GDPR or any other privacy statute.