# How to Hide Cash on Delivery for Subscription Products?🤔

### **Step 1: Create a New Function:**

* Navigate to your **Nexus Dashboard** and click on **Create Function.**

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXeWTS7TLaiRafEVQ4ZndzcDW1ZjpIejj6eytgaD1LhzMcHTgoGHK1NXxIlAqRVgAnvDYIztFxGPzkPp9q5cI6xw1jVfwBDyfCts-jx_pCiSQ8zy41a79F4L1GXbGE4xfySO6Mw32w?key=XHBNr_XRasDLQzq5MfrM2Q" alt=""><figcaption></figcaption></figure>

* Select **Payment Functions** from the list of **function types.**

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXdoWp8DmVlh7TZKaAvyC49TOGBfjSvFYR_sp_rZ73qL4omH-sQd1bwXSHGjgIe47n3PyhBjyFBjmEexHBz5yFmbZmao5gmyXJ7KSIkseEQ2xjXPXzwlbzQm4TigW0e2UDFxaQXu?key=XHBNr_XRasDLQzq5MfrM2Q" alt=""><figcaption></figcaption></figure>

### **Step 2: Choose Hide Payment Method**

* Click on **Hide Payment Method.**
* A **configuration screen** will appear where you can **set conditions** based on your **specific requirements** (e.g., **customer type, cart total, tags,** etc.).

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfDkXtj79rspnOWI6uy-jqRkoVEXWBmMMHOPWz247-TaSVm4Abgm3ursPTLWvVbg4Wfu2HuwSl5oadElIm9oDtxIQMkwxuxo8X51VCnHPoYP2Wp00olr8BRqAHH5NMuXswzs6gMig?key=XHBNr_XRasDLQzq5MfrM2Q" alt=""><figcaption></figcaption></figure>

**Step 3: Specify & Save:**

* **Select Cart** has Items from **CART Qualifier**
* **Behavior:** Item Quantity
* **Condition:** Greater than or equal to one
* **Value:** 1
* Then **Select Subscription Item Selector** from **item Qualifier.**
* **Subscription match -> is Subscription Item**
* After setting the conditions, select the payment method you want to hide from the **Shipping rate Qualifier.**
* Click **Save** to apply the function.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfoxiUtYjFMMkRd3_KAiTHUOtMVJKVcCsm2po3IZd5WTYsMNiABxzu5HkWafXuatE1IBaFXHk3nLMLkCeuYRmUvEjfwiQ0GTjupH1bARyspQukRIqzO8cHu5T1gVXm_uR2ghP5L1A?key=XHBNr_XRasDLQzq5MfrM2Q" alt=""><figcaption></figcaption></figure>

**✅ That’s it!** Your selected payment method is now hidden — helping you **deliver a cleaner, more focused checkout experience. 😊🔒**

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfgzXz_-5f_yKtPgtnOparJxUU3_PRyGC_PBvoSTpDYG3QmRHOQeTNRSKP8_Ry5r4Wx22BCEPepUm0QMC__vhwYI82bqFsXzv9ufvZbTO674NuyzEVgft92sc5WMS1MDKtjbpFMVw?key=XHBNr_XRasDLQzq5MfrM2Q" alt=""><figcaption></figcaption></figure>

{% embed url="<https://www.youtube.com/watch?v=7a9FCVlAaYI>" %}

<br>


---

# 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://nexus-functions-creator-and-disc.gitbook.io/nexus-functions-creator-and-discounts/faqs/how-to-hide-cash-on-delivery-for-subscription-products.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.
