# Hide payment methods

## How to Hide Payment Methods at Checkout Using DollarLabs Discount App

### Overview

This guide explains how to hide specific payment methods from certain customers (or all customers except certain ones) at checkout using the DollarLabs Discount App's payment customization feature.

{% embed url="<https://dollarlabs.neetorecord.com/watch/e34e0bb0d0512e1e30ed>" %}

***

### Step-by-Step Instructions

#### 1. Create a Payment Customization Function

1. Open the DollarLabs Discount App
2. Click **Create Function**
3. Select **Payment Customization** option
4. Click **Create**

#### 2. Configure the Payment Method to Hide

**Match Type:** Choose how you want to match the payment method:

* Exact match (Equals)
* Contains
* Starts with
* Ends with

**Payment Method:** Enter the name of the payment method you want to hide (e.g., "Bank Deposit")

#### 3. Set Up Customer Conditions

Create a **Cart Group** to define which customers will see or not see the payment method:

**Customer ID Options:**

* **"Customer ID is"** - Hides the payment method for specific customers
* **"Customer ID is not"** - Hides the payment method for everyone EXCEPT specific customers

Select the customer(s) you want to apply this rule to from the dropdown.

#### 4. Configure the Rule

In the **Rule Section:**

1. Add your card group (e.g., "Certain Customers")
2. Set the condition: **Quantity sum is greater than 0**
   * This ensures the customer has at least one item in their cart for the rule to apply

#### 5. Save and Test

1. Click **Save** to activate the payment customization
2. The selected payment method will immediately disappear from checkout for the specified customers
3. To verify it's working:
   * Log in as the affected customer or enter their email at checkout
   * The hidden payment method should no longer appear
4. To disable the customization, simply toggle it off and the payment method will reappear

### Example Use Case

If you want to hide "Bank Deposit" from a specific customer:

* Match Type: Equals
* Payment Method: Bank Deposit
* Card Group: Customer ID is \[specific customer]
* Rule: Quantity sum > 0

This will remove the Bank Deposit option from checkout for that particular customer.

### Need Help?

The DollarLabs payment customization feature is built on a flexible rule engine that can handle complex scenarios beyond this basic example.

If you have questions about setting up specific payment customization rules, contact support:

* **Support Chat:** Click the support chat icon in the app
* **Email:** <support@dollarlabs.io>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.dollarlabs.io/dollarlabs-ultimate-discounts/hide-payment-methods.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
