E-commerce

DPDP for E-commerce: Complete Compliance Guide for Online Stores

April 5, 2026 ⏱ 10 min read Guardata Team
FOR ONLINE STORES

Every e-commerce business in India must comply with DPDP — whether you're selling on Shopify, WooCommerce, your own platform, or even Instagram/WhatsApp. The law applies to all customer data: names, addresses, phone numbers, payment information, order history, and browsing behavior.

Key risks: Storing payment card details (₹250 crore fine) • Not deleting old customer accounts (₹50 crore) • No privacy policy (₹50 crore) • Processing orders without consent (₹50 crore).


Does DPDP Apply to Your Online Store?

Yes, if you answer "yes" to any of these:

DPDP applies to:

🛒 Reality Check: "I use Razorpay, so payment data isn't my problem" is WRONG. Even if payment processing is handled by a gateway, you're still responsible for DPDP compliance. You control the customer relationship = you're the Data Fiduciary.


What Customer Data is Covered Under DPDP?

E-commerce businesses collect massive amounts of personal data. Here's what's covered:

CUSTOMER DATA TYPES

1. Account & Identity Data

  • Names (first, last, full)
  • Email addresses
  • Phone numbers (mobile, landline)
  • Date of birth (if collected)
  • Gender (if collected)
  • Profile photos
SHIPPING & BILLING DATA

2. Address Information

  • Delivery addresses (street, city, state, PIN code)
  • Billing addresses
  • Alternate delivery locations
  • GPS coordinates (if delivery tracking enabled)
PAYMENT DATA

3. Financial Information

  • Payment card last 4 digits (if stored for "save card" feature)
  • UPI IDs
  • Bank account numbers (for refunds)
  • Transaction history
  • Payment gateway tokens

⚠️ CRITICAL: Storing full card numbers, CVVs, or card PINs is prohibited under RBI guidelines and violates DPDP security requirements.

BEHAVIORAL DATA

4. Browsing & Purchase Behavior

  • Order history (what they bought, when, how much)
  • Cart abandonment data
  • Product views and wishlists
  • Search history on your site
  • IP addresses
  • Device IDs, browser fingerprints
  • Cookies and tracking pixels (Google Analytics, Facebook Pixel)
SUPPORT & COMMUNICATION DATA

5. Customer Service Data

  • Support tickets and chat transcripts
  • Email correspondence
  • WhatsApp chat history (if using WhatsApp Business)
  • Return/refund requests
  • Product reviews and ratings

All of this is personal data under DPDP. You must handle it according to DPDP requirements.


DPDP Requirements for E-commerce Businesses

1. Obtain Valid Consent Before Checkout

You must obtain explicit consent from customers before processing their data. This means:

❌ ILLEGAL: Pre-ticked consent checkboxes. The box must be unchecked by default. If customers have to uncheck to opt-out, that's invalid consent → ₹50 crore maximum penalty.

2. Publish a Privacy Policy

Your privacy policy must explain:

The policy must be:

3. Implement Security Measures

E-commerce security requirements:

4. Honor Data Deletion Requests

Customers have the right to request deletion of their data. You must:

⚠️ Exception: You can keep data required for legal compliance (e.g., GST records for 7 years, order invoices). But you must delete everything else.

5. Set Data Retention Periods

You cannot store customer data forever. Set clear retention periods:


Top 7 E-commerce DPDP Violations (And How to Avoid Them)

VIOLATION 1: Storing Full Payment Card Details

The mistake: Saving customer credit/debit card numbers, CVVs, or expiry dates in your database for "faster checkout next time."

Why it's illegal: RBI prohibits merchants from storing full card data. DPDP's security requirements reinforce this. Storing card data = security failure.

Penalty: Up to ₹250 crore.

Fix: Use tokenization via payment gateways (Razorpay, Stripe). The gateway stores the token, not you.

VIOLATION 2: No Privacy Policy

The mistake: Launching your store without publishing a privacy policy.

Why it's illegal: DPDP mandates a clear privacy notice. No policy = automatic violation.

Penalty: Up to ₹50 crore.

Fix: Generate a DPDP-compliant e-commerce privacy policy. Link it from footer and checkout page.

VIOLATION 3: Pre-Ticked Marketing Consent

The mistake: Checkout page has a pre-ticked checkbox: "☑ Send me promotional emails." Customers have to uncheck to opt-out.

Why it's illegal: DPDP requires explicit consent. Pre-ticked boxes are assumed consent, not explicit consent.

Penalty: Up to ₹50 crore.

Fix: Make the checkbox unchecked by default. Customers must actively tick it to opt-in.

VIOLATION 4: Storing Data Forever

The mistake: Keeping customer accounts, order history, and addresses from 2015 even though those customers haven't ordered since then.

Why it's illegal: DPDP requires data retention limits. You can't store data indefinitely "just in case."

Penalty: Up to ₹50 crore.

Fix: Set a retention policy: Delete accounts inactive for 2+ years (after backing up tax-required data).

VIOLATION 5: Ignoring Deletion Requests

The mistake: Customer emails asking to delete their account. You ignore it or say "we can't delete it due to technical limitations."

Why it's illegal: Data Principals have the right to deletion. You must honor it (except for legally required data).

Penalty: Up to ₹50 crore.

Fix: Create a [email protected] email. Respond within 30 days. Delete the account and data (keep only tax records if required).

VIOLATION 6: Sharing Data with Third Parties Without Consent

The mistake: Selling customer email lists to marketing companies or sharing customer data with "partner brands" without explicit consent.

Why it's illegal: DPDP requires consent for each specific purpose. Consent to "place an order" ≠ consent to "share data with partners."

Penalty: Up to ₹50 crore.

Fix: Don't share/sell customer data. If you must share with partners, get separate explicit consent.

VIOLATION 7: No Breach Notification

The mistake: Your database gets hacked. Customer data leaks. You try to "fix it quietly" without notifying anyone.

Why it's illegal: DPDP requires breach notification to the Data Protection Board within 72 hours + notification to affected customers.

Penalty: Up to ₹200 crore.

Fix: Create an incident response plan. If breach occurs, notify DPB within 72 hours, notify customers, fix the vulnerability.


Platform-Specific DPDP Compliance

Shopify Stores

What Shopify handles: PCI-DSS payment compliance, basic security, HTTPS.

What YOU must handle:

WooCommerce (WordPress) Stores

What WooCommerce provides: Basic privacy tools, data export/erasure features.

What YOU must handle:

Custom-Built Stores

You're responsible for everything:

Instagram/WhatsApp Selling

Yes, DPDP applies even if you sell via Instagram DMs or WhatsApp Business:


E-commerce DPDP Compliance Checklist

Compliance Item Status
Privacy Policy published (linked from footer + checkout)
Consent checkbox at checkout (unchecked by default)
Separate marketing consent (optional, not required for purchase)
Cookie consent banner (for Google Analytics, Facebook Pixel)
HTTPS enabled (SSL certificate active)
Payment data tokenized (not storing full card numbers)
Database encrypted (customer data at rest)
Data retention policy set (delete inactive accounts after X years)
Privacy email active ([email protected] for data requests)
Data deletion workflow (can delete customer data on request)
Breach response plan (know how to notify DPB within 72 hours)
Third-party audit (reviewed payment gateway, shipping, CRM DPDP compliance)

FAQ for Online Store Owners

Does DPDP apply to small online stores?

Yes. Even if you're a solo entrepreneur selling on Instagram or a small Shopify store with 10 orders/month, if you collect customer data from Indians, DPDP applies. There's no size exemption.

What customer data is covered under DPDP?

All personal data: names, emails, phone numbers, delivery addresses, payment information, order history, browsing behavior, IP addresses, device IDs. Everything.

Can I store customer payment card details?

No. Storing full card numbers, CVVs, or card PINs is prohibited under RBI guidelines and violates DPDP's security requirements. Use tokenization via payment gateways instead.

How long can I keep customer order data?

Only as long as necessary for the business purpose. Recommended: Keep active customer data while account is active + 2 years after last purchase. Keep tax-required records (invoices) for 7 years. Delete everything else.

Do I need consent to send order confirmation emails?

No. Transactional emails (order confirmations, shipping updates, invoices) are permitted without separate consent because they're necessary to fulfill the purchase. But marketing emails require opt-in consent.

What if I use Razorpay/Paytm for payments?

You're still the Data Fiduciary. Razorpay/Paytm are your Data Processors. You're responsible for overall DPDP compliance, even if payment processing is outsourced.


G

Written by Guardata Team

Helping businesses achieve DPDP compliance.