Commerce & Certification · scenario
E-commerce Certification Portal
Commerce Platform → Integration Lab → Proctoring → Approval → Certificate
Overview
- Business problem
- A certification body sells exams online. Buyers already have a customer account on the commerce site and will not tolerate a second set of credentials, a manual enrolment queue, or a support ticket to obtain their certificate.
- Typical customer
- Professional certification bodies, training providers and vendors selling proctored certification directly to individuals or corporate buyers.
- Integration objective
- Turn a paid order into an entitled, launchable, proctored assessment and return a reviewed certificate to the buyer's existing account — fully automated, idempotent, and reversible on refund.
- Systems involved
- Commerce platform (WooCommerce-like)
- Customer identity (portal account or corporate IdP)
- Integration layer
- Integration Lab assessment & proctoring
- Review/approval workflow
- Certificate delivery
- Integration Lab capabilities used
- Candidate provisioning with external identifiers
- Exam assignment / entitlement
- Launch without separate credentials
- Proctored delivery and scoring
- Certificate issuance after approval
- Webhook notification of lifecycle events
- Expected outcome
- Candidate purchases at 09:12 and can launch the exam within seconds; after submission and evidence review the certificate appears in the buyer's portal account with zero manual back-office work.
Workflow
The happy path, step by step.
- 01
Customer registration / login
Customer Portal
Buyer authenticates with their existing portal account. No Integration Lab account exists yet.
- 02
Purchase certification
Commerce Platform
Payment captured; an order.created event carries the customer and SKU.
- 03
Create or update candidate
Integration Layer
Idempotent upsert into Integration Lab keyed by the commerce customer id.
- 04
Store external customer ID
Integration Layer
external_id = WC-8291 becomes the correlation key for every later read and write.
- 05
Assign purchased exam
Integration Layer
SKU PRO-CERT-001 maps to assessment asm_pro_cert_001; entitlement windowed to the access period.
- 06
SSO / direct exam launch
Customer Portal
Portal requests a single-use launch token and redirects the authenticated buyer straight into the exam.
- 07
Candidate completes exam
Integration Lab
Proctored attempt submitted and scored against the passing score.
- 08
Proctoring evidence review
Reviewer
Flagged moments inspected before any credential is released.
- 09
Customer approves candidate
Reviewer
Approval decision recorded with reviewer identity and timestamp.
- 10
Certificate released
Certificate Service
Certificate issued and certificate.available delivered to the portal.
- 11
Result and certificate returned to portal
Customer Portal
Buyer sees outcome and downloads the certificate inside their own account area.
Negative lifecycle events
How access is revoked, shortened or refused.
Order refunded
Commerce Platform
Unused entitlement revoked; if an attempt is already in progress the revoke is refused and handled as a business exception.
Subscription cancelled
Commerce Platform
valid_until is shortened to the cancellation effective date rather than deleting history.
Subscription expired
Commerce Platform
Entitlement lapses naturally; launch token requests are refused with assignment_expired.