Skip to main content
[ DEVLOG ARCHIVE // RETURN ]
2 MIN READ

Building an E-commerce Website in India: Razorpay, UPI & GST Setup

A practical walkthrough of launching an Indian e-commerce store in 2026 — from choosing a stack to wiring up Razorpay, UPI Intent, GSTN invoicing and Shiprocket.

CM
Codemistry Team
4 May 2026•VERIFIED DOSSIER

India's e-commerce market is on track to cross $160B by 2028. If you are launching an online store in 2026, this is the practical setup we use at Codemistry for our Indian clients.

1. Pick the right stack

For most Indian SMBs we recommend either Shopify (with India payment apps) for speed-to-market, or a custom Laravel + React store when you need deeper customisation, B2B pricing, or GST compliance baked in.

2. Razorpay — the default Indian gateway

  1. Create a Razorpay account, complete KYC (PAN, GST, bank account)
  2. Generate key_id and key_secret
  3. Use the standard checkout SDK or the Orders API for server-side verification
  4. Always verify the signature on the webhook before marking an order as paid

3. UPI Intent — the Indian conversion booster

For mobile checkout, UPI Intent (deep-linking into PhonePe / GPay / Paytm) typically lifts conversion by 15–25% over standard card flows. Razorpay supports this out of the box; just pass the right method: 'upi', flow: 'intent' options.

4. GST-compliant invoicing

  • Display HSN/SAC codes on every line item
  • Split CGST + SGST for intra-state, IGST for inter-state
  • Issue a tax invoice (not just a receipt) for B2B customers
  • Generate e-invoice JSON if your turnover crosses ₹5 crore

5. Shipping — Shiprocket, Delhivery or self-pickup

For most D2C brands, integrating Shiprocket gives you 15+ courier partners on one API and serviceability checks by pincode. We auto-assign couriers based on weight + COD/prepaid + zone.

6. SEO from day one

Indian buyers search in a mix of English and Hinglish. Optimise product pages for both — e.g. "kurta for women" + "ladies kurti online India". Add Product JSON-LD with INR pricing for rich results in Google.

Need an Indian e-commerce build that ships in 4–8 weeks with all of the above? See our e-commerce service or request a quote.

// DOCUMENTATION VERIFICATION SEAL

Published by the Codemistry Engineering Core. Dedicated to shipping resilient software for Indian enterprises & startups.

READY TO SHIP HIGH-VELOCITY CODE?

BUILD YOUR CUSTOM PLATFORM WITH CODEMISTRY

Websites, microservices, mobile apps, and AI integrations engineered for Indian businesses — delivered on time, with transparent milestone INR pricing and 100% intellectual property ownership.

//RELATED DEVLOG DOSSIERS

[ VIEW ALL ]