Skip to main content

How to Add Payment Method Fees in WooCommerce (Gateway Surcharges & COD Fees)

Adding payment method fees in WooCommerce is one of the most effective strategies for store owners to offset gateway processing charges, recover courier handling expenses for Cash on Delivery (COD), and incentivize shoppers to use cost-effective payment methods.

Whether you need to charge an extra percentage fee on Cash on Delivery, pass on a credit card processing surcharge, add a flat handling fee for PayPal, or set up scheduled, conditional checkout surcharges, this comprehensive tutorial walks you through every step using the Discount Rules and Dynamic Pricing for WooCommerce plugin.


πŸ“‹ Table of Contents​


πŸ’‘ Why Add Payment Method Fees in WooCommerce?​

Every payment gateway comes with unique transaction costs. Credit card processors like Stripe and Square charge merchant interchange fees (typically 2.9% + $0.30 per order), PayPal charges commercial processing rates, and logistics couriers charge significant handling and insurance fees for Cash on Delivery (COD) cash collection.

By adding a WooCommerce payment method fee, you can:

  1. Protect Profit Margins: Pass gateway transaction fees or courier COD collection surcharges directly to customers who choose high-cost payment methods rather than absorbing them yourself.
  2. Incentivize Low-Cost Payment Gateways: Encourage shoppers to select preferred, lower-cost methods (like Direct Bank Transfer / BACS) by keeping them fee-free or pairing them with negative fee discounts.
  3. Transparent Checkout Experience: Display fees as clear, itemized line items in the cart and checkout order summary, fostering customer trust instead of inflating product base prices across your catalog.
  4. Reduce Fraud & High COD Return Rates: Requiring a nominal Cash on Delivery fee discourages fraudulent or casual orders, significantly reducing failed delivery and Return-to-Origin (RTO) courier expenses.

πŸ“Š Common Payment Gateway Surcharges & Use Cases​

Payment MethodTypical SurchargeFee TypeBusiness Rationale
Cash on Delivery (COD)5% – 10% or $3.00 – $5.00Percentage or Fixed PriceOffsets courier cash-handling fees and mitigates return-to-origin (RTO) courier costs.
Credit Card / Debit Card2.5% – 3.5%Percentage feeRecovers merchant gateway processing fees charged by credit card networks.
PayPal3.49% + $0.49Percentage or Fixed PriceOffsets standard PayPal merchant rates for e-commerce transactions.
Direct Bank Transfer (BACS)Negative Fee (-3% to -5%)Negative PercentageActs as an automatic checkout discount / incentive for zero-fee bank transfers.
Cryptocurrency / Web31% – 2%Percentage feeCovers blockchain gas fees or dynamic crypto-to-fiat merchant conversion costs.

βš™οΈ Fee Types Explained (Fixed, Percentage, Per Item)​

The plugin gives you 4 distinct fee calculation models to handle every pricing scenario:

Checkout Fee Type options

1. Fee (Order-Level)​

  • Price fee (Fixed Amount): Adds a flat monetary charge to the entire order, regardless of cart value or item count.
    Example: A flat $5.00 Cash on Delivery processing surcharge.
  • Percentage fee: Calculates a percentage surcharge based on the qualifying cart subtotal.
    Example: A 10% surcharge on a $45.00 order subtotal adds a $4.50 fee line item.

2. Fee Per Item (Item-Level)​

  • Price fee per item: Multiplies a fixed fee amount by the total quantity of qualifying products in the cart.
    Example: A $1.50 handling fee per fragile product unit when paying with cash on delivery.
  • Percentage fee per item: Calculates a percentage surcharge individually on each qualifying product line subtotal.
    Example: A 3% processing fee applied only to high-ticket electronics line items.
Automatic Discounts via Negative Fee Amounts

Entering a negative value in the Fee Amount field (such as -5 or -10) transforms the fee into an automatic checkout discount or credit line item! This is ideal for offering an instant discount when customers choose Direct Bank Transfer.


πŸ› οΈ Step-by-Step: How to Create a Payment Method Fee​

Follow this step-by-step walkthrough to set up a payment method fee rule in WooCommerce.


Step 1: Access Checkout Fees and Select a Template​

  1. In your WordPress admin dashboard, navigate to Woo Pricing & Discounts.
  2. Click on the Checkout Fees tab at the top.
  3. Click the Add from Template button to browse pre-built fee rules, or click Add New to build from scratch.

Checkout Fees tab - Add from Template

  1. In the "Choose your desired fee template" modal:
    • Filter by Checkout Options Surcharges in the top-right filter.
    • Select the template "Payment Method Processing Fee (%)" (marked 1).
    • Under Campaign Timing, choose Normal, Black Friday, or Seasonal.
    • Click the blue Add Fee button (marked 2).

Choose your desired fee template - Payment Method Processing Fee

Template Description: Adds a percentage surcharge depending on which payment gateway the customer selects. Use Case: 10% fee for PayPal or Credit Card payments to offset processing costs (or Cash on Delivery).


Step 2: Configure Basic Fee Settings​

Once the rule editor opens, configure the core parameters of your fee rule:

Configure Checkout Fee rule settings

  1. Name: Enter a clear, customer-facing title (e.g., Cash on Delivery Fee (%) or Credit Card Processing Fee). This title appears directly as a line item on the Cart and Checkout pages.
  2. Private Note: (Optional) Add an internal note for your store managers explaining the business reason for the surcharge.
  3. Status: Set the toggle switch to Active (Green) to enable the fee rule.

Step 3: Choose Apply Mode (Rule Interaction)​

The Apply Mode setting controls how this payment method fee interacts with other active fee rules in your WooCommerce store:

Checkout Fee Apply Mode options

Select one of the three available modes:

  • Apply with other applicable rules (Non-Exclusive - Recommended): This payment fee will be applied alongside other eligible checkout fees (such as a fragile packing fee or custom shipping surcharge).
  • Apply this rule and disregard other rules (Exclusive): If this payment fee rule qualifies, all other checkout fee rules are disregarded. This rule takes absolute priority.
  • Apply if other rules are not applicable (Exclusive Fallback): Acts as a fallback fee; it only applies if no higher-priority fee rules matched the customer's cart.

Step 4: Select Fee Type and Amount​

  1. Fee Type: Choose how the payment surcharge is calculated:
    • Percentage fee β€” Percentage of the cart subtotal (e.g., 10% COD fee).
    • Price fee β€” Fixed dollar amount (e.g., $5.00 flat surcharge).
    • Price fee per item β€” Fixed amount multiplied by qualifying item quantities.
    • Percentage fee per item β€” Percentage calculated on each item line.
  2. Fee Amount: Enter the numeric value:
    • For a 10% surcharge, select Percentage fee and enter 10.
    • For a $5.00 flat fee, select Price fee and enter 5.
    • For a 5% discount on bank transfers, select Percentage fee and enter -5.

Note: Do not enter currency symbols ($) or percentage signs (%) in the Fee Amount input field; enter numeric values only.


Step 5: Set Usage Limit (Optional)​

  • Usage Limit: Leave this field blank for unlimited usage across all customers.
  • If you want the fee or promotion to apply only a limited number of times storewide, enter a maximum number.
  • To limit usage on a per-customer basis, leave this blank and use the User usage limit condition under the Conditions section.

Step 6: Schedule the Payment Method Fee (Optional)​

You can schedule your payment method fee to run on specific dates, times, or recurring days of the week, exactly like other discount and pricing rules in the plugin.

By default, the fee campaign is unscheduled and remains active continuously:

Unscheduled checkout fee rule

To schedule time-sensitive surcharges, holiday rush fees, or weekend processing charges, configure the Date Time section located directly above the conditions:

Schedule checkout fee for a date period

Available Scheduling Conditions:​

  • Date Range: Run the fee during a calendar window (e.g., 2026-11-20 to 2026-11-30 for peak holiday rush surcharges).
  • Date Time Range: Set exact start and end minute timestamps for flash promotions or limited-time checkout credits.
  • Specific Date: Activate the fee only on selected calendar dates.
  • Days: Restrict the fee to specific days of the week (e.g., Saturday and Sunday weekend processing fees).
  • Time: Restrict the fee to specific daily hours (e.g., late-night processing surcharge between 22:00 and 06:00).

You can combine schedule rules using + And New Rule (e.g., Weekends AND Between 18:00 - 23:59) or create alternative windows using + OR New Group.

tip

For a deep dive into timezone setup, recurring schedules, and multi-tier scheduling logic, read our comprehensive Scheduling & Date-Time Guide.


Step 7: Configure Payment Method Conditions​

Under the Conditions section, specify which payment method triggers the fee:

Select payment method condition

  1. In the first dropdown, select Payment method.
  2. Set the operator to Selected (or In list).
  3. Search for and choose your desired payment method:
    • Cash on delivery (for COD surcharges)
    • PayPal (for PayPal gateway surcharges)
    • Direct bank transfer (for BACS discounts or processing fees)
    • Stripe / Credit card (for merchant card processing fees)

You can select multiple payment methods within the same field if the fee applies to more than one gateway.

Combining with Other Conditions:​

Click + And New Rule to combine the payment gateway condition with other criteria:

  • Subtotal Condition: Apply the fee only if the cart subtotal is below a certain value (e.g., Subtotal < $50).
  • Shipping Method Condition: Apply the fee only when specific shipping methods (such as Local Delivery or Express Courier) are chosen.
  • Shipping Destination (Country / State): Apply payment surcharges only for international or remote delivery destinations.
  • User Role Condition: Charge payment surcharges for Retail Customers while waiving them for Wholesale VIPs.
tip

For full details on all 14 condition groups, AND/OR logic, and available comparison operators, check out our Complete Rule Conditions Guide.


Step 8: Save and Test​

Review your complete payment method fee configuration:

Full payment method fee rule configuration

  • Name: Cash on Delivery Fee (%)
  • Status: Enabled (Green toggle)
  • Apply Mode: Apply with other applicable rules
  • Fee Type: Percentage fee
  • Fee Amount: 10
  • Date Time: Unscheduled (or configured schedule)
  • Conditions: Payment method Selected Cash on delivery

Click the blue Save button in the top-right corner of the editor.


πŸ›’ Result Example: 10% Cash on Delivery (COD) Surcharge​

Once your rule is saved, test it by placing a test order on your WooCommerce store:

  1. Add products to the cart:
    • Shirt: 20.00$ Γ— 1 = 20.00$
    • Shirt – Green: 25.00$ Γ— 1 = 25.00$
  2. Proceed to the Checkout page.
  3. Under Shipping options, select Local Shipping (20.00$).
  4. Under Payment options, select Cash on delivery.

10% Cash on Delivery Fee applied in WooCommerce checkout

Order Summary Breakdown:​

  • Subtotal: 45.00$
  • Cash on Delivery Fee (%): 4.50$ (10% of $45.00 subtotal)
  • Local Shipping: 20.00$
  • Total: 69.50$

Dynamic Checkout Behavior:​

WooCommerce dynamically calculates and displays the Cash on Delivery Fee (%) of 4.50$ via AJAX as soon as the customer clicks Cash on delivery. If the shopper switches back to Direct bank transfer or Check payments, the fee disappears instantly without requiring a page reload.


🎯 Real-World Payment Fee Scenarios​

Scenario 1: 10% Surcharge for Cash on Delivery (COD)​

  • Objective: Mitigate COD return-to-origin (RTO) risks and recover courier handling surcharges.
  • Name: Cash on Delivery Fee (%)
  • Apply Mode: Apply with other applicable rules
  • Fee Type: Percentage fee
  • Fee Amount: 10
  • Conditions: Payment method Selected Cash on delivery
  • Result: Any customer choosing COD pays an extra 10% calculated against their qualifying cart subtotal.

Scenario 2: Fixed $3.00 Gateway Processing Fee (Credit Card / PayPal)​

  • Objective: Recover third-party payment gateway transaction fees.
  • Name: Payment Processing Fee
  • Apply Mode: Apply with other applicable rules
  • Fee Type: Price fee
  • Fee Amount: 3
  • Conditions: Payment method In list PayPal, Credit Card (Stripe)
  • Result: A flat $3.00 surcharge is added to the checkout total whenever PayPal or Credit Card is selected.

Scenario 3: Small Order Payment Fee (Orders Under $50)​

  • Objective: Charge a COD handling fee only on small orders, while offering free COD for orders of $50 or more.
  • Name: Small Order COD Surcharge
  • Fee Type: Price fee
  • Fee Amount: 5
  • Conditions:
    • Payment method Selected Cash on delivery
    • AND Subtotal including tax Less than 50
  • Result: Orders under $50 pay a $5.00 COD fee. As soon as the customer adds more items and the subtotal reaches $50.00, the fee is automatically removed!

Scenario 4: Negative Fee as a Payment Incentive (e.g., -5% for Bank Transfer)​

  • Objective: Reward customers who pay via Direct Bank Transfer (BACS) to eliminate card transaction fees entirely.
  • Name: Bank Transfer Discount (5% Off)
  • Fee Type: Percentage fee
  • Fee Amount: -5
  • Conditions: Payment method Selected Direct bank transfer
  • Result: A negative fee line item of -5% appears on checkout, acting as an instant automated checkout credit.

πŸ”€ Apply Mode Behavior (Exclusive vs. Non-Exclusive)​

When running multiple checkout fees simultaneously, the Apply Mode controls rule priority and combination:

Apply ModeTypeHow It WorksBest For
Apply with other applicable rulesNon-ExclusiveStacks this payment fee alongside any other active fees that qualify.Independent surcharges (e.g., COD Fee + Fragile Packaging Fee).
Apply this rule and disregard other rulesExclusive PriorityTriggers this payment fee and cancels all other checkout fee rules.Overriding all handling fees when an expensive payment gateway is chosen.
Apply if other rules are not applicableExclusive FallbackTriggers only if zero other fee rules matched the customer's cart.Default fallback handling fees.

When charging payment gateway surcharges, keep these international e-commerce regulations in mind:

  1. Know Your Regional Laws:
    • European Union & United Kingdom: Under the Payment Services Directive (PSD2), surcharging consumer credit and debit cards is prohibited. However, surcharges for Cash on Delivery (COD), B2B commercial corporate cards, and non-card payment methods are fully permitted.
    • United States: Credit card surcharges are permitted in most states, but card network rules (Visa/Mastercard) require disclosure and cap surcharges at 3% or the merchant's actual cost of acceptance. Debit card surcharging is generally prohibited.
    • Australia: Surcharges are permitted but must not exceed the merchant's actual cost of card acceptance under RBA regulations.
  2. Use Clear, Transparent Titles: Always use clear titles like Cash on Delivery Fee (%) or Payment Gateway Processing Fee so shoppers understand exactly what they are paying for.
  3. Display Real-Time Checkout Updates: The plugin dynamically updates checkout totals via WooCommerce AJAX fragments immediately upon selecting a payment gateway, ensuring full transparency before the buyer clicks "Place Order".

πŸ” Troubleshooting: Payment Method Fee Not Showing?​

If your payment method fee does not appear during cart or checkout testing, verify the following checklist:

  1. Verify Rule Status: Ensure the Status toggle is switched to Enable (Green).
  2. Select the Payment Method at Checkout: Payment method fees evaluate dynamically. You must click on the targeted payment method radio button on the checkout page for the fee line item to appear.
  3. Check Date & Time Constraints: If you configured a schedule under the Date Time section, check your WordPress timezone under Settings > General > Timezone. Rules evaluate against your site's local time.
  4. Review Condition Logic (AND vs. OR): If you added multiple conditions inside the same group, the cart must satisfy all criteria simultaneously (AND logic). If you want either condition to qualify, create a second group using + OR New Group.
  5. Check Apply Mode Conflicts: If another rule has "Apply this rule and disregard other rules" enabled and ranks higher in priority, it may be suppressing your payment fee.
  6. Clear Browser & Object Cache: Clear your site cache and test using an Incognito / Private browser window to avoid stale WooCommerce cart sessions.
  7. Check for Plugin Conflicts:
    • Third-party payment gateway surcharge plugins, checkout field customizers, or competing dynamic pricing/fee tools can hook into woocommerce_cart_calculate_fees or disrupt WooCommerce's checkout AJAX fragments.
    • Temporarily deactivate other pricing, fee, or payment surcharge plugins to isolate the issue. If the admin dashboard fails to load or save rules, check your browser console (F12) for JavaScript conflicts caused by third-party plugins enqueued globally (such as SkyVerge or analytics tools).
    • For an in-depth conflict testing walkthrough, refer to our Complete Troubleshooting Guide.

❓ Frequently Asked Questions (FAQ)​

Can I set different fees for different payment methods?​

Yes! You can create multiple independent fee rulesβ€”for example, a 10% fee for Cash on Delivery, a $3.00 fee for PayPal, and a -5% negative fee (discount) for Direct Bank Transfer. Each rule evaluates dynamically based on its assigned payment method condition.

Are payment method fees taxable in WooCommerce?​

Yes. Checkout fees generated by the plugin integrate with WooCommerce's native fee API (WC_Cart::add_fee()). You can configure whether fees are taxable or tax-exempt in the plugin's global checkout fee settings.

Does the fee update automatically without refreshing the page?​

Yes. When a customer selects or switches between payment methods on the WooCommerce checkout page, WooCommerce triggers an AJAX fragment refresh that automatically recalculates and displays or removes the fee line item instantly.

Can I apply a payment fee only for certain countries or shipping methods?​

Yes. In the Conditions section, click + And New Rule and add a Shipping Country or Shipping Method condition. The fee will only trigger if the customer selects the specified payment method AND meets the shipping/destination requirements.

Can I set a maximum cap on percentage payment fees?​

Yes. In the plugin settings, you can configure a Checkout Fee Limit (either a maximum fixed price or a maximum percentage of the cart subtotal) to prevent percentage fees on high-ticket orders from exceeding an acceptable ceiling.



πŸ”Ž SEO Keywords & Summary​

  • Primary Keywords: create payment methods fees in WooCommerce, how to add payment method fees in WooCommerce, WooCommerce payment method fee, WooCommerce payment gateway surcharge, WooCommerce Cash on Delivery fee, COD fee WooCommerce, add fee based on payment method WooCommerce.
  • Secondary & Long-Tail Keywords: WooCommerce credit card surcharge, PayPal fee WooCommerce, charge extra fee for payment gateway WooCommerce, payment method based fee and discount WooCommerce, conditional checkout fees WooCommerce, WooCommerce extra fee at checkout, negative fee discount WooCommerce, schedule payment method fee WooCommerce, WooCommerce payment processing fee.