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.
In The Article
How to add a payment method fee
- 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.”
- 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.
- 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).
- Click Save Changes, then test the fee at checkout.
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.