Production-grade partner tracking and multi-tier commission platform for Shopify apps
Off-the-shelf affiliate software was expensive, took a cut of merchant revenue, and frequently dropped referral credits during Shopify App Store browser redirects. The business needed a custom, privacy-safe attribution system that could accurately link app installs to creators without relying on fragile third-party cookies.
Architected a Next.js 16 full-stack monolith powered by React 19 and PostgreSQL via Prisma ORM. Built a dual-track attribution engine combining direct click IDs with a fallback probabilistic scoring model (IP, browser family, language, and time decay). Replaced external Redis instances with a PostgreSQL token-bucket table for rate limiting, and encrypted sensitive payout details at the database level using AES-256-GCM.
Advanced Shopify app for custom product bundling and flexible subscription management