# COD Fee Setting

If you want to charge your customers for the cash-on-delivery services, then you must follow these steps:

<mark style="color:blue;">**Step #1**</mark>

Go to **Settings** <mark style="color:blue;">➤</mark> **Shipping and delivery**

<mark style="color:blue;">**Step #2**</mark>

Navigate to **General shipping rates** and open the **General** field.

<figure><img src="https://922942541-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIGRcMuVZCEGNibOl1OmW%2Fuploads%2F7KZ0eVbNyfPrQAMdnt89%2Fcodfy%20general%20shipping%20rates.png?alt=media&#x26;token=55e2edcf-c126-4347-9aff-c417b52ed9a5" alt=""><figcaption></figcaption></figure>

<mark style="color:blue;">**Step #3**</mark>

Scroll down to **Fulfillment location** and select the **+ Add rate** button.

<figure><img src="https://922942541-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIGRcMuVZCEGNibOl1OmW%2Fuploads%2F9bXCNb37jaYFw6JAZ4aF%2FCODFY%20fulfillment%20location.png?alt=media&#x26;token=948f4604-c638-4ba6-8c57-50ebead7aab0" alt=""><figcaption></figcaption></figure>

<mark style="color:blue;">**Step #4**</mark>

<figure><img src="https://922942541-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIGRcMuVZCEGNibOl1OmW%2Fuploads%2FXjOVjtaj0jsRFWxzufKT%2Fimage.png?alt=media&#x26;token=78db1c54-199a-4001-8af1-a2f8c90cece0" alt=""><figcaption></figcaption></figure>

* **Rate type -** Select the **use flat rate** option.
* **Shipping Rate -** Select the **Custom** option.
* **Custom rate name -** Set the name of your rate.
* **Custom delivery description -** Set any description if needed. The field is optional.
* **Price -** Set the price of your shipping rate.
* Select the **Add conditional pricing** option and select the **Based on order price** option.
* Set the minimum and maximum order price on which you want to implement this shipping charge.
* &#x20;You can see the preview of the charge also.

Once you are done with the configurations, **Save** your changes and proceed.

<figure><img src="https://922942541-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIGRcMuVZCEGNibOl1OmW%2Fuploads%2FzmNwB6HBi1xgUaa01Q8P%2FCODFY%20checkout%20shipping%20charge.png?alt=media&#x26;token=d8d945a8-965d-47de-8c64-09a694793f32" alt=""><figcaption></figcaption></figure>

Our app also allows you to enable **Cash on Delivery (COD)** as a payment option in your Shopify checkout and optionally charge a COD fee. Here’s how it works:

#### 1. **COD Service Status**

* **Success / Active**: This indicates that COD is successfully enabled in your app.
* **Enable Cash on Delivery for Shopify Checkout**: Turn this on to allow customers to select COD at checkout.

**Important:**\
Ensure you have created a **Shipping Rate** in Shopify with the exact name you specify in the app (e.g., “Cash on Delivery”). The app matches this name to apply COD logic during checkout.

<figure><img src="https://922942541-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIGRcMuVZCEGNibOl1OmW%2Fuploads%2F61O04phqvQOqobd9ibZW%2Fimage.png?alt=media&#x26;token=01d18703-c527-4f65-b7f6-5e5489b86364" alt=""><figcaption></figcaption></figure>

#### 2. COD Instant Pop-up and Fee Settings

The **COD Instant Pop-up** lets customers see a confirmation message when they choose **Cash on Delivery** at checkout. You can also display any COD fees directly in this pop-up.

**How it works:**

* **Popup Status – Success / Active:** The pop-up is enabled and functioning correctly.
* **Enable COD fees for this pop-up:** Turn this option on if you want the COD fee to appear in the pop-up.

**COD Fee Settings:**

* **COD Fee Type:** Choose how the fee is calculated. Currently, **fixed amounts** and **percentages** are supported.
* **COD Fee Value:** Set the exact amount to charge as a COD fee (e.g., 0 if no fee).
* **Displayed Fee Name:** This is how the fee will appear to customers in the order summary (e.g., “COD Fee”).

**Example:**\
If you set a fixed COD fee of 50 with the displayed fee name “COD Fee,” customers will see: **COD Fee – ₹50** in the pop-up and in their order summary, giving full transparency on any additional charges.

<figure><img src="https://922942541-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIGRcMuVZCEGNibOl1OmW%2Fuploads%2FZYW6MkYTJHilQBdPtQGq%2Fimage.png?alt=media&#x26;token=9b2e2442-b73f-40b6-9302-fa019742d471" alt=""><figcaption></figcaption></figure>
