---
title: Setting Up Payment Gateways Conditions
description: "![](https://cdn.wpruby.com/wp-content/uploads/2020/07/05162355/Screenshot-2020-07-29-at-22.22.26.png) In order to create a new Shipping Condition: - Go to **WooCommerce** -> **Payment Conditions**. - Click on **Add New** button. - Write the **title** of the condition. - In **Excluded Payment Gateways**, choose the payment gateway that must…"
url: "https://wpruby.com/knowledgebase/setting-up-payment-gateways-conditions/"
updated: "2024-02-18"
category: WooCommerce Restricted Shipping and Payment Pro
---

# Setting Up Payment Gateways Conditions

![](https://cdn.wpruby.com/wp-content/uploads/2020/07/05162355/Screenshot-2020-07-29-at-22.22.26.png)

In order to create a new Shipping Condition:

- Go to **WooCommerce** -> **Payment Conditions**.
- Click on **Add New** button.
- Write the **title** of the condition.
- In **Excluded Payment Gateways**, choose the payment gateway that must be hidden in from Checkout if the rules matched.
- **Rules Evaluation Operator**, you can choose either AND or OR. If you choose AND, All the rules must match in order to the payment gateway will be excluded. And if you choose OR, Any rule would match, the shipping methods will be excluded.
- Choose the desired rule and values.
- Click on **Publish**.

#### Related Articles:

- [Available Payment Rules](https://wpruby.com/knowledgebase/available-shipping-payment-rules/)
