Skip to content

Krompago: WooCommerce checkout fees and surcharges

Krompago adds one or more fees to the WooCommerce cart and checkout. Each fee is either a fixed amount or a percentage of the product subtotal including product tax. Fees use the official WooCommerce fees API (WC_Cart::add_fee), so they appear in the cart totals, on the checkout page and on the resulting order, the same way shipping or tax does, with no extra wiring for emails or reports.

  • As many fees as you need, each one a fixed amount or a percentage of the cart contents subtotal including the tax on those items.
  • Taxable per fee, tick Taxable and WooCommerce runs the fee through your standard tax rules; leave it off for a tax-free line.
  • Master switch, Enable fees turns every fee off at once without deleting the rows you set up.
  • Per-fee enable toggle, keep a fee row saved but stop charging it, independently of the master switch.
  • One settings screen under WooCommerce > Surcharge, a repeatable fee table that works with or without JavaScript.
  • No external services, no account, no tracking. Everything stays in your database.

Everything sits on one screen, WooCommerce > Surcharge, and needs the manage_woocommerce capability.

Setting What it does
Enable fees Master switch. Off means no fee reaches any cart, whatever the rows below say.
Label The line customers read in the cart, at checkout and on the order. A row without a label is skipped.
Type Fixed amount adds the same sum to every order. Percentage of cart scales with the product subtotal including product tax.
Amount In the store currency for a fixed fee, for example 3.50. For a percentage, 0 to 100: 2.5 adds 2.5%.
Taxable On: WooCommerce taxes the fee at your standard rate. Off: the fee is added tax-free.
Enabled Off keeps the row saved and stops charging it.
Add fee / Remove fee Adds or removes a row. There is no limit on the number of rows.

Configuration explains each field in detail.

On every cart calculation (woocommerce_cart_calculate_fees), Krompago checks the master switch, then adds each enabled fee that has a label and a resolved amount above zero. A fixed fee adds its amount once. A percentage fee is calculated on the cart contents subtotal including line tax, before existing fees and shipping, and is capped at 100%. Two fees that share a label stay distinct, the second gets a #N suffix so WooCommerce never silently merges them.

There are no conditional rules (cart minimums, payment-method or country targeting) in the free edition. A fee that is enabled and has an amount applies to every cart while the master switch is on.

When Dankon (Tips and Gratuity) is active, the settings screen says so. The tip and your fees go into the cart as separate fee lines, and a percentage fee is worked out on the cart subtotal, not on the tip.

Two filters change what the free plugin charges: surcharge/fee_applies skips every fee for the current request, and surcharge/fee_amount changes the amount of one fee row before it is added. Fee recipes has a surcharge/fee_applies example; Configuration covers both.

Krompago declares compatibility with HPOS (custom order tables) and the Cart and Checkout Blocks, so fees apply on both the classic and block-based checkout. It requires WooCommerce to be active and shows an admin notice if it is not.

Krompago Pro extends the free plugin with advanced features:

  • Fee-exempt user roles, exempt specific customer roles (e.g. wholesale or staff) from checkout fees.
  • Tiered fees by cart value, vary fee amounts based on the customer's cart subtotal range.
  • Product and category rules, apply a fee only when selected products or categories are in the cart, or skip it when they are.
  • Schedule windows, limit a fee to a date range and/or selected weekdays.
  • Surcharge Reports, per-fee totals and tax collected over completed orders, with a CSV export.

Free and PRO

Krompago Pro is a separate paid plugin that extends Krompago. The free edition is not a trial and its features stay available without a time limit.

FeatureFreePRO
Fixed and percentage feesYesYes
Multiple fees at onceYesYes
Per-fee enableYesYes
Custom receipt labelYesYes
Taxable feesYesYes
Fee-exempt roles-Yes
Tiered fees-Yes
Per-product and per-category fees-Yes
Schedule windows-Yes
Per-fee reporting-Yes