MITS One Click Return – EU 2023/2673

Popis

One Click Return for WooCommerce is a compliance-first plugin that implements the digital right of withdrawal required by EU Directive 2023/2673 (Art. 11a) directly in your WooCommerce store.

Built and maintained by MITS – a software house from Lublin, Poland, specialising in WooCommerce, web applications and e-commerce solutions.

Unlike generic refund plugins, this plugin was built from the ground up for the directive – every feature maps directly to a legal requirement.

How it works

  1. Customer clicks „Return order“ – from their account, the footer link, or directly from the order confirmation email.
  2. A 2-step form opens: Step 1 identifies the order (email + order number, no login required). Step 2 selects items and confirms.
  3. The customer receives an instant confirmation email (required by Art. 11a as a „durable medium“).
  4. Store staff receives a notification and manages the withdrawal from WooCommerce admin.

Key features

Compliance out of the box

  • ✅ Compliant with EU Directive 2023/2673 / Art. 11a
  • ✅ Persistent footer link on every page (Art. 11a requirement)
  • ✅ Confirmation email as durable medium (Art. 2(10) of Directive 2011/83/EU)
  • ✅ Magic link – customers access their form without logging in
  • ✅ Statutory exclusions (Art. 38 of the Consumer Rights Act) – mark product categories that are exempt
  • ✅ Configurable withdrawal period (default: 14 days as required by law)
  • ✅ GDPR: built-in data exporter and eraser

WooCommerce integration

  • 2-step withdrawal form via shortcode [mits_withdrawal_form]
  • „Withdraw“ button in My Account Orders
  • Link in WooCommerce order confirmation and delivery emails
  • Admin cockpit: overview dashboard, submissions list, settings – all in one place
  • Custom post type for withdrawals with 5 statuses: Pending, Confirmed, Goods Received, Refunded, Cancelled
  • Status change directly from the withdrawal edit screen
  • HPOS (High-Performance Order Storage) compatible

Developer-friendly

  • Clean PHP 8.1+ codebase with strict types
  • Hooks and filters at every step (mits_withdrawal_submitted, mits_withdrawal_is_product_excluded, …)
  • Composer autoloader, PSR-4 namespace MITS\Withdrawal

Requirements

  • WordPress 6.4+
  • WooCommerce 10.5+
  • PHP 8.1+

Languages

  • English
  • Polish (pl_PL)

Support

Documentation, Pro add-on, and support – mits.pl.

Found a bug? Open an issue on the support forum.

Snímky obrazovky

Instalace

  1. Upload the mits-withdrawal folder to /wp-content/plugins/.
  2. Activate the plugin through Plugins Installed Plugins.
  3. Go to WooCommerce Odstąpienia (or Returns) in the admin sidebar.
  4. Create a page for the form (e.g. „Withdrawal form“) and select it in settings – the shortcode is inserted automatically.
  5. Fill in the return address and notification email.

That’s it. The footer link, My Account button, and order email link are enabled by default.

Nejčastější dotazy

Is this plugin compliant with EU Directive 2023/2673?

Yes. The plugin was built specifically for Art. 11a of Directive 2023/2673, which requires a permanent, easily accessible digital function for exercising the right of withdrawal. The footer link, 2-step form, and instant confirmation email all map directly to the directive’s requirements.

Do customers need an account to submit a withdrawal?

No. Step 1 of the form verifies the customer by email + order number (magic link). No login required.

Can I customise the email confirmation?

Yes – you can override the template by copying templates/emails/confirmation-html.php to your theme at mits-withdrawal/emails/confirmation-html.php.

Does it work with WooCommerce HPOS?

Yes, HPOS (High-Performance Order Storage / custom order tables) compatibility is declared in the plugin.

Where are withdrawals stored?

As a custom post type (mits_withdrawal) with custom statuses. All customer data is stored as post meta and is included in WordPress’s personal data exporter/eraser (GDPR tools).

How do I process a withdrawal (accept or reject it)?

Open the withdrawal from WooCommerce Returns, change the status to Confirmed or Cancelled using the Actions metabox, and save.

Does it integrate with payment gateways for automatic refunds?

Yes. When a withdrawal reaches the Refunded status the plugin fires mits_withdrawal_pro_trigger_refund($order, $withdrawal_id). Hook this action in your theme or a small companion plugin to call your gateway’s refund API (PayU, Przelewy24, etc.).

Recenze

Pro tento plugin nejsou žádné recenze.

Autoři

MITS One Click Return – EU 2023/2673 je otevřený software. Následující lidé přispěli k vývoji tohoto pluginu.

Spolupracovníci

Plugin „MITS One Click Return – EU 2023/2673“ byl přeložen do 1 jazyku. Děkujeme všem překladatelům za jejich pomoc.

Přeložte “MITS One Click Return – EU 2023/2673” do svého jazyka.

Zajímá vás vývoj?

Prohledejte kód, podívejte se do SVN repozitáře, nebo se přihlaste k odběru protokolu vývoje pomocí RSS.

Přehled změn

0.4.2

  • Added: „One Click Return“ menu item in WooCommerce sidebar is now highlighted in orange for quick access.

0.4.1

  • Fixed: admin menu label renamed to „One Click Return“ to match the plugin name on WordPress.org.
  • Fixed: colour preview in settings now renders on a white background so form elements are readable.
  • Fixed: WP colour picker button styled to fit the dark admin theme.

0.4.0

  • Added: Conditional display — restrict the withdrawal button to selected order statuses or hide it for chosen payment gateways.
  • Added: CSV export of all withdrawal submissions (Admin panel Submissions).
  • Added: Automatic refund hook (mits_withdrawal_pro_trigger_refund) — fires when a withdrawal reaches the Refunded status, ready for PayU / Przelewy24 gateway integration.

0.3.2

  • Changed: English is now the default plugin language (all source strings in EN).
  • Added: Polish (pl_PL) translation for all strings.
  • Fixed: Remaining untranslated strings in email templates.

0.3.1

  • Fixed: Mismatched text domain on the missing-dependency admin notice.
  • Fixed: Unsanitized $_SERVER values used to resolve client IP / user agent.
  • Security/i18n review follow-up.

0.3.0

  • Added: Admin cockpit (dashboard + submissions list + settings, dark theme).
  • Added: Accent colour picker for the form.
  • Added: Configurable refund period.
  • Added: Custom form texts (title, lead, button label, email subject, footer link label).
  • Added: Footer link toggle in settings.
  • Improved: Magic link resender.
  • Improved: HPOS compatibility declaration.

0.2.0

  • Added: My Account „Withdrawals“ tab.
  • Added: Email link injector in WooCommerce order emails.
  • Added: GDPR data exporter and eraser.
  • Added: Rate limiter on form submissions.

0.1.0

  • Initial release.
  • 2-step withdrawal form with magic link.
  • Confirmation email to customer.
  • Shop notification email.
  • Custom post type with 5 statuses.
  • Product category exclusions (Art. 38).