Kenvo LabsGet in touch

Our own product · 2026

COD Shield

A Shopify app that scores every cash-on-delivery order for return risk before it ships, then allows, verifies or blocks it.

Role
Everything — product, engineering, listing, support
Year
2026
Stack
Remix, Polaris, Shopify Functions, Node.js, Prisma, Railway

The problem

Cash on delivery is the majority of the Indian D2C order book, and a large share of it is refused at the door. The merchant pays freight both ways and restocks a product that was never going to sell. Existing tools either block COD wholesale — killing real orders — or ask merchants to write their own rules, which almost nobody does well.

The approach

  1. Eight weighted signals, not one rule

    Payment method, customer history, phone verification, address quality, pincode return history, order value, prior refusals and order velocity each contribute a weighted score. A single signal rarely decides anything on its own.

  2. Three outcomes instead of two

    Allow, verify, block. The middle band is where the value is: an OTP before packing keeps genuine buyers and drops the ones who were never going to answer.

  3. Enforcement at checkout, not after

    A Shopify Payment Customization Function hides cash on delivery for high-risk carts by pincode, so the risky order is prevented rather than cancelled later.

  4. Tested like something that touches money

    The scoring engine has full test coverage — 52 of 52 passing — because a wrong verdict either loses a real sale or ships a parcel that comes back.

What shipped

  • Launched on the Shopify App Store in June 2026
  • Production risk engine running eight weighted signals with full test coverage
  • Payment Customization Function enforcing COD rules at checkout by pincode
  • Deployed on Railway with a live interactive version of the engine on this site

Got something similar?

If any of this looks like the problem in front of you, send us a paragraph about it.

Email us