The future is agentic.

Edulia logo

Scaling digital education with a headless, API-first commerce architecture.

Edulia is a digital education provider offering online courses and a DDI (Didattica Digitale Integrata) platform, serving both B2C and B2B audiences through subscription models and one-time purchases. As the company expanded, its existing commerce infrastructure began to show limitations, prompting a shift toward a more flexible and scalable architecture.

The Challenge

Fragmented systems and limited scalability

Before adopting Commerce Layer, Edulia’s B2C platforms were built on WooCommerce and WordPress, where content and commerce were tightly coupled. In parallel, the DDI platform relied on a custom Laravel application with Stripe and PayPal integrations. While functional, this setup created silos and made it difficult to scale, reuse components, or introduce new capabilities efficiently.

One of the most pressing challenges was the need to progressively deprecate multiple WooCommerce instances without undertaking complex and risky data migrations. At the same time, Edulia needed to support a highly specific requirement: integrating “Carta del Docente,” a government-issued vouchers for teachers, as a custom payment method—something not readily supported by most commerce platforms.

The Goals

Adopting a headless, flexible commerce strategy

With these challenges in mind, Edulia set out to adopt a headless commerce approach, aiming to decouple systems, standardize infrastructure across multiple white-label B2C projects, and enable full flexibility in payment integrations.

After evaluating several vendors, Commerce Layer emerged as the clear choice. The ability to create custom payment gateways was a decisive factor, combined with prior positive experience using the platform in another project.

The Solution

A Composable and cloud-native stack

Edulia transitioned to a modern, composable architecture. The core stack included:

  • Commerce Layer — Commerce (transaction, subscriptions, payments)
  • Sanity — CMS (centralized content management)
  • React / Next.js — Frontend
  • AWS CloudFormation — API Layer (custom orchestration API)
  • AWS CloudFront — CDN
  • Vimeo — Video delivery
  • AWS Cognito — Identity (unchanged)
The Results

From bottlenecks to a scalable, future-ready platform

The company now benefits from a unified and scalable commerce foundation across all platforms, with seamless support for custom payment methods such as Carta del Docente. Importantly, commerce is no longer a bottleneck: it has become a stable, reliable component that allows the team to focus on higher-value areas of the product.

Looking ahead, Edulia’s priorities are centered on platform evolution rather than commerce itself. On the B2C side, the goal is to further streamline the creation and management of white-label projects. For the DDI platform, the roadmap includes the launch of an AI agent, along with continuous improvements and new features to enhance the user experience.

Commerce Layer has played a key role in enabling this transformation by providing a robust, flexible, and developer-friendly foundation. As the team puts it, the completeness of the platform and its frontend libraries significantly accelerated development and simplified the overall implementation — allowing Edulia to move faster and focus on what matters most.

Your completeness of features and all your frontend libraries made our work a lot easier and faster.

Federico VezzoliHead of Tech @ Edulia dal sapere Treccani