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
Supporting organizations: 
Development and Support

Project information

Releases