How to Add a COD Fee on Shopify (Step-by-Step)

How to add a COD fee on Shopify step-by-step guide with phone mockup showing checkout, payment method selector, and COD vs prepaid comparison chart

Every cash-on-delivery order costs you more than a prepaid one. There's the courier's cash handling charge, the higher return-to-origin rate, and the 3–7 day wait before the money actually hits your account. Most Shopify merchants absorb that cost without thinking about it. Adding a Shopify COD fee changes the equation — it offsets your extra expenses and nudges customers toward prepaid, where RTO rates drop from 28–35% to under 8%.

The problem: Shopify doesn't let you add a COD fee natively. There's no setting in your admin panel that says "charge extra for cash on delivery." You need a workaround. This guide walks through three methods — app-based, Shopify Functions, and manual — so you can pick the one that fits your store and technical comfort level.

Why a COD Fee Matters More Than You Think

A COD fee is a surcharge added to cash-on-delivery orders to offset the higher cost of processing, shipping, and collecting payment for those orders. But it's more than a cost recovery tool — it's a behavioral lever. When customers see that COD costs extra while prepaid is free (or discounted), a percentage of them switch. That switch has a compounding effect: fewer failed deliveries, faster cash flow, lower logistics costs, and less inventory stuck in reverse shipping limbo.

The typical COD return-to-origin rate sits between 28–35%. For prepaid orders, it's 4–8%. Each returned COD order costs ₹180–240 in forward shipping, reverse logistics, and processing — with zero revenue to show for it. A store processing 500 COD orders per month at a 30% RTO rate is burning through ₹27,000–36,000 monthly on orders that never convert to cash.

Even a small COD fee (₹30–50 or $0.50–$1.00) recovers a portion of that loss while signaling to customers that prepaid is the better deal.

Method 1: Use a COD Fee App (Easiest, No Code)

This is the fastest way to add a COD fee. Install an app, configure your fee amount and rules, and it's live. Three apps dominate this category:

Releasit COD Fee & Partial Pay — 4.8 stars with 595 reviews. Lets you set fixed or percentage-based COD fees with conditional rules by country, product, collection, customer group, or order value. Also includes OTP verification and partial payment collection. Free plan available.

ACOD: Cash On Delivery COD Fee — 5.0 stars with 97 reviews. Focused specifically on COD fee management. You can define fixed or percentage fees, link COD to specific shipping methods, or hide COD entirely based on conditions like shipping country or cart value. Starts at $4.99/month with a free plan.

EasyCOD — Handles COD fees plus the ability to limit COD availability by region, product, or order amount. Good option if you want fee management and COD restrictions in one app.

If you're already using EasySell for your COD order form, you can configure fees directly within the form settings — no need for a separate COD fee app.

Setup Steps (App-Based Method)

  1. Install your chosen app from the Shopify App Store
  2. Open the app and navigate to the fee configuration section
  3. Set your fee type: fixed amount (e.g., ₹50) or percentage (e.g., 2% of order total)
  4. Configure conditions — most apps let you set rules like "only charge the fee on orders under ₹1,000" or "waive the fee for returning customers"
  5. Set the fee label that customers see at checkout (e.g., "COD Handling Fee" or "Cash on Delivery Charge")
  6. Enable the fee and test with a test order

The whole process takes 10–15 minutes. The app handles the checkout integration automatically.

Method 2: Shopify Functions (For Developers)

If you have a developer on your team or you're comfortable with code, Shopify Functions gives you full control. The Payment Customization API lets you modify payment methods at checkout — including adding fees, hiding options, or reordering them based on cart contents.

This method is free (no monthly app subscription) and runs on Shopify's infrastructure, so it's fast. But it requires building and deploying a custom Shopify app.

How It Works

  1. Create a new Shopify app using the Shopify CLI
  2. Add a Payment Customization function extension
  3. Write the function logic — for example, rename the COD payment method to include the fee amount, or use a Cart Transform function to add a fee line item when COD is selected
  4. Deploy the app to your store
  5. Activate the customization in your Shopify admin under Settings → Payments

The Payment Customization API can rename, reorder, or hide payment methods based on cart total, shipping address, or customer tags. For actually adding a fee line, you'll combine it with a Cart Transform function that injects a fee product when the COD payment method is active.

This approach is best for stores with custom development resources or those already running a custom Shopify app. For most merchants, Method 1 is simpler and more practical.

Method 3: Manual Workaround (Free but Limited)

If you don't want to install an app and can't write code, there's a manual workaround — though it's clunky and has real limitations.

The shipping rate method: Create a separate shipping rate for COD orders that includes the COD fee baked into the shipping cost. For example, if your standard shipping is ₹80, create a "COD Shipping" option at ₹130. The extra ₹50 is your COD fee.

The product variant method: Add a "COD Fee" product to your store at your desired fee amount. Instruct customers to add it to their cart if they're paying cash on delivery. This relies entirely on customer compliance, so it's unreliable.

Both methods have problems. The shipping rate approach confuses customers who expect consistent shipping costs. The product variant method has almost zero compliance. Neither gives you conditional logic (waiving the fee above a certain order value, for example). Use these only as temporary measures while you evaluate a proper app-based solution.

How to Set the Right COD Fee Amount

Too high and you lose COD customers entirely. Too low and it doesn't cover your costs or motivate the prepaid switch. Here's a practical framework:

  • Calculate your actual COD cost per order: Add up courier cash handling charges, the cost of failed deliveries (RTO rate × average shipping cost), and the opportunity cost of delayed cash remittance. For most stores, this lands between ₹30–80 or $0.50–$2.00 per order.
  • Start at 50–70% of your actual cost: You don't need to recover everything. A ₹40–50 fee on an average order of ₹800–1,200 is noticeable enough to shift behavior without killing conversions.
  • Use a flat fee for simplicity: Percentage-based fees work for high-AOV stores, but most COD merchants do better with a flat amount. It's easier for customers to understand and predict.
  • Waive the fee above a threshold: "Free COD on orders above ₹1,500" encourages larger orders and rewards your best customers. This single rule can increase your AOV while reducing the RTO rate on COD orders.

Test your fee for two weeks before adjusting. Watch three metrics: COD-to-prepaid conversion rate, overall conversion rate, and average order value. If your overall conversion drops more than 5%, the fee is too high.

Pair the COD Fee With a Prepaid Incentive

A COD fee works better when it's paired with a prepaid discount. Instead of just penalizing COD, you're rewarding prepaid. The customer sees two signals at once: "COD costs ₹50 extra" and "Pay online and save ₹100."

This framing matters. A ₹50 COD fee alone feels like a penalty. A ₹50 COD fee paired with a ₹100 prepaid discount feels like a choice — and the prepaid option looks like a deal. Stores that combine both approaches typically see a stronger shift toward prepaid than either tactic alone.

You can set this up in most COD fee apps by configuring a discount for non-COD payment methods, or by using Shopify's automatic discount feature alongside your COD fee. For a deeper look at the full COD-to-prepaid shift, see the partial payment and deposit strategy guide.

Pick Your Method and Set It Up Today

For 90% of Shopify merchants, an app is the right choice. It takes 15 minutes, requires no code, and gives you conditional rules that manual methods can't match. If you're processing more than 100 COD orders per month, the fee pays for the app subscription within the first day.

Start with a modest flat fee, pair it with a prepaid incentive, and measure the results for two weeks. Most stores see their prepaid ratio climb within the first week — and every order that flips from COD to prepaid is one less potential RTO eating into your margin.