B2B Medusa E-Commerce Platform
A headless B2B commerce platform for enterprise catalogs, dynamic delivery pricing, and self-service bulk ordering.

platform
Web Application
team
1 Members
location
Poland
industries
E-commerce
Project Background
Project Background
B2B Medusa is a production-grade B2B e-commerce platform built for a European client to manage enterprise-scale product catalogs, dynamic delivery pricing, and advanced B2B purchasing workflows. It pairs a headless Medusa v2 backend with a modern Next.js storefront and the Plasmic visual editing system, so non-technical teams can manage storefront content while developers keep full control over commerce logic.
Designed for scale from day one, the system supports catalogs of 100,000 to 200,000 SKUs, complex delivery calculations, customer-group pricing, and a secure multi-layer infrastructure.

Business Needs

Business Needs
- Replace traditional bulk-order sales workflows with a modern self-service purchasing experience
- Support large-scale catalogs of up to 200,000 SKUs
- Calculate dynamic delivery dates and pricing
- Manage B2B customer groups and offers
- Let non-developers edit storefront pages
- Provide secure, enterprise-grade checkout workflows
- Build a future-ready architecture that scales without refactoring
Tech stacks
.png)
next js
TypeScript
For Language
Medusa
For Backend

Node.JS
For Database
Redis
For Database
Stripe
For API
.png)
next js
TypeScript
For Language
Medusa
For Backend

Node.JS
For Database
Redis
For Database
Stripe
For API

React
For Frontend

Tailwind CSS
For Frontend
Plasmic
For Frontend

PostgreSQL
For Database

Firebase
For Database

React
For Frontend

Tailwind CSS
For Frontend
Plasmic
For Frontend

PostgreSQL
For Database

Firebase
For Database
Service Provided
Project Challenges
- Firebase and Medusa authentication bridge: Firebase handled user authentication while Medusa managed commerce accounts. A custom bridge synchronises users securely with HMAC-signed session cookies, without exposing internal credentials.
- Dynamic delivery pricing engine: Delivery pricing depends on quantity thresholds, lead times, delivery speed, and business-day calculations, and had to stay fully configurable from the admin panel.
- Real-time cart price synchronization: Cart pricing recalculates instantly when users change quantities, delivery methods, or dates, with metadata persisted into Medusa order workflows.
- Editable storefront architecture: Plasmic integration had to support drag-and-drop editing while keeping commerce logic clean and developer-owned.
- Enterprise infrastructure security: Cloudflare edge protection, origin verification, secure CORS, and staging security were implemented across multiple environments.
- Anonymous order recovery: Guest orders attach automatically to authenticated accounts after login, without losing order history or address data.

Strategy and Solutions

- Headless Medusa v2 commerce architecture
- Dynamic delivery pricing engine with a 4-tier delivery speed system
- Enterprise-scale product catalog management
- Advanced cart and bulk-order workflows
- Stripe Checkout integration
- Customer groups and offer management
- Firebase and Medusa authentication bridge
- Visual storefront editing with Plasmic
- Saved collections and favourites
- Customer account and address management
- Admin-configurable navigation
- Real-time pricing recalculation with business-day delivery logic
Results & Impact
- Delivered a scalable, enterprise-grade B2B commerce system for complex purchasing workflows and large catalogs
- Independent scaling of frontend and backend through a headless architecture
- The client configures delivery rules, pricing tiers, and quantity thresholds without code changes
- Non-technical teams manage storefront layouts and content through Plasmic
- Security built in as a core layer through Cloudflare protection, origin verification, and controlled infrastructure access
- A future-ready foundation for large-scale growth without architectural debt

Other Works
Explore some of the best solutions that we created to offer a best-in-class user experience.

Klavir: D2C Bracelet E-Commerce & Design Studio
A direct-to-consumer bracelet store with an interactive bead-by-bead design studio and real-time pricing.

EndoDNA Health & Genetics Guidance Platform
A HIPAA-compliant, multi-tenant SaaS that unifies lab results, genetic data, and an AI health assistant for clinics.

TherapyCue AI Clinical Assistant Platform
A HIPAA-compliant assistant that transcribes therapy sessions live and auto-generates structured SOAP notes.



