Description
German and French law ask shops that sell subscriptions online to let consumers cancel online: a link on the website that leads straight to a form, without a login, and a confirmation of receipt.
- In Germany, § 312k BGB asks for a button labelled “Verträge hier kündigen”, a confirmation page with a fixed set of fields and the button “jetzt kündigen”, a receipt the consumer can save, and a confirmation by email.
- In France, Art. L215-1-1 Code de la consommation asks for a function labelled « Résilier votre contrat », a form, a summary page, and the final function « Notification de la résiliation ».
This plugin adds both flows to a WooCommerce shop:
- It adds the cancel link at the end of every page, with the wording the law names. You can also place it yourself with the block “Cancel link” or the shortcode
[rulecart_cancel_link]. - It shows the cancel form on a page of your shop, in your theme’s fonts and colours. Use the block “Cancel form” or the shortcode
[rulecart_cancel_form]. The form works without JavaScript, sets no cookie and loads nothing from other servers. - It shows a receipt with date and time, which the consumer can save as a PDF or print.
- It speaks English, German and French. The form follows the language of the page.
- It lists the cancellations under WooCommerce → Cancellations.
- It shows the subscription next to the cancellation. The plugin looks up the subscription by the email address and the number the consumer typed, and shows what it found. One button ends it. It works with Subscriptions for WooCommerce (WP Swings), YITH WooCommerce Subscription and WooCommerce Subscriptions (Beta).
- It keeps working when the Rulecart service cannot be reached. Your shop still takes the cancellation, shows the receipt and confirms it with your shop’s own email. It is sent on to Rulecart later, with the original time.
The plugin shows what the law asks for and what it does. It does not check whether your contracts fall under these laws, and it does not decide whether a cancellation is valid. This is not legal advice.
The Rulecart service
The plugin works with a Rulecart account. The account is free. The service stores each cancellation as proof outside your shop, makes the PDF and sends the confirmation email to the consumer and a copy to you.
Paid plans of the service add a proof pack with every receipt, reminders for open cancellations, a daily check that your cancel link is still there, and Autopilot (Beta), which ends the subscription by your rules. Everything the plugin’s own code does works on every plan.
External services
This plugin connects to the Rulecart cancel service at https://app.rulecart.com, run by Rulecart. It is needed for the plugin to work: the service keeps the proof of each cancellation and sends the confirmation email.
Nothing is sent before you press “Connect to Rulecart” on the plugin’s screen.
This is what the plugin sends, and when:
- When you connect, your site’s address, its name and your language go to the connect page in your browser. Your server then exchanges a one-time code for a key.
- When a consumer sends the cancel form, your server sends what they typed (type of cancellation and reason where given, name, contract, requested end date, email address), the language, the country of the flow, and your site’s address.
- In the background, your server asks for the shop’s state and its list of cancellations, reports status changes (“processed”) and what was done with a subscription (found, ended; no personal data), and reports the plugin’s version, the address of the cancel page and whether the link is placed automatically.
- Only with Autopilot (a paid plan of the service), your server also sends the subscriptions under the email address the consumer typed: their status, the customer’s name and email address, the products, the order numbers and the next payment date. The service needs them to decide by your rules which subscription to end and when.
- The plugin never sends a visitor’s IP address, cookies, or data of other customers. A consumer’s browser never contacts Rulecart.
Terms of the service: https://rulecart.com/legal/terms
Privacy policy: https://rulecart.com/legal/privacy
Installation
- Install and activate the plugin. WooCommerce must be active.
- Open WooCommerce → Cancellations and press “Connect to Rulecart”. Sign in with your email address; there is no password.
- Open your shop once: the cancel link is at the end of every page.
- Send a test cancellation. Until you go live, only signed-in shop managers see the link and the form.
- Go live on Rulecart. From then on your customers see the link and the form.
FAQ
Do I need this?
§ 312k BGB covers paid continuing contracts that consumers can conclude on a website, such as subscriptions. The French rule covers contracts that consumers can conclude online. Four questions on rulecart.com show whether the German rule fits your answers: https://rulecart.com/rules/cancel-button/check. The plugin does not decide this for your shop; a lawyer can.
Does the form work when Rulecart is down?
Yes. Your shop then stores the cancellation, shows the receipt with date and time, and sends the confirmation with your shop’s own email. Later it sends the cancellation on to Rulecart with the original time.
Does the consumer have to sign in?
No. The laws ask for a form without a login. So anyone can send a cancellation under any name. The plugin shows you what was typed and which subscription it matches; you decide what to do.
Where is the data stored?
In your shop’s database (one table) and on the Rulecart service (servers in Germany; emails are sent from France). A cancellation is deleted three years after the end of the year it arrived in. The plugin registers with WordPress’s tools to export and erase personal data.
Which subscription plugins does it work with?
It works with Subscriptions for WooCommerce (WP Swings), YITH WooCommerce Subscription and WooCommerce Subscriptions. WooCommerce Subscriptions support is in Beta. It is tested on WooCommerce’s open-source subscriptions engine 8.2.0, not yet on the current paid version. Without one of them the form works all the same; you end contracts where you manage them.
What happens when I delete the plugin?
Its settings, its key and its table are removed. If cancellations are still waiting to be sent to Rulecart, the table stays, so they are not lost.
Screenshots
Changelog
1.0.0
- This is the first release.





