1. Home
  2. Knowledge Base
  3. WooCommerce Dynamic Pricing and Discount Rules
  4. Payment Gateways
  5. Set fees and discounts depending on the payment gateway
  1. Home
  2. Knowledge Base
  3. WooCommerce Dynamic Pricing and Discount Rules
  4. Set fees and discounts depending on the payment gateway

Set fees and discounts depending on the payment gateway

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.

enable payment gateways

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.

payment gateways

Select the payment gateway where you’d like to create a fee or discount.

Label

In ‘Label’ enter the text that you’d like to use to denote the extra charge

Type

Choose the type of fee or discount in the ‘Type’ dropdown. The options are:

  • Fixed discount
  • Fixed fee
  • Percentage discount
  • Percentage fee
  • Disabled

Amount

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

Apply tax

Check ‘Apply tax’ if you would like tax to be applied to the extra charge

Tax class

Select the ‘Tax class’

There’s an in-depth blog post about applying fees and discounts according to payment gateway here.

Was this article helpful?