Description
The Payment Gateway Based Fees addon adds extra fees or discounts to the WooCommerce checkout based on the payment method selected by the customer, allowing you to charge a fixed amount or a percentage per gateway (bank slip, credit card, PayPal, bank transfer). It is aimed at those who sell physical or digital products and need to pass on processing costs, or encourage the use of cheaper methods, with rules configurable per gateway directly from the store dashboard.
Main Features of Payment Gateway Based Fees
- Fee per payment gateway
Sets a specific additional charge for each payment method active in the store. - Fixed amount or percentage
Defines the fee as a fixed amount or as a percentage of the cart subtotal. - Discount application
Allows negative values to encourage the use of gateways with lower operating costs. - Tax calculation on the fee
Includes or excludes taxes when calculating the additional fee according to the store’s tax settings. - Transparent display at checkout
Shows the fee in the cart totals row as soon as the customer selects the desired gateway.
Benefits of Payment Gateway Based Fees
- Transaction cost recovery
Passes on to the consumer the fees charged by card operators and processors. - Encourages cheaper methods
Offers a discount on bank transfers or bank slips, reducing the monthly bill with acquirers. - Profit margin preserved per order
Keeps the net amount received close to the list price, without absorbing fees. - Quick store setup
Enables charging rules in minutes, without requiring code or extra plugins.
Who Is Payment Gateway Based Fees For?
- Those who sell physical or digital products on WooCommerce and want to pass the credit card fee on to the customer.
- You who need to offer a discount on payments via PIX, bank slip, or bank transfer to reduce costs with acquirers.
- Those who operate with cash on delivery (COD) and want to add a service fee to cover operational risk.
How to Download Payment Gateway Based Fees
The Payment Gateway Based Fees is available for download here at Ultrapack. After obtaining the .zip file, install it in Plugins > Add New > Upload Plugin, select the file, and activate. The per-gateway fee rules appear within each payment method in WooCommerce > Settings > Payments.
Charging each gateway differently is one of the simplest levers to protect margin in WooCommerce stores with significant installment credit card volume. The Payment Gateway Based Fees addon centralizes this logic in a single configuration point, avoiding manual customizations in functions.php or filter hooks, and keeping the rule visible to the customer during checkout.
Frequently asked questions
Is WooCommerce Payment Gateway Based Fees GPL-licensed?
Yes. WooCommerce Payment Gateway Based Fees is distributed under the GPL (GNU General Public License). You may legally use, modify and redistribute it on as many sites as you want.
Can I use WooCommerce Payment Gateway Based Fees on multiple sites?
Yes. You can install WooCommerce Payment Gateway Based Fees on as many sites as you want. Only automatic updates through Ultrapack Auto Updater have a limit: from 3 to 80 sites, depending on the plan.
How much does WooCommerce Payment Gateway Based Fees cost at Ultrapack?
WooCommerce Payment Gateway Based Fees costs US$2.99 as a single purchase, and it is also included in the subscription plans starting at US$12/mo (VIP I).
Does WooCommerce Payment Gateway Based Fees include updates?
Yes. The current version of WooCommerce Payment Gateway Based Fees is 5.2.2, published at Ultrapack on Apr 17, 2026. Subscribers update straight from the WordPress dashboard with UAU (Ultrapack Auto Updater).
Is WooCommerce Payment Gateway Based Fees scanned before publication?
Yes. Every version of WooCommerce Payment Gateway Based Fees goes through a malware scan (ClamAV and YARA rules, at UltraHub) before it is published.
What are the requirements for the plugin WooCommerce Payment Gateway Based Fees?
Requires WordPress 6.0 or higher and PHP 7.4 or higher. Tested up to WordPress 6.9.3.
What changed in this version
Version 5.2.2 2026-04-06
- Version bump: checked compatibility for WP 6.9.3 and WooCommerce 10.6.2
- Disable outdated code in ..\js\wc_additional_fees.js
Version 5.2.1 2025-10-07
- checked compatibility for WP 6.8.2 and WooCommerce 10.2.2
- added checks to pass verification of WC deploy process
- updated version date in changelog for better frontend formatting (contributed by and thanks to Greg - WooCommerce Marketplace Operations - [email protected])
Version 5.2 2025-04-01
- added: in active beta support for automatic tax calculation in WC Tax and Shipping plugin - a hack only, because there is no relyable hook for second calculation caused by taxjar
- added: parameters to filter wc_add_fees_wc_calculated_totals_done_check (should be deprecated when using WC Tax and Shipping plugin)
Version 5.1.4 2025-02-28
- tweak: WooPayments compatibility - replaced $gateway->title with $gateway->get_title
Version 5.1.3 2025-02-03
- fixed: error in wc_additional_fees_block_checkout.js when global object wc does not exist
Release notes published by the developer.
How to install
Automatic updates: this item is updated by the Ultrapack Auto Updater. With it installed, the new version shows up in your dashboard like any other WordPress update (how to set it up).
- Download the file
woocommerce-additional-fees.zip. - In the WordPress dashboard, go to Plugins > Add New > Upload Plugin.
- Select the file
woocommerce-additional-fees.zipand click Install Now. - Click Activate.
Requirements: Requires WordPress 6.0 or higher and PHP 7.4 or higher. Tested up to WordPress 6.9.3.
Stuck on a step? Open a ticket telling us which one you stopped at.

UAU Ready