> ## Documentation Index
> Fetch the complete documentation index at: https://docs.checkoutrules.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Hide payment methods

> Hide certain payment methods at the checkout under given conditions.

[BeSure Hide Payment Methods](https://www.youtube.com/embed/lQSBa9ffmXQ?si=SA7VLHH5lSlFFSta)

## Rule overview

This rule allows you to automatically hide specific payment methods at the checkout based on defined conditions. You can control visibility using criteria such as cart total, shipping address, customer tags, or product details, etc.

This helps streamline the checkout process by removing irrelevant or unavailable payment options, reducing customer friction and improving conversion rates.

## Sample configuration

The following steps show how to create and configure a **Hide Payment Methods** rule using the app.

### Create a new rule

From your [Shopify admin](https://docs.checkoutrules.com/guides/en/get-started/installation.md#go-to-the-app), open the app. In the sidebar, go to the [Rules](https://docs.checkoutrules.com/guides/en/get-started/quickstart.md#create-a-sample-rule) section and click *"Create Rule"*.

Then, You’ll be redirected to the **Select checkout rule type screen**. Choose *category "Payment" → select checkout rule type "Hide Payment Methods" → click “Select Rule”*.

![Select Hide Payment Methods](https://mintcdn.com/storespark/pRxetMhd3-MrZXc-/images/essentials/payment/select-hide-payment-methods.webp?fit=max\&auto=format\&n=pRxetMhd3-MrZXc-\&q=85\&s=bac40f5bf3bafaf24ed94255fa5b15ac)

Next, you’ll land on the **Create new hide payment methods rule** screen, where you can configure your rule.

### Rule configuration

To configure the rule, first optionally we can add a name such as "Hide payment methods" to describe what it does. Then, select the rule [status](https://docs.checkoutrules.com/guides/en/get-started/concepts.md#status): Testing, Active, or Deactivated.

Here we are going to choose **Testing** status, so we can quickly test the rule without affecting the checkout for actual customers.

![Rule Configure 1](https://mintcdn.com/storespark/I1UBjFyXWKs0eNGB/images/essentials/payment/rule-configure-1-hide-payment-methods.webp?fit=max\&auto=format\&n=I1UBjFyXWKs0eNGB\&q=85\&s=9804b506902f571508795097007b03aa)

Next, on the same screen, select the relevant [condition set](https://docs.checkoutrules.com/guides/en/get-started/concepts.md#condition-set), [condition](https://docs.checkoutrules.com/guides/en/get-started/concepts.md#conditions-when), and [action](https://docs.checkoutrules.com/guides/en/get-started/concepts.md#action-what).

> As an example, here we are using the default **Condition set 1**, setting the rule to run **Always**, and configuring it to hide the payment method **"Cash on Delivery (COD)"**.

![Condition Set Hide Payment Methods](https://mintcdn.com/storespark/y0FVC1bZCsR898q3/images/essentials/payment/condition-set-hide-payment-methods.webp?fit=max\&auto=format\&n=y0FVC1bZCsR898q3\&q=85\&s=4a2c46b7e9f7f81d30dfc04179052bb5)

In the **action section**, you have three options to manage payment methods at checkout:

* **Hide these payment methods** – Hides only the payment methods you specify when the condition matches.

![Action Hide These Payment Methods](https://mintcdn.com/storespark/8qTRK-A8nfquzM_u/images/essentials/payment/action-hide-these-payment-methods-hide-payment-methods.webp?fit=max\&auto=format\&n=8qTRK-A8nfquzM_u\&q=85\&s=218989d85a74789ff6c63ead9f7dac0a)

* **Hide all payment methods** – Hides all available payment methods when the condition matches.

![Action Hide All Payment](https://mintcdn.com/storespark/8qTRK-A8nfquzM_u/images/essentials/payment/action-hide-all-payment-methods.webp?fit=max\&auto=format\&n=8qTRK-A8nfquzM_u\&q=85\&s=713b0349aeb404adaf47c6970009e43c)

* **Only show these payment methods** – Shows only the specified payment methods when the condition matches and hides all others.

![Action Only Show These Payment Methods](https://mintcdn.com/storespark/I1UBjFyXWKs0eNGB/images/essentials/payment/action-only-show-these-payment-methods-hide-payment-methods.webp?fit=max\&auto=format\&n=I1UBjFyXWKs0eNGB\&q=85\&s=dd6857843b11daf988e5a0b7fb08804d)

Finally, click the **Save** button at the top to create and save your rule.

![Rule Save](https://mintcdn.com/storespark/ZoBcc0QT_aT_tX8T/images/shared/save-rule.webp?fit=max\&auto=format\&n=ZoBcc0QT_aT_tX8T\&q=85\&s=49b09a4f049059fd67144f92d10233ca)

## Test the rule

Since, the rule is set to testing status, we have to use `test@testing.com` as the email, instead of the actual email, to run the rule at checkout.

> [!WARNING]
>
> The image below shows the checkout page **before** the testing email
> address was used. Please note the Cash on Delivery (COD) payment method is
> visible.

![Before Rule Apply](https://mintcdn.com/storespark/I1UBjFyXWKs0eNGB/images/essentials/payment/before-rule-apply-payment-methods.webp?fit=max\&auto=format\&n=I1UBjFyXWKs0eNGB\&q=85\&s=35c3ce79072bed0f60953e7bf5be509f)

After setting the email, the checkout rule runs and hides the specified payment methods. We can verify that the **Cash on Delivery (COD)** payment method is no longer visible, as shown below.

![After Rule Apply](https://mintcdn.com/storespark/I1UBjFyXWKs0eNGB/images/essentials/payment/after-rule-apply-hide-payment-methods.webp?fit=max\&auto=format\&n=I1UBjFyXWKs0eNGB\&q=85\&s=ca57adc1eaa2e7ac5ef71f0c27863264)

## Activate the rule

Once testing is done, we can activate the rule, so it can start making changes to the checkout for actual customers. Only activated rules can make changes to the checkout for all customers.

Click on **Rules** in the sidebar to view all rules. Select the rule you want to activate, then click the **Activate** button to activate it.

> [!WARNING]
>
> Rule activation is only available on paid plans. If you haven't upgraded your
> plan yet, follow the instructions
> [here](https://docs.checkoutrules.com/guides/en/get-started/installation.md#upgrade-your-plan) to upgrade.

![Activate The Rule](https://mintcdn.com/storespark/I1UBjFyXWKs0eNGB/images/essentials/payment/activate-the-rule-hide-payment-methods.webp?fit=max\&auto=format\&n=I1UBjFyXWKs0eNGB\&q=85\&s=834098e0936c6253aafcb74c212f5ec0)

## Limitations

* For US/Canada-based stores, the Credit card option can't be changed unless you are on Shopify Plus. This limitation comes from Shopify.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.