Description
Lexiata Checkout Fees lets you charge an extra fee or apply a discount on the checkout page based on which payment gateway your customer chooses.
Common use cases:
- Charge a Cash on Delivery handling fee
- Pass on payment processor fees (e.g. 2.9% for Stripe)
- Offer a discount for customers who pay by direct bank transfer
- Add a flat surcharge for international payment methods
- Apply gateway fees only to specific product categories or countries
Key features
- Two fee slots per gateway — combine a flat handling fee with a percentage processing fee
- Fixed amount or percent of cart
- Min and max fee bounds
- Coupon-aware rules (apply only when no coupons / only when coupons present)
- Country and state include / exclude lists
- Product category include / exclude lists
- Min and max cart amount thresholds
- Per-product gateway fee overrides
- Global caps on total fees and total discounts per order
- Optional taxable fees with tax class selection
- Multiple rounding strategies
- HPOS (High-Performance Order Storage) compatible
- Cart Block and Checkout Block compatible
- Translation ready
Built for WooCommerce 2026
This plugin is built against the latest WordPress and WooCommerce architecture: HPOS, Cart Block, Checkout Block, and StoreAPI extension callbacks. No tracking, no upsells, no third-party calls — just clean code that does one job well.
Installation
- Upload the
lexiata-checkout-feesfolder to/wp-content/plugins/, or install through the WordPress Plugins screen directly. - Activate the plugin.
- Go to WooCommerce Settings Payment Gateway Fees to configure.
FAQ
-
Does this work with the new Cart Block and Checkout Block?
-
Yes. The plugin registers as a Cart/Checkout Block integration and triggers a server round-trip whenever the customer changes payment method, so the fee always reflects the chosen gateway.
-
Is it HPOS compatible?
-
Yes. The plugin declares compatibility with custom order tables and uses CRUD (
wc_get_order,WC_Order_Item_Fee) throughout — no direct post meta access for orders. -
Can I give a discount instead of a fee?
-
Yes. Enter a negative value in the Fee value field.
-
Will the fee be taxable?
-
Each fee slot has its own taxable toggle and tax class, so you can mix taxable and non-taxable fees on the same gateway.
-
Does the plugin send any data anywhere?
-
No. The plugin does not contact any external server, send tracking data, or include any third-party scripts.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“Lexiata Checkout Fees” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Lexiata Checkout Fees” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.0.0
- Initial release.