Overview
Add a fee or a discount depending on the payment method: −3 % for bank transfer, +2 € for cash on delivery. Percentage or fixed amount, classic and block checkout.
- Fee or discount per payment method
- Percentage or fixed amount
- Classic and block checkout
Best for: Stores that accept bank transfer, cash on delivery or costly payment methods
Installation
- Download feely-payment-fees.zip from My account › My plugins or from your order email. Do not unzip it.
- In WordPress, go to Plugins › Add New Plugin › Upload Plugin, choose the zip and click Install Now, then Activate.
Requires WordPress 6.0+, PHP 7.4+, WooCommerce 7.0+. Works with any theme, block themes and page builders.
Features
- Up to 6 rules, one per payment method
- Fee (+) or discount (−), as a percentage or a fixed amount
- Minimum order and maximum amount for each rule
- Calculated on products or products + shipping, taxable or not
- Live update in the classic and the block checkout
- Clear line in the totals, the order, the emails and My account
- Hint next to the method name in the classic checkout; shortcode [feely_preview]
Shortcodes
Paste a shortcode in any page, post, widget or page builder text block.
[feely_preview]
Options of each shortcode are described in the Features above and in the plugin settings page.
For developers
Customize the plugin from your theme’s functions.php or a small plugin, without editing its files (your changes survive updates).
Filters
feely_activefeely_sanitize
add_filter( 'feely_active', function ( $value ) {
// Change $value here.
return $value;
}, 10, 1 );Actions
feely_admin_after_formfeely_admin_before_formfeely_admin_form_end
Updates
Updates are free. When a new version is out, it appears in Dashboard › Updates of your WordPress site and you can install it in one click, or turn on automatic updates in Plugins. This works for the zip downloaded from your Woo-Plugins account; older copies can be replaced by downloading the latest version from My plugins. See the changelog.
Frequently asked questions
Does it work with the block checkout?
Yes, the total is recalculated as soon as the customer selects another payment method.
Can I give a discount instead of a fee?
Yes, enter a negative amount, e.g. -3 for 3% off.
Still stuck?
Write to us with your WordPress and WooCommerce versions and what you tried: we answer by email.