How to add payment method fee for a specific payment option

In Pro, you can add a fee to a payment method when a rule’s conditions are met. Create the rule at WooCommerce > Settings > Payments > Conditions and use the Add Payment Method Fee action.

How to add a payment method fee

  1. Go to WooCommerce > Settings > Payments, then open Conditions and click Add New. Turn on the Status toggle and enter a Rule Name, such as “COD Processing Fee.”
  2. In Conditions, define when the fee should apply (for example, Cart Quantity, a location field, or a Product condition). The example uses Cart Quantity Greater or Equal to 10.
  3. In Actions, choose Add Payment Method Fee. Select the payment method (for example, Cash on delivery), enter a fee title such as Processing Fee, enter the amount, choose a fixed amount (shown as $) or a percentage, and choose a tax class if needed (for example, Standard).
  4. Click Save Changes, then test the fee at checkout.
The Edit Conditional Payments Rules form with Status on and the Rule Name COD Processing Fee
Figure - Status and Rule Name for a COD processing fee rule
A Cart Quantity condition set to Greater or Equal to 10, with an Add Condition button
Figure - A Cart Quantity condition of 10 or more
An Add Payment Method Fee action for Cash on delivery, with the title Processing Fee, amount 5, a $ selector, and Standard tax class
Figure - An Add Payment Method Fee action for Cash on delivery
Checkout for 12 Hollister Backyard Sweatshirt items, showing a $5.00 Processing Fee and Cash on delivery selected
Figure - A checkout page with a $5.00 Processing Fee on Cash on delivery

Pro Tips

  • The fee boxes in the screenshot (method, title, amount with a $ / % selector, and tax class) do not have visible on-screen labels. Existing documentation calls them Fee Title, Amount, and Tax Settings.
  • The fee title you enter, such as Processing Fee, is what customers see at checkout.
  • This action is a Pro feature.

Common Use Cases

1. Add a handling fee for PayPal

Use a Cart Subtotal (Before Discount) condition with Add Payment Method Fee on PayPal.

2. Charge a fixed fee for Cash on Delivery

Use Add Payment Method Fee on Cash on delivery, as in the example above. You can also add a product or category condition if the fee should apply only to certain items.

3. Add a fee for international customers

Use a Country condition with Add Payment Method Fee on the method those customers use.

FAQs

1. Which action adds the fee?

Add Payment Method Fee. Then choose the payment method, fee title, amount, fixed or percentage, and tax class.

2. Is this available in the free plugin?

No. Add Payment Method Fee is a Pro action.

3. What condition does the example use?

Cart Quantity Greater or Equal to 10, with a $5 Processing Fee on Cash on delivery.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.