Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Release: Opensolr Search 4.5.0 Minor update available for module opensolr_search (4.5.0). Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Usage Milestone: Simplify Module simplify crossed 10,000 active installs. Usage Milestone: Views Reference Filter Module entityreference_filter crossed 10,000 active installs. Usage Milestone: Dropdown Language Module dropdown_language crossed 10,000 active installs. Usage Milestone: Paragraphs Browser Module paragraphs_browser crossed 10,000 active installs. Usage Milestone: OpenAPI Module openapi crossed 10,000 active installs. Usage Milestone: Decoupled Router Module decoupled_router crossed 10,000 active installs. Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

Commerce Fee

186 sites Security covered Drupal 10–11 Commerce ecosystem
View on drupal.org

The Commerce Fee module allows you to add custom fees to Drupal Commerce orders. These fees can be fixed amounts or percentages and can be applied conditionally based on various factors like order total, payment method, or user roles. Fees are displayed in the order summary and stored as adjustments to the order.

The Commerce Fee module allows you to define and apply custom fees to Drupal Commerce orders.

These fees can represent service charges, surcharges, environmental levies, payment gateway costs, or any other non-product cost that needs to be added to an order total.

Key Features

  • ✅ Add fixed or percentage-based fees
  • ⚙️ Apply fees conditionally based on:
    • Order total
    • Selected payment or shipping method
    • User roles or customer profiles
    • Custom business logic via plugin system
  • 📦 Support for multiple fees per order
  • 🧩 Extensible via custom fee type plugins
  • 🧾 Fees appear in the order summary and are stored as order adjustments
  • 🔄 Fees can be automatically applied or manually triggered by custom code

Example Use Cases

  • Add a credit card surcharge when a specific payment method is selected
  • Apply an environmental handling fee on electronics orders
  • Include a service fee for phone or in-person orders
  • Add a delivery surcharge based on the selected shipping method

Compatibility

  • Compatible with Drupal Commerce 2.x and 3.x
  • Fully integrated into the Commerce order and adjustment system

Depends on

Dependencies of the latest stable release

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
3
Tracked since
Jul 2025
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 3
Maintenance
Dormant

Release Timeline

Releases

Version Type Core Release date
1.1.0 Stable 10–11 Jul 11, 2025
1.0.0 Stable 10–11 Jul 11, 2025
1.x-dev Dev 10–11 Jul 10, 2025