Skip to content
James Ross
Commerce · Escale OnlineLive

Commerce network

Multi-Store Medusa v2 Commerce Backend

Four print-on-demand storefronts running on one shared Medusa v2 backend and one Astro storefront template, synced nightly to ERPNext.

stack: Medusa v2 · Astro · Stripe & Stripe Tax · Printful · Telnyx · Cloudflare Workers · Google & MS Merchant Center · ERPNext

01 / Problem

The problem

Operating four niche print-on-demand brands on separate stacks multiplies maintenance across storefront code, Stripe tax setup, Printful fulfillment, ad feeds, phone support, and accounting.

02 / Architecture

The build

  • Shared Medusa v2 backend and single Astro storefront template serving Patriot Merch, Truth Veteran, AI Print Works, and Shop Pet Direct.
  • Separate Stripe account per store with Stripe Tax, automatic Printful fulfillment submission, bulk catalog import, and double opt-in newsletters.
  • Dedicated toll-free number per store routed through Telnyx and a Cloudflare Worker, plus Google and Microsoft Merchant Center feeds (Google Ads Shopping launched November 2026).
  • Nightly bookkeeping pipeline syncing five Stripe accounts into a self-hosted ERPNext ledger, paired with 524 AI-generated lifestyle product photos.

03 / Diagram

System schematic

patriotmerch.orgtruthveteran.comaiprintworks.comshoppetdirect.comSHARED COREMedusa v2 + Astro4 stores on 1 backend524 AI lifestyle photosTelnyx + CF Worker voiceFULFILLMENTPrintful Auto-SubmitPAYMENTS & LEDGER5 Stripe Accts → ERPNextFEEDS & ADSGoogle & MS Merchant Center
Four Astro storefronts sharing one Medusa v2 core connected to Printful, per-store Stripe accounts, Telnyx + Workers routing, Merchant Center feeds, and ERPNext.

04 / Scope

Status & scale

Status

Live (Oct 2026)

Architecture

4 stores on 1 backend

Imagery

524 AI lifestyle photos

Bookkeeping

5 Stripe accts → ERPNext

05 / Stack

Components

  • Medusa v2
  • Astro
  • Stripe & Stripe Tax
  • Printful
  • Telnyx
  • Cloudflare Workers
  • Google & MS Merchant Center
  • ERPNext

06 / Writing