A fee does not show on the cart
Check these on WooCommerce → Checkout Fees, in order:
- The rule is ticked Active and has a name.
- The amount is not 0 — a charge of nothing is never added.
- The condition really matches this cart. "The goods are worth at most 20" means the lines' subtotal before coupons, shipping and tax.
- A country condition uses two-letter codes (
GB,FR), not names. - Free edition: the rule is not one the full edition wrote. A rule with a percentage, a discount or more than one condition carries a note on the screen and is not charged by the free edition.
Then press Update cart — fees are worked out again on every recalculation, not when the screen is saved.
The fee is charged twice
It is not this plugin adding the same fee twice: fees are recomputed from scratch on every pass. Look for a second rule with a similar name, or for both editions running with something else re-adding fees. If both Gatemi editions are active, the free one stands down on its own and says so under its row on the Plugins screen.
Two rules both apply. Which one wins?
Both. Rules do not compete — every rule that matches adds its own fee line. If you want only one, give them conditions that cannot both be true.
Does it work with the Cart and Checkout blocks?
The fees do. They are added through woocommerce_cart_calculate_fees, which the Cart block, the Checkout block and the Store API all recalculate through, and they show as fee lines.
So does the insurance tick box. On the classic cart and checkout it sits in the totals table; on the Cart and Checkout blocks it is drawn in the order summary by one small script, which loads only on a page showing one of those blocks while insurance is offered. Ticking it there updates the cart straight away — the charge appears as a fee line — and an order placed through the Checkout block carries the same Shipping insurance record as a classic one. It is never ticked for the shopper on either.
My payment-method surcharge does not change when the shopper picks another method — Full edition
On the classic checkout, choosing a payment method triggers WooCommerce's own checkout refresh, which recalculates fees. The Checkout block does not necessarily recalculate the cart when only the payment method changes, so a payment-method condition may lag behind the choice there. Test a surcharge on your own checkout before relying on it; the classic checkout behaves predictably.
Why does a surcharge appear before anybody chooses a payment method? — Full edition
Because the checkout already has one selected. When nothing has been chosen yet, the plugin reads the first available gateway — the one WooCommerce bills through if the shopper changes nothing.
Is the fee taxed?
Free edition: no, every fee is untaxed. Full edition: tick Taxable on the rule and WooCommerce charges tax on it at the standard rate. Whether a surcharge or handling fee should be taxed where you sell is a question for your accountant.
Can I give a discount for bank transfer? — Full edition
Yes: Charge A percentage, Of -2, condition The chosen payment method is one of bacs. A negative amount is a discount.
Does it work with page caching?
Yes. The cart and checkout are not cached by any well-configured page cache, and the plugin loads no stylesheet on the storefront and only one small script, on a page showing the Cart or Checkout block. Nothing it does needs a cache exclusion.
Is it compatible with HPOS?
Yes. Both editions declare compatibility with High-Performance Order Storage. The insurance record is written through the order object, and the Shipping insurance box appears on both the HPOS and the classic order screen.
What does an order show afterwards?
Each fee is a fee line on the order, in WooCommerce's own totals and in every email. An insured order also shows a Shipping insurance box with the value covered and the charge as it was taken. Changing a rule later does not change past orders.
Moving from the free edition to the full edition
Install and activate the full edition. Both editions read gmfe_rules and gmfe_settings, so every rule and the insurance settings are already there, and past orders still show their insurance record. The free edition stands down while the full edition is active; you can deactivate it.
Going back the other way, the free edition shows the first three rules, keeps the rest untouched, and charges only those it can show on its own screen.
What does uninstalling remove?
- Free edition: deletes
gmfe_settingsandgmfe_rules— but only when the full edition has never been configured on this site (nogmfe_licenseoption). Otherwise it leaves them for the full edition. - Full edition: deletes
gmfe_settings,gmfe_rules,gmfe_license, the cached update data and its licence-check cron event. - Neither touches an order. Fee lines and the insurance record stay on every past order.
