Drupal is a registered trademark of Dries Buytaert
File Entity (fieldable files) 8.x-2.7 Minor update available for module file_entity (8.x-2.7). OpenAI Provider 1.2.4 Minor update available for module ai_provider_openai (1.2.4). Intercept 2.0.27 Minor update available for module intercept (2.0.27). Domain Extras 3.0.4 Minor update available for module domain_extras (3.0.4). Content First 2.3.0 Minor update available for module content_first (2.3.0). OpenCulturas 3.0.5 Minor update available for distribution openculturas (3.0.5). Menu UI Extras 1.0.0 Initial release available for module menu_ui_extras (1.0.0)! Permissions Analyzer 1.0.1 Minor update available for module permissions_analyzer (1.0.1). Session Limit Module session_limit crossed 1,000 active installs. Kint 2.3.4 Module kint updated after 6 months of inactivity (2.3.4).

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

Activity

Total releases
2
First release
Jun 2026
Latest release
1 month ago
Releases (12 mo)
2 ▲ from 0
Maintenance
Active

Releases

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