Notice: Function WP_Scripts::localize was called incorrectly. The $l10n parameter must be an array. To pass arbitrary data to scripts, use the wp_add_inline_script() function instead. Please see Debugging in WordPress for more information. (This message was added in version 5.7.0.) in /home/d689c45/public_html/wp-includes/functions.php on line 6078
How create a WooCommerce discount per payment method?

A payment gateway is a service that allows a customer to pay for his order using credit cards or direct payments methods.  While there are hundreds of payment methods out there, they are not all the same. Some may be advantageous for the customers while others are more convenient for the merchants. The best way to guide the customer choice to a payment method that is convenient for the seller is to give him an incentive to do so.


In today’s article, you will learn how to create a discount, based on the customer’s selected payment gateway at the checkout using Conditional Discounts for WooCommerce.

How to create a discount per payment method in WooCommerce?


  1. Click on Discounts > New Discount menu to access the new discount page.
  2. Set up the basic discount properties such as the start and end date, periodicity and user limit or leave them empty to enable the discount all the time.
  3. Then click on the Add rules group button to create a new rules set.
  4. Select “If payment gateway” as condition.

    woocommerce payment method discount
  5. Set the operator to “IN” or “NOT IN” depending on your needs.
  6. Then select the payment method you need to apply or exclude from the discount. Conditional Discounts for WooCommerce is able to automatically detect all active payment gateways in your shop even custom ones.
  7. Save the discount.

This completes our tutorial on how to create discounts per payment method using Conditional Discounts for WooCommerce. If you have any questions, use the comments section to ask.

1 comment

  1. Muslim Ibrahimov

    Cool! Thanks a lot fоr the guide!

    October 23, 2019 at 12:00 am

Leave a comment

Your email address will not be published. Required fields are marked *