GenForge Studio Logo

GenForge Studio

Services
Web DevelopmentStartup Web DevelopmentUI/UX DesignSaaS DevelopmentE-commerceTechnical SEOπŸ“ Lucknow Agency
Case StudiesAbout UsBlogsCareersCost Calculator
Website Audit
Contact

Contact

Home/Projects/Spark & Stitch

Case Study

Spark & Stitch

A UPI-first apparel e-commerce platform built with Cashfree payments, Cloudinary media optimization, and an affiliate partner program β€” tuned for conversion and developer velocity.

Client
Spark & Stitch
Industry
Apparel E-commerce
Timeline
4 Weeks
Location
Ahmedabad, India
Year
2025
Type
E-commerce + Affiliate
Spark & Stitch β€” Homepage with product showcase and UPI-first checkout
Business Challenge

High cart abandonment and no growth channel beyond ads

Spark & Stitch sells apparel online from Ahmedabad. Their core challenge was twofold: checkout friction was killing conversions, and their only customer acquisition channel was paid advertising.

Most Indian e-commerce customers prefer UPI over cards and COD. But their previous checkout flow was card-first, adding unnecessary friction. At the β‚Ή500-β‚Ή2,000 price range, customers expect instant UPI payments β€” not a 3-step card entry process. Every extra step in checkout was costing sales.

Beyond checkout, they needed a growth engine that didn't depend entirely on ad spend. An affiliate program would let content creators and micro-influencers drive sales through tracked referral links, with automated commission payouts β€” turning marketing spend into performance-based partnerships.

Goals

  • Build a UPI-first checkout that reduces payment friction
  • Optimize product images for fast loading without quality loss
  • Create a real-time admin dashboard for orders, payments, and refunds
  • Launch an affiliate program with tracked links and automated payouts
  • Achieve sub-2s LCP for product pages on mobile

Constraints

  • Payment webhooks must be idempotent β€” no duplicate charges
  • Image optimization must preserve product photo quality
  • Affiliate tracking must be accurate enough to automate payouts
  • 4-week timeline from concept to launch
Results

Performance after launch

Comparing checkout success rate and performance metrics against the previous implementation.

+7-12%
Checkout Success
via UPI-first flow
-45-60%
Image Weight
Cloudinary optimization
<2s
Product LCP
on mobile connections
-35%
TTFB
server-side improvements
Solution

What we built and why

UPI-First Cashfree Checkout

The checkout flow opens Cashfree's payment session with UPI as the default method β€” intent/collect for apps, QR for desktop. Card and other options are available but secondary. For β‚Ή500-β‚Ή2,000 purchases, UPI is what Indian customers reach for. Making it the default option instead of forcing customers to scroll past card entry drove a 7-12% improvement in checkout success.

Cloudinary Media Pipeline

Product photos are uploaded to Cloudinary and served with automatic format conversion (WebP/AVIF), quality optimization (q_auto), and responsive widths. A 5MB camera photo becomes a 300KB optimized image without visible quality loss. This cut total page weight by 45-60% and brought product page LCP under 2 seconds.

Real-Time Admin Dashboard

The admin panel centralizes orders, payments, refunds, and inventory in one view. Payment status syncs via Cashfree webhooks β€” the admin sees real-time updates as payments succeed, fail, or get refunded. Settlement IDs are tracked for accounting reconciliation.

Affiliate Partner Program

Low-friction onboarding: apply β†’ pay small fee β†’ instant partner ID. Each partner gets unique referral links and coupon codes with UTM tracking and server-side event attribution. Monthly payouts processed via Cashfree's payout API. Partners see clicks, conversions, and pending earnings in their dashboard. Admins can audit the referral chain and approve payouts.

Gallery

Platform screens

Spark & Stitch β€” Product catalog with category filtering and quick-add cart
Spark & Stitch β€” Product catalog with category filtering and quick-add cart
Spark & Stitch β€” Product detail page with size selector and Cloudinary-optimized images
Spark & Stitch β€” Product detail page with size selector and Cloudinary-optimized images
Spark & Stitch β€” Shopping cart with UPI payment flow
Spark & Stitch β€” Shopping cart with UPI payment flow
Spark & Stitch β€” Affiliate partner dashboard with referral tracking
Spark & Stitch β€” Affiliate partner dashboard with referral tracking
Technology Stack

Why we chose each tool

N

Node.js + Express

Full-stack backend handling product catalog, cart logic, order management, and webhook processing. Express gives fine-grained control over payment webhook verification that framework-level abstractions don't provide.

C

Cashfree Payments

UPI-first payment flow reduces MDR (merchant discount rate) compared to card payments. For apparel at β‚Ή500-β‚Ή2,000 price points, UPI's lower processing fees directly improve margins. Cashfree also handles the affiliate payout system.

C

Cloudinary

Product images are the most critical element of apparel e-commerce. Cloudinary serves WebP/AVIF automatically, applies responsive widths, and reduces image weight by 45-60% without visible quality loss. Product photos load in under 1 second on 4G.

I

Idempotent Order Processing

Payment webhooks can fire multiple times. Each order creation uses an idempotency key to prevent duplicate charges. The system verifies Cashfree's webhook signature before marking any order as paid.

A

Affiliate Tracking System

Unique referral links with UTM parameters, server-side event tracking for attribution accuracy, and automated monthly payouts via Cashfree. Partners see their referral performance in a dedicated dashboard.

Process

4-week e-commerce build

01

Product & Payment Setup

Week 1

Designed product catalog schema, integrated Cashfree payment APIs with idempotent order creation, and built the UPI-first checkout flow.

02

Storefront & Media

Week 2

Built the product browsing experience with Cloudinary-optimized images, size selectors, cart management, and responsive product grids.

03

Admin & Affiliate

Week 3

Developed the admin dashboard for order/payment management and the affiliate partner program with tracking, attribution, and payout logic.

04

Optimization & Launch

Week 4

Performance optimization (critical CSS, dynamic imports, Brotli compression), webhook signature verification testing, and production deployment.

Engineering Challenges

Problems we solved

Idempotent Payment Processing

Payment webhooks can fire multiple times (network retries, Cashfree's retry logic). Without idempotency, a single payment could create multiple orders or charge the customer twice.

Solution: Each order creation includes an idempotency key derived from the cart session ID. Duplicate webhook calls find the existing order and return success without re-processing. Webhook signature verification with Cashfree's public key prevents forged payment events.

Accurate Affiliate Attribution

Cookie-based tracking breaks when users switch devices or clear cookies. Inaccurate attribution means either overpaying or underpaying partners β€” both destroy trust.

Solution: Dual attribution: UTM parameters for initial click tracking + server-side coupon code association for purchase attribution. If a customer uses a partner's coupon code at checkout (even on a different device), the partner gets credit. The coupon code serves as a device-independent attribution signal.

"

Working with GenForge was a breeze β€” we launched fast and finally have clear visibility into orders and payments. The affiliate program is already bringing in sales we wouldn't have gotten through ads alone.

Henil Patel
Founder, Spark & Stitch
FAQ

Questions about this project

Why Cashfree instead of Razorpay for this project?+
Spark & Stitch primarily targets Indian customers at the β‚Ή500-β‚Ή2,000 price range where UPI is the dominant payment method. Cashfree's UPI-first checkout flow has lower MDR compared to card-heavy gateways, directly improving margins on each sale. Cashfree also provides the payout APIs needed for the affiliate program β€” partner commissions are paid out automatically through the same payment infrastructure.
How does the affiliate program work?+
Partners apply β†’ pay a small one-time onboarding fee β†’ receive a unique referral link and coupon code. When someone purchases through their link (tracked via UTM + server events), the partner earns a commission. Payouts are processed monthly via Cashfree's payout API. Partners see their referral clicks, conversions, and pending earnings in a dedicated dashboard. Admins can approve/reject payouts and audit the referral chain.
How did you reduce image weight by 45-60%?+
Three optimizations via Cloudinary: (1) automatic format conversion to WebP/AVIF based on browser support (f_auto), (2) quality optimization that reduces file size without visible degradation (q_auto), and (3) responsive width delivery β€” mobile gets 640px images, desktop gets 1200px. The original 3-5MB camera photos become 200-400KB optimized assets without any visible quality difference on product pages.
How do you prevent duplicate payments from webhook retries?+
Every order creation includes an idempotency key tied to the cart session. If Cashfree's webhook fires twice for the same payment (network retry), the second attempt finds the existing order and returns success without creating a duplicate. We also verify the webhook signature with Cashfree's public key before processing any payment update β€” preventing forged webhook attacks.
Can you build a similar e-commerce platform for our brand?+
Yes. Spark & Stitch took 4 weeks. We need: your product catalog with images, your payment gateway preference (Cashfree, Razorpay, or Stripe), your shipping/fulfillment workflow, and your growth model (affiliate, referral, or direct marketing). We handle the full-stack development, payment integration, media optimization, and deployment.
Related Services

How we can help you

E-commerce Development

Custom e-commerce with payment integration and media optimization

Custom Web Development

Full-stack platforms with Node.js, React, and modern payment gateways

UI/UX Design

Conversion-optimized checkout flows and product browsing experiences

Related Work

Similar projects

Online Planet

Multi-vendor marketplace with Razorpay split-payments and seller dashboards.

MarketplacePaymentsMulti-Vendor
View case study

SaleBuy

AI-powered C2C marketplace with Gemini vision auto-listing.

MarketplaceAIMongoDB
View case study

Forces Express

Logistics portal with shipping calculator and admin dashboard.

Full-StackDashboardCalculator
View case study

Want to build an e-commerce platform?

We build conversion-optimized stores with UPI payments, media optimization, and growth tools.

Start a Project Estimate Cost
← Prev: FiableNext: KaamConnekt β†’
GenForge Studio Logo
GenForge Studio

GenForge Studio is a digital agency based in Lucknow, India. We build high-performance websites, apps, and digital products for businesses ready to grow.

Services

  • All Services
  • Web Development
  • UI/UX Design
  • SaaS Development
  • E-commerce Development
  • Startup Web Development
  • Technical SEO
  • Web Agency Lucknow

Company

  • Projects
  • Clients & Results
  • About Us
  • Our Team
  • Careers
  • Read Blogs
  • Privacy Policy
  • Terms of Service
  • Cookies Settings

Get in touch

Have a project in mind? Let’s build something remarkable together.

hello@genforgestudio.com+91 72338 11034+91 73908 03067

Lucknow, IndiaUttar Pradesh

Schedule a call
Locations Served:LucknowNoidaDelhiBangaloreMumbaiPuneHyderabad

Β© 2026 GenForge Studio. All rights reserved.

PrivacyTermsRefund PolicyCookies

GenForge Studio