Skip to main content
Checkout Extra Fee & Surcharge for Magento 2 — A build-to-order Magento 2 / Adobe Commerce extension that adds configurable e — 1/1Illustrative preview

A build-to-order Magento 2 / Adobe Commerce extension that adds configurable extra fees and surcharges

(gift-wrap, handling, insurance, COD/payment surcharge) to the cart and checkout totals. Built, installed, and supported by

ECOSIRE on your store.

What is Checkout Extra Fee & Surcharge for Magento 2?

A build-to-order Magento 2 / Adobe Commerce extension that adds configurable extra fees and surcharges (gift-wrap, handling, insurance, COD/payment surcharge) to the cart and checkout totals. Built, installed, and supported by ECOSIRE on your store. Built to order by ECOSIRE for Magento 2 / Adobe Commerce (build-to-order) — indicative price from $999.00 USD; request a quote for a scoped proposal.

Key Features

Fixed-amount and percentage-based fee rules, configurable per website and store view via system.xml scoped settings
Per payment-method surcharge — e.g. COD or card surcharge keyed off the selected payment method at checkout
Gift-wrap, packing/handling, and shipment-insurance fees as distinct, separately labeled total lines
Custom quote total collector registered in sales.xml / quote_totals.xml so each fee renders in cart, order, invoice, and credit memo
Conditional fee logic by cart subtotal, customer group, shipping country, or store scope
Taxable fee handling integrated with Magento's tax module and a configurable tax class for correct VAT/GST
Fee data persisted to quote, order, and address tables for consistent reporting, refunds, and PDF documents
Displayed in Luma and Hyvä checkout plus the GraphQL and REST cart totals for headless / PWA Studio storefronts
Admin configuration screens protected by a dedicated ACL resource in acl.xml
Minimum/maximum fee caps and rounding controls to keep percentage fees predictable
Multi-currency aware so fixed fees convert correctly across store-view currencies
Built to your Magento version — Open Source or Adobe Commerce — with upgrade-safe plugins/observers rather than core edits

Built to order, done for you

No DIY setup — a working app, built, installed and supported by ECOSIRE.

  1. 1

    You order

    Start with a one-time build price. We scope it with you at kickoff.

  2. 2

    We build & install

    ECOSIRE builds, configures and installs it on your Magento 2.

  3. 3

    Go live + support

    You go live in about one working week, with two weeks of go-live support. Defects in the code we deliver are fixed free of charge.

About this Product

Magento 2 lets merchants charge for products, shipping, and tax — but there is no native way to add a separate line-item fee at checkout. If you need to recover payment processing costs, COD handling, gift-wrap, packing materials, or shipment insurance, you either eat the cost or hack it into shipping/tax. This extension closes that gap cleanly.

ECOSIRE builds a dedicated module under app/code/Ecosire/CheckoutExtraFee that registers one or more custom total collectors in etc/sales.xml and etc/quote_totals.xml, so each fee appears as its own row in the cart summary, order, invoice, and credit memo — not buried inside shipping. Fees are applied through the quote total-collector pipeline and persisted to quote, order, and their address tables, so reporting, refunds, and PDF documents all stay consistent.

Rules are admin-configurable: fixed or percentage amounts, per payment-method surcharges (for example a COD or card surcharge keyed off quote->getPayment()->getMethod()), and conditional logic by cart subtotal, customer group, website/store-view scope, or shipping country. Fees can be flagged taxable, integrating with Magento's tax module and your configured tax class so VAT/GST is calculated correctly.

The fee surfaces in the Luma checkout, Hyvä, and the GraphQL/REST cart APIs, so headless and PWA Studio storefronts display it too. All admin screens are gated behind a proper ACL resource in acl.xml, and configuration lives in system.xml under Stores → Configuration.

Because this is build-to-order, ECOSIRE scopes the exact fee rules you need, builds the module against your Magento version (Open Source or Adobe Commerce), installs it on your environment, and supports it afterward. This is not an instant Adobe Commerce Marketplace download — it is a tailored extension delivered with a clear lead time.

What you get

  • A custom Magento 2 module (Ecosire/CheckoutExtraFee) delivered under app/code or as a Composer package, namespaced to avoid core conflicts
  • Installation on your Magento environment — setup:upgrade, di:compile, and static-content deploy verified on staging then production
  • Admin configuration of your specific fee rules (fixed/percent, payment-method surcharges, conditions, tax class) under Stores → Configuration
  • Frontend integration tested in your active theme (Luma or Hyvä) plus GraphQL/REST totals if you run headless
  • README / handover doc covering each setting, the ACL resource, and how to add or adjust fee rules
  • A short post-install validation pass: cart, order, invoice, and credit memo all show the fee correctly
  • Source code ownership and a defined post-launch support window for fixes and small adjustments

Who this is for

Cost-recovery store owner

A merchant losing margin to card/COD processing fees and packing costs who needs to pass a transparent, itemized surcharge to the customer at checkout instead of absorbing it.

Adobe Commerce operations manager

Runs a multi-website Adobe Commerce install and needs scoped, taxable fee rules that behave correctly across store views, payment methods, and the existing tax setup without forking core.

Headless / PWA storefront lead

Operates a GraphQL-driven Hyvä or PWA Studio frontend and needs extra fees exposed through the cart API and totals, not just on the legacy Luma checkout.

How Checkout Extra Fee & Surcharge for Magento 2 Compares

CriterionECOSIRECustom BuildCompetitorMagento 2 Native
Separate, labeled fee line in cart, order, invoice & credit memoIncludedPartial supportIncludedNot included
Per payment-method surcharge (COD/card)IncludedPartial supportPartial supportNot included
Tailored to your exact fee rules and conditionsIncludedIncludedNot includedNot included
Installed & verified on your environment by the builderIncludedPartial supportNot includedNot included
Taxable fee handling integrated with Magento tax moduleIncludedPartial supportIncludedNot included
GraphQL / REST cart totals for headless & HyväIncludedPartial supportPartial supportNot included
Instant self-service downloadNot includedNot includedIncludedPartial support
Upgrade-safe (no core edits)IncludedPartial supportPartial supportNot included

Frequently Asked Questions about Checkout Extra Fee & Surcharge

How long until the extension is delivered and live on my store?

Because this is build-to-order, ECOSIRE first confirms your exact fee rules, Magento edition, and version. A standard fixed/percentage and payment-method surcharge build is typically delivered, installed on staging, and promoted to production within about one working week. More complex conditional logic or headless GraphQL work can extend that — you get a firm timeline before any work starts. This is not an instant Marketplace download; it is a tailored module installed and verified on your environment.

What ongoing support and updates do I get after launch?

Every build includes a defined post-launch support window for bug fixes and minor configuration adjustments. Because the module uses plugins, observers, and total collectors rather than core edits, it is upgrade-safe across Magento patch releases. For major version upgrades (for example a jump across Magento minor versions) or new fee rules, ECOSIRE offers continued paid maintenance. You own the source code either way.

Does the fee work with payment-method surcharges like COD?

Yes. A common configuration is a COD or card surcharge applied only when the customer selects that payment method. The fee is evaluated against the quote's selected payment method during total collection, so it appears (or disappears) dynamically as the shopper switches methods at checkout.

Will the fee be taxed correctly?

Each fee rule can be flagged taxable and assigned a tax class. When taxable, the fee integrates with Magento's tax module so VAT/GST is calculated against your configured tax rules and displayed on the order, invoice, and credit memo. Non-taxable fees are added as a clean pass-through line.

Does this work on Adobe Commerce and headless/Hyvä storefronts?

Yes. The module is built for both Magento Open Source and Adobe Commerce, and respects website/store-view scope. The fee is exposed through the standard quote totals plus the GraphQL and REST cart APIs, so Hyvä, PWA Studio, and other headless frontends can render it. ECOSIRE tests it in your specific theme as part of installation.

Request a quote

Checkout Extra Fee & Surcharge

A build-to-order Magento 2 / Adobe Commerce extension that adds configurable extra fees and surcharges (gift-wrap, handling, insurance, COD/payment surcharge) to the cart and checkout totals. Built, installed, and supported by ECOSIRE on your store.

  • Fixed-amount and percentage-based fee rules, configurable per website and store view via system.xml scoped settings
  • Per payment-method surcharge — e.g. COD or card surcharge keyed off the selected payment method at checkout
  • Gift-wrap, packing/handling, and shipment-insurance fees as distinct, separately labeled total lines
  • Custom quote total collector registered in sales.xml / quote_totals.xml so each fee renders in cart, order, invoice, and credit memo

Request a Quotation

Tell us about your Checkout Extra Fee & Surcharge requirements and we'll send pricing, licensing options and a tailored proposal — usually within one business day.

No payment now. This sends a quote request to our team — we'll follow up by email with pricing and next steps.