Skip to content
VITI Security

Cybersecurity for D2C eCommerce in India: Payments, Bots, Fraud and Customer Data

by VITI Security TeamMay 17, 2026

Indian D2C brands run on a storefront, a stack of apps, marketplaces and a lean team, which makes them easy targets for skimming, bots, account takeover and refund fraud. The risks and the controls that fit.

Cybersecurity for D2C eCommerce: PCI-DSS, Bot Defense, and Fraud - VITI Security

Direct-to-consumer brands in India grow fast on a lean stack: a Shopify, WooCommerce or custom storefront, a dozen apps for reviews, loyalty, logistics and marketing, a payment gateway, marketplace listings and a small team doing everything. That speed comes with security debt. Checkout pages carry scripts from many vendors, bots hit every sale, customer accounts get taken over with leaked passwords, and fraud eats margin through fake orders and refund abuse. Meanwhile the DPDP Act raises the stakes for customer data. This guide sets out the main risks and the controls that fit a D2C team.

Payments: keep card data out, watch the checkout

Most Indian D2C brands take payments through a gateway such as Razorpay, PayU, Cashfree or Stripe, and should keep it that way: use the gateway's hosted checkout or embedded fields so card numbers never touch your servers. That keeps PCI DSS scope small, though not zero.

The remaining risk is the checkout page itself. If a script on that page is compromised, it can copy what customers type before it reaches the gateway. PCI DSS 4.0 requires merchants to keep an inventory of payment page scripts, authorise each one and detect changes. In practice, limit the apps that load on checkout, use a Content Security Policy, and monitor the page for new scripts.

Third-party apps and plugins

Every app you install gets some access to your store, and many ask for full access to orders and customer details. Review permissions before installing, remove apps you no longer use, and check who at each vendor can see your data. Agencies and freelancers who built the store often keep admin access long after the project ends; remove it or move them to limited staff accounts with MFA.

Bots during sales and launches

Limited drops, flash sales and festive campaigns attract bots that buy out stock for resale, test stolen card numbers through your checkout, abuse coupon codes and scrape prices. Use a CDN or platform feature with bot management, rate-limit coupon and checkout endpoints, add a challenge only when behaviour looks automated so real customers are not slowed, and watch for a sudden rise in failed payments, which often signals card testing.

Account takeover and loyalty fraud

Attackers try passwords leaked from other sites against your login page and, when one works, spend stored loyalty points, gift card balances or wallet credit, or change the delivery address on a pending order. Rate-limit logins, offer OTP or passkey sign-in, alert customers to logins from new devices and require re-verification before changing addresses or redeeming large balances.

Order, COD and refund fraud

Cash on delivery, generous returns and fast refunds are growth levers that fraudsters exploit: fake COD orders that are refused at the door, return of empty boxes or different items, and claims that orders never arrived. Use address and phone verification for high-risk COD orders, track refusal and return rates per customer and pincode, photograph high-value parcels at packing and require proof for not-received claims. Your logistics and payment partners can share risk signals too.

Customer data and the DPDP Act

A D2C brand collects names, phone numbers, addresses, order histories and marketing preferences, often copied into spreadsheets, ad platforms and messaging tools. Under the DPDP Act you need valid consent for marketing, reasonable security safeguards, the ability to correct and erase data on request and breach notification when things go wrong. Limit who can export customer lists, keep data in your core systems rather than scattered files, and record consent at signup and checkout.

Admin accounts and the team

The store admin, payment gateway dashboard, marketplace seller accounts and ad accounts are all high-value targets. Turn on MFA everywhere, give each person their own account with only the access they need, and remove access when people leave. Phishing aimed at sellers, such as fake marketplace or courier notices, is common; train the team to check links before signing in.

Testing and monitoring

Set a simple routine around big campaigns as well: review admin accounts and apps the week before, watch payment failures and bot traffic during the sale, and check refunds and chargebacks the week after.

For custom and headless storefronts, run a penetration test before launch and after major changes, covering checkout, accounts, APIs and the admin side. For hosted platforms, focus testing on your custom apps, integrations and any APIs you expose. Our VAPT services cover ecommerce platforms end to end, and PCI DSS penetration testing covers payment-specific requirements. Run our free website vulnerability scanner for a quick external check, and see our ecommerce page for how we support D2C brands.

Frequently asked questions

Does a D2C brand need PCI DSS?

Yes - every merchant that takes cards has PCI DSS obligations - but a gateway's hosted checkout or embedded fields keep them small. Ask your gateway which self-assessment applies.

How do we stop bots during a sale?

Use your CDN's or platform's bot management, rate-limit the checkout and coupon endpoints, cap quantities per customer, and only challenge visitors whose behaviour looks automated.

How do we cut COD fraud?

Verify phone numbers and addresses on risky COD orders, track refusal rates by customer and pincode, and restrict COD for customers or areas that keep refusing.

What does the DPDP Act mean for an online brand?

Valid consent, especially for marketing; reasonable security safeguards; a way to handle access and deletion requests; and breach notification when personal data is compromised.

Protect your store, margins and customers

We test D2C storefronts, checkouts, apps and APIs, and help you set up the controls that stop skimming, bots and account takeover.