✦ Case Study — Multi-Vendor Healthcare Marketplace

Multi-Vendor Dispensary &
Practitioner Marketplace

A US-based professional online dispensary running on a fundamentally reimagined Vnecoms Multi-Vendor Marketplace and Magento 2 — where practitioners recommend rather than sell, patients purchase through personalised dispensary links, and operators manage a fully automated three-party marketplace at scale.

3
User Roles
100%
Automated Commissions
Stripe
Subscription Billing
USA
Market
Scroll to explore

Overview

Healthcare System is a US-based professional online dispensary designed for healthcare practitioners — including doctors, naturopaths, and nutritionists — enabling them to recommend supplements to patients and earn commissions through unique referral links.

At its core, this is a multi-vendor marketplace — built on the Vnecoms Multi-Vendor Marketplace framework and completely reimagined for a practitioner referral model. Integrated with Magento 2 and Stripe subscriptions, the platform orchestrates a three-party ecosystem:

  • Practitioners — doctors, naturopaths, and nutritionists who recommend and earn
  • Patients — who receive personalised recommendations and purchase seamlessly
  • Platform Administrators — who manage the full marketplace, billing, and approvals

A joint project with DevBatch — bridging healthcare recommendations with eCommerce infrastructure to create a recommendation-driven marketplace that operates automatically, from referral tracking through to commission payouts and subscription lifecycle management.

The Challenge

The project required solving multiple non-standard marketplace problems that Magento and Vnecoms do not support natively — requiring deep custom development across the platform's core logic.

Multi-Vendor Marketplace: Reimagining the Vendor Role

The Vnecoms Multi-Vendor Marketplace is built for vendors who sell products directly — not practitioners who recommend. Adapting the multi-vendor framework to support a referral model required:

  • A referral-based practitioner model rather than a seller model
  • Per-product referral URLs for precise order attribution
  • Real-time commission calculation for each order placed via a referral
  • Earnings visibility and payout workflow from within the dashboard
  • Accurate attribution even when a patient browses multiple practitioners

Subscription Billing & Dashboard Gaps

The default Magento and Vnecoms interfaces were not designed for healthcare workflows:

  • Practitioner features needed gating via recurring Stripe billing
  • Subscription lifecycle — upgrades, downgrades, cancellations — required full automation
  • Practitioner onboarding needed an approval flow before access was granted
  • Patients needed a personalised recommendation feed with one-click purchasing
  • Auto-refill scheduling was not supported natively in Magento

Standard marketplace platforms treat all vendors as sellers. This platform needed a fundamentally different model — one where practitioners recommend rather than sell, and where the entire revenue attribution, subscription, and recommendation engine had to be built from scratch.

Our Solution

Esparks and DevBatch transformed a standard Magento 2 + Vnecoms Marketplace installation into a fully custom healthcare commerce platform — building a referral engine, commission system, subscription billing integration, personalised recommendation flow, and purpose-built dashboards for all three user roles.

Custom Multi-Vendor Marketplace Transformation

The Vnecoms Marketplace was redesigned from a traditional vendor/seller model into a referral-based practitioner ecosystem — fundamentally changing how the marketplace attributes revenue and manages participants.

Practitioner onboarding with admin approval flow
Unique dispensary links per practitioner
Per-product referral URLs for precise tracking
Referral attribution persisted across sessions
Admin approval workflow before platform access
Practitioner profile and dispensary page management

Outcome: Practitioners operate as referral partners — not vendors — with unique dispensary links that drive trackable patient purchases without requiring inventory management.

Custom Commission Engine

A purpose-built commission engine calculates and tracks earnings in real time — without requiring any manual admin intervention.

  • Real-time commission calculation triggered on each order placed via a referral link
  • Automated attribution — commissions tied directly to the referring practitioner
  • Earnings dashboard visible in the practitioner account panel
  • Payout workflows for admin to process commissions to practitioners
  • Full order-level commission audit trail

Outcome: Zero manual commission tracking — every referral order is automatically attributed, calculated, and logged without admin input.

Personalised Recommendation System

Practitioners can create personalised supplement plans directly for individual patients — patients receive these as a curated recommendation feed with one-click purchasing.

01

Practitioner creates a supplement plan for a specific patient

02

Patient receives an email notification with the recommendation

03

Patient views the personalised feed in their dashboard

04

One-click add-to-cart — recommended products go directly to checkout

05

Order is attributed to the practitioner — commission calculated automatically

Outcome: Recommendation-to-purchase friction reduced to a single click — practitioners' guidance drives direct, trackable revenue.

Stripe Subscription Integration

Practitioner platform access is gated behind tier-based subscription plans managed entirely through Stripe — with full webhook automation handling every billing event.

  • Tier-based practitioner plans with different feature sets per level
  • Automated billing, renewals, and plan upgrades via Stripe Billing
  • Webhook-driven access control — subscription events update platform permissions instantly
  • Failed payment handling with grace period and automatic access suspension
  • Cancellation and downgrade logic fully automated — no manual admin intervention

Outcome: Full subscription lifecycle — billing, renewals, upgrades, and access control — runs end-to-end without any manual admin work.

Purpose-Built Dashboards

Default Magento and Vnecoms interfaces were entirely replaced with purpose-built dashboards designed for each user role's specific healthcare workflow.

Practitioner Dashboard
  • Patient management & order tracking
  • Recommendation creation & monitoring
  • Real-time earnings & commission insights
  • Centralised referral link management
  • Subscription & billing overview
Patient Dashboard
  • Personalised recommendation feed
  • One-click add-to-cart functionality
  • Auto-refill subscription management
  • Order history with full transparency
  • Access to professional supplement guidance

Outcome: Both user roles have a workflow-specific interface — practitioners manage patients and earnings; patients browse recommendations and manage auto-refills.

Auto-Refill Subscription System

Patients can subscribe to automatic supplement refills on flexible schedules — ensuring continuity of supplement usage and driving recurring revenue for the platform.

  • Flexible scheduling — weekly, bi-weekly, or monthly refill cycles
  • Managed directly from the patient dashboard — pause, cancel, or modify anytime
  • Ensures uninterrupted supplement supply without manual reordering
  • Drives predictable recurring revenue for platform operations

Outcome: Recurring revenue through auto-refills — patients stay on their supplement plans without friction, improving retention and lifetime value.

System Architecture

The platform operates as a three-party marketplace — practitioners recommend products through unique dispensary links, patients discover and purchase seamlessly, and the platform backend handles commissions, subscriptions, and auto-refills automatically.

✦ Multi-Vendor Marketplace Flow
Practitioners
Recommend & Earn Commissions
Referral Link
Dispensary Platform
Vnecoms MV · Magento 2 · Stripe
Purchase
Patients
Discover, Purchase & Auto-Refill
Powered by Vnecoms Multi-Vendor Marketplace + Magento 2  ·  Commission Engine  ·  Stripe Subscription Billing  ·  Auto-Refill System

Result: A modular, extensible platform where the recommendation, commission, subscription, and auto-refill layers operate independently — enabling each system to be maintained or upgraded without disrupting the others.

Results & Impact

100%

Automated Commission Model

1-Click

Recommendation to Purchase

Auto

Subscription Lifecycle

Recurring

Revenue via Auto-Refill

Business Impact

Fully automated commission model — commissions calculated and logged on every referral order with zero manual admin intervention

Seamless recommendation-to-purchase flow — patients go from practitioner recommendation to completed order in a single click

Subscription lifecycle fully automated — Stripe webhooks handle billing, renewals, upgrades, and access control end-to-end

Purpose-built dashboards for both practitioners and patients — improving usability and workflow clarity for all three user roles

Scalable healthcare commerce model — the platform's modular architecture supports growing practitioner networks, expanding product catalogs, and increasing patient volumes without architectural changes

Technology Stack

Magento 2
Vnecoms Marketplace
Stripe Subscriptions
PHP
MySQL
JS / HTML / CSS/LESS
REST APIs
XML / Config

Final Outcome

Before

  • No system for practitioners to recommend products to patients
  • Commission tracking was manual — prone to errors and delays
  • No subscription billing or automated access control for practitioners
  • Patients had no personalised dashboard or auto-refill capability

After

  • Full recommendation engine — practitioners send personalised plans; patients purchase in one click
  • 100% automated commissions — calculated and attributed on every order in real time
  • Stripe subscription lifecycle fully automated — billing, renewals, and access handled end-to-end
  • Patients have personalised dashboards with recommendations, order history, and auto-refill management

This platform successfully redefines how healthcare practitioners engage in eCommerce by transforming a traditional marketplace into a recommendation-driven ecosystem. By combining subscription billing, referral tracking, and personalised patient workflows, the system delivers both operational efficiency and business scalability — ready to support expanding practitioner networks and patient volumes without architectural changes.

Ready to Build a Scalable, Revenue-Driven Platform?

Looking to build a recommendation-driven marketplace, subscription platform, or custom Magento solution? Esparks helps healthcare and eCommerce businesses develop fully customised platforms — including commission engines, subscription billing, personalised recommendation flows, and purpose-built dashboards. Contact us to discuss your project.

Start a Conversation

Frequently Asked Questions

Can Magento support a healthcare recommendation platform?

Yes. With custom development, Magento 2 can be extended to support complex workflows like practitioner recommendations, referral tracking, and subscription billing. The platform's modular architecture makes it well-suited for building bespoke business logic on top of a proven eCommerce foundation.

How does the commission system work?

Each practitioner receives a unique referral link — and per-product URLs for precise tracking. Orders placed through those links are automatically attributed to the referring practitioner, and commissions are calculated in real time on each order. Earnings are visible in the practitioner dashboard with no manual admin input required.

Is Stripe suitable for subscription-based platforms?

Yes. Stripe provides robust subscription management, including billing cycles, upgrades, downgrades, failed payment handling, and webhook-based automation. When integrated with Magento, Stripe webhooks can drive platform access control automatically — meaning practitioners gain or lose access based on their subscription status without any manual intervention. Source: stripe.com/docs/billing

What is an auto-refill system?

An auto-refill system allows patients to automatically reorder supplements at scheduled intervals — weekly, bi-weekly, or monthly. This ensures continuity of supplement usage without requiring patients to manually reorder, improving retention and generating predictable recurring revenue for the platform.

Can this system scale for larger healthcare networks?

Yes. The architecture is designed to scale — the commission engine, recommendation module, subscription system, and auto-refill module all operate independently. This means the platform can support more practitioners, larger patient volumes, and expanded product catalogs without requiring architectural changes. Magento's underlying infrastructure also supports horizontal scaling for high-traffic environments.