描述
Starting June 19, 2026, the EU Directive 2023/2673 requires e-commerce stores selling to EU consumers to provide an easy-to-use 2-click withdrawal button (Kündigungsbutton) for order cancellations.
This micro-plugin strictly solves this legal requirement without adding unnecessary weight to your site.
Important notice: This plugin is provided 100% free of charge to help the wp community.
If you install it, you accept it as it is, with no dedicated technical support.
If you encounter bugs, please feel free to report them, but active troubleshooting or custom support will not be provided, instead we will release a general update.
If you don’t like this policy, please feel free to choose another plugin. If you love it, a 5-star review is highly appreciated to support our free effort!
Core Features
- 2-Click Cancellation: Injects a native, accessible HTML5
<dialog>in the My Account area for eligible orders (completed within the last 14 days). - Immutable Legal Logs: Maintains a cryptographically hashed log (SHA-256) of all withdrawal requests in an isolated custom table for legal proof.
- 100% HPOS Compatible: Built entirely for WooCommerce High-Performance Order Storage.
- No-Code Styling: Includes a lightweight backend panel to match the button colors and shape (rounded/square) to your theme.
- Zero-Bloat: No jQuery, no heavy frameworks. Just vanilla JS and native browser APIs.
External services
This plugin does not use any third-party or external services. All data processing is handled locally.
安装
- Upload the plugin files to the
/wp-content/plugins/eu-withdrawal-button-litedirectory, or install through the WordPress plugins screen. - Activate the plugin.
- Navigate to WooCommerce > EU Withdrawal to customize your button appearance.
- For Logged-in Customers: The button automatically appears for eligible orders in the My Account section.
- For Guest Users: Create a new page (e.g., “Withdrawal Request”), paste the shortcode
[mpeu_withdrawal_form]inside it, and add the link to your website’s footer.
评价
贡献者及开发者
更新日志
1.2.3
- Added customer confirmation email sent automatically upon withdrawal request (legal proof of receipt for the consumer).
- Security: added per-order rate limiting on the withdrawal endpoint to prevent brute-forcing the billing email of guest requests.
- Security: the stored user agent is now sanitized and length-capped before being written to the legal log.
- Fixed a DB versioning check that caused the log table schema to be re-validated on every admin page load.
- Added idempotency guard so a duplicate submission no longer re-sends notification emails or re-logs the same request.
- Email sending failures (admin and customer notifications) are now logged for easier diagnostics.
1.2.1
- Added automatic admin email notifications for incoming withdrawal requests.
1.2.0
- Major Update: Integrated Professional features into the base version.
- Added Immutable SHA-256 Legal Logs for audit compliance.
- Added No-Code Styling panel under WooCommerce > EU Withdrawal.
- Updated Plugin Name to “EU Withdrawal Button for Woo”.
- Improved security with rigorous sanitization and nonce checks.
- Enhanced UI using native HTML5 Dialog API and CSS Variables.
1.1.1
- Full compatibility with WordPress 7.0.
- Official declaration of WooCommerce HPOS compatibility.
- Improved HTML output security and string escaping.
- Added WC_Order integrity checks for more robust AJAX handling.
- Asset versioning synchronization (v1.1.1).