Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Sodium 3.0.2 Minor update available for module sodium (3.0.2). Release: SynPay - Sber Ykassa Robokassa 2.0.8 Minor update available for module synpay (2.0.8). Release: Ai Text 2 Speech 1.2.1 Minor update available for module tts (1.2.1). Release: Palette🎨 1.0.4 Minor update available for module canvas_palette (1.0.4). Release: Did this help? 2.0.9 Minor update available for module did_this_help (2.0.9). Release: Horizon Aid theme 1.0.1 Minor update available for theme vartheme_bs5_horizonaid (1.0.1). Release: Educare theme 1.0.1 Minor update available for theme vartheme_bs5_educare (1.0.1). Release: Vartheme Bs5 5.0.3 Minor update available for theme vartheme_bs5 (5.0.3). Usage Milestone: Term CSV Export Import Module term_csv_export_import crossed 1,000 active installs. Module Revived: Ai Text 2 Speech 1.2.0 Module tts updated after 10 months of inactivity (1.2.0).

commerce_order_withdrawal

13 sites Security covered

Part of the Commerce ecosystem · 354 projects

View on drupal.org

This module provides a customer-facing form for customers to request withdrawal from an order, often related to consumer rights. It records the withdrawal request, sends a confirmation email to the customer (and optionally the merchant), but does not automatically cancel or refund the order, leaving those actions to staff or custom code.

This module is not stable yet, use with caution!

Commerce Order Withdrawal adds a customer-facing order withdrawal form (the EU right of withdrawal) to Drupal Commerce.

A customer identifies an order, submits the form, and the module records the request on the order and sends a confirmation email (with an optional BCC to the merchant). It is deliberately lightweight: it records and notifies — it does not cancel or refund the order, leaving that to your staff or to custom code reacting to its events.

1. Install

composer require maetva/commerce_order_withdrawal
drush en commerce_order_withdrawal -y
drush cr

2. Grant the permission

At /admin/people/permissions, give "Use the order withdrawal form" (access commerce order withdrawal form) to the relevant roles.

You may want to prohibit anonymous to use this form on a non-guest-checkout. The user dedicated form stays usable.

3. Enable per order type (opt-in)

At /admin/commerce/config/order-types/{type}/edit → open the Order withdrawal section:

  • ☑ Enable order withdrawal for this order type (required — nothing is withdrawable until this is on)
  • Withdrawal confirmation subject — token-aware ([commerce_order:*]); empty = default
  • Withdrawal confirmation BCC — token-aware; empty = no copy

Email body = the commerce-order-withdrawal-confirmation Twig template → override in your theme to change wording (no message field in config).

4. (Optional) Show the withdrawal link

  • Order page: enable the Withdrawal link field at …/edit/display
  • Customer orders View: add the Order withdrawal link field

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
2
Tracked since
Jun 2026
Latest release
2 months ago
Releases (12 mo)
2 ▲ from 0
Maintenance
Active

Releases

Version Type Core Release date
1.0.0-alpha1 Pre-release 10–11 Jun 19, 2026
1.x-dev Dev 10–11 Jun 15, 2026