To set an additional fee or discount depending on the payment gateway chosen by your customer, go to WooCommerce > Settings > Fees and Discounts and ensure that the ‘Enable Payment Gateway Fees and Discounts’ option is selected.
Click on the ‘Payment Gateways’ menu item under the main tabs. You should see all the active payment gateways on your site listed below the page title.
Select the payment gateway where you’d like to create a fee or discount.
In ‘Label’ enter the text that you’d like to use to denote the extra charge
Choose the type of fee or discount in the ‘Type’ dropdown. The options are:
- Fixed discount
- Fixed fee
- Percentage discount
- Percentage fee
Enter the amount of the fee or discount in the ‘Amount’ field
Include shipping costs
Decide whether to include shipping costs in the cart total. (Note that this is mainly relevant if you’re charging a percentage rather than a fixed fee and/or if you are setting minimum or maximum values for the cart)
Minimum cart amount
In ‘Minimum cart amount’, you can enter a minimum total for the cart before any charges are applied.
Maximum cart amount
In ‘Maximum cart amount’, you can enter a maximum total for the cart above which no charges will be applied.
Minimum fee/discount amount
Enter a figure here to define the minimum value of the fee or discount
Check ‘Apply tax’ if you would like tax to be applied to the extra charge
Select the ‘Tax class’
There’s an in-depth blog post about applying fees and discounts according to payment gateway here.