Skip to content

E-learning platform: checkout, lessons, certification and verification

An e-learning platform in development for an online training provider: course discovery, checkout, enrolment, secure lessons, progress, quizzes, certification and public certificate verification.

Client
Client name withheld (online training provider)
Industry
training provider
Duration
In development (2026); running in staging

The problem

An online training provider has to run four businesses at once. A shop, where the price shown must be the price charged. A content platform, where a URL that works without a purchase gives the product away. An assessment body, where a marked quiz attempt is evidence that must survive later edits. And a certificating body, but only sometimes: some courses are certificated by the provider, others are regulated qualifications awarded by an external organisation, where a platform certificate would be a compliance error. Underneath sits the ordinary hard problem of commerce software: networks are unreliable, people double-click and payment providers deliver the same message more than once.

The approach

We are building two applications over one database: a Next.js storefront and learner app, and a Laravel API that also hosts the administrative panel. The API is a modular monolith with eleven domain modules, and business rules live in single-purpose actions rather than controllers, so one pricing service serves both the displayed price and the amount charged. The admin panel carries twelve resources across catalogue, people and commerce, led by a system-health view that reports every integration the platform depends on.

The outcome

In development. The platform is built and running in a staging environment, with the schema migrated, the catalogue and certification model in place and the administrative panel in use. Domain cutover and content loading remain before public launch, so no learner numbers, order volumes or financial figures exist or are reported. What can be stated is behaviour the test suite holds in place: a duplicated payment event cannot enrol a learner twice, two simultaneous certificate claims cannot produce two documents or numbers, an issued certificate and a marked quiz attempt do not change when the course is edited, the price displayed is the price charged, and a regulated qualification cannot be certificated by the platform. Repository audit, September 2026: 11 domain modules, 12 admin resources, 41 database migrations, 547 automated tests, 24 frontend routes and 4 product surfaces.

Challenges

Payment providers guarantee at-least-once delivery, so the same event can arrive twice. Every delivery is written to a receipt table keyed on the provider's event ID, then handled inside a transaction with a row lock. The processed marker and every fulfilment write commit or roll back together, so one charge cannot become two enrolments. Certificate numbers are derived from the certificate row's own primary key, and issuing locks the learner's entitlement first, so two simultaneous claims return one certificate. What a certificate shows is frozen at issue, so correcting a course title later cannot rewrite evidence already issued. The rule that regulated qualifications cannot be certificated by the platform is enforced twice, in the course editor and again at issue, because an entitlement can predate a course being reclassified.

What was built

  • — Course catalogue with search
  • — category
  • — level and sort filters
  • — plus study hours and qualification structure
  • — Hosted checkout or in-page card entry
  • — with eligibility and amount both decided on the server
  • — Basket checkout: one payment covering several orders
  • — without weakening double-charge protection
  • — Enrolments created from a paid order or directly by an administrator
  • — Modules and lessons with text
  • — resources and video
  • — every content path gated on an active enrolment
  • — Lesson completions aggregated into course progress by one shared rule
  • — Quizzes with pass marks and attempt policies
  • — each marked attempt frozen as evidence
  • — Certificate entitlements
  • — claimable on completion or released by an unlock code
  • — Concurrency-safe
  • — idempotent certificate issuing
  • — numbered from the database with displayed details snapshotted
  • — Public certificate verification from a random token
  • — with no account and no enumeration
  • — Regulated qualifications blocked from platform certification in the form and again at issue
  • — System-health screen reporting environment
  • — queue
  • — cache
  • — Redis
  • — video
  • — payments
  • — email and storage

Technology

Next.jsReactTypeScriptMUIPHPLaravelFilamentPostgreSQLRedisStripeResendBunny StreamPHPUnitNginxOracle CloudVercel

Have a similar operational problem?

Start with a 30-minute conversation about the operation and the useful next step.

  • Free 30-minute call
  • No obligation
  • Reply within 24 hours
Book a free 30-min call