thecpapbox.com

Custom Magento-based healthcare subscription system featuring prescription uploads, virtual mask fitting, automated resupplies, and advanced subscription management.

Project Overview

CPAPBox is a healthcare eCommerce platform offering subscription-based CPAP machines and consumables. The objective was to build a flexible, scalable subscription system that supports both standalone subscriptions and bundled subscription plans, while handling recurring billing, medical compliance, and automated resupply.

The solution was architected using Magento bundle products combined with Amasty Subscriptions, allowing customers to subscribe to individual products or opt for bundled plans based on their needs.

Project Type

  • Magento 2 Subscription-Based eCommerce Platform
  • Bundle & Standalone Subscription Architecture
  • Amasty Subscription Customization
  • Stripe Recurring Payment Integration
  • Healthcare Compliance & Prescription Workflow

Core Subscription Architecture

Bundle & Standalone Subscription Model

The subscription system was designed to support multiple purchasing paths:

  • Standalone Subscriptions
    • CPAP Machine can be subscribed to independently
    • Mask can be subscribed to independently
  • Bundle Subscriptions
    • CPAP Machine + Mask bundled into a single subscription plan

Each subscription bundle is built using Magento bundle products, while standalone products use standard product types — all managed under Amasty Subscriptions for recurring billing.

This hybrid approach provides:

  • Maximum customer flexibility
  • Clear pricing and billing logic
  • Simplified backend management
  • Easy scalability for future plans

Subscription Plans & Fulfillment Logic

  • CPAP Machine subscription: $29.99/month
  • Mask subscription: $25.99/month

For mask subscriptions (standalone or bundled), recurring supplies are automatically included:

  • Filters, tubing, cushions on a monthly cycle
  • Headgear every 6 months
  • Full mask replacement annually

All fulfillment schedules are controlled through custom logic layered on top of the subscription engine.

Key Features & Functionality

Prescription Upload & Virtual Mask Fitting

  • Mandatory prescription upload before fulfillment
  • Virtual mask fitting using mobile camera
  • Ensures correct sizing and reduces returns

Subscription Management & Cancellation

  • Customer dashboard for managing active subscriptions
  • Guided multi-step cancellation flow with feedback capture

Automated Resupply & Notifications

  • Subscription-driven resupply notifications
  • Fully automated email communication

Stripe Recurring Payments

  • Secure recurring billing using Stripe
  • Tokenized card storage and retry handling

Admin Reporting & Insights

  • Subscription usage and supply reports
  • Order and lifecycle tracking

Mobile Number Login

  • Phone number–based login for fast, low-friction access

Outcome & Impact

  • Flexible subscription options (standalone or bundled)
  • Reduced operational complexity through automation
  • Reliable recurring billing and fulfillment
  • Scalable Magento subscription architecture

Let’s Talk

Ready to elevate your eCommerce?
Let’s build a smarter, faster, future-proof platform.

Big ideas need expert execution. Let’s shape the future of commerce — together.

×

    You Dream It,We Build It

    100+

    Projects
    Delivered

    4.9

    Happy
    Rating

    100%

    Retention
    Rate

    15+

    Global
    Clients

    Got the Vision?

    We’ve Got The Expertise.

    Tell us more about yourself and what you’re got in mind.