Can I Pass WooCommerce Gateway Fees to the Customer?

What's Actually Possible in WooCommerce

A surcharge or payment-fee plugin can calculate an additional amount based on the order total (a flat percentage is the most common approach, mirroring how the gateway itself typically charges the store) and add it as a visible line item at checkout, so the customer sees and pays it directly rather than it being absorbed into the product price.

Why This Needs Care Before Implementing

  • Several major card networks and gateways prohibit surcharging in their merchant terms of service — violating this can risk the merchant account itself, which is a much bigger problem than the fee revenue is worth.
  • Many countries and US states regulate or ban credit card surcharging specifically (debit cards are sometimes treated differently), and the rules vary significantly by jurisdiction — this needs actual legal confirmation for the store's specific location and customer base, not an assumption either way.
  • Where surcharging is permitted, some jurisdictions require specific disclosure language and a cap on the percentage charged, which a generic plugin may not enforce automatically.
  • An alternative some stores use instead is a general "convenience fee" not tied specifically to card processing, or simply building the cost into pricing rather than surfacing it as a separate line — both sidestep the card-network restriction entirely.

How to Do It Properly

  1. Check the specific gateway's merchant agreement for any surcharging prohibition before doing anything else.
  2. Confirm the legal position for the store's jurisdiction, and every customer jurisdiction served if selling internationally, ideally with actual legal advice given how much this varies.
  3. If proceeding, use a plugin built specifically for compliant surcharging, including required disclosure text and any percentage caps.
  4. Consider whether a non-surcharge alternative (adjusted pricing, a general handling fee) achieves the same goal with less regulatory risk.

Need help implementing this correctly once the legal side is confirmed? See custom WooCommerce development.

Available for new projects

NEXT STEP

Rather have it fixed than keep reading?

Based in Dhaka, Bangladesh — serving clients worldwide. Tell me what's happening and you'll have a reply within one working day.

  • Reply within one working day
  • Fixed quote before work starts
  • UK, EU and US hours covered