LearnX AIVisual Documentation
Commerce

Payments, Coupons, Bundles, Earnings

Commerce makes the LMS commercially usable in sandbox mode: free/paid/private courses, coupons, bundles, invoice checkout, student payment history, instructor earning ledger, payout requests, and AI revenue insights.

Commerce console
Commerce console with revenue, invoices, coupons, bundles, earnings, payouts, and AI insights.
Commerce and payout flow

Workflow

  1. Teacher/admin configures free, paid, bundle, subscription-placeholder, or private pricing.
  2. Student checks out; coupon validation returns structured eligibility reasons.
  3. Captured sandbox payment grants course or bundle enrollments idempotently.
  4. Instructor ledger calculates net after coupon discount and commission split.
  5. Instructor requests payout; admin approves, rejects, marks paid, or holds/reverses on refund.

Routes

ScreenRoutePurpose
Commerce console/lms/commerceRevenue, invoices, payments, coupons, bundles, earnings, payouts.
Student payments/student/paymentsOwn invoice and receipt history.
Instructor earnings/instructor/earningsAvailable balance, pending earnings, payout requests.

AI Commerce

AI suggests pricing, coupon campaigns, revenue summaries, and instructor earning insights. Suggestions remain drafts and never change price, coupon, payout, or ledger records automatically.

Demo And Developer Notes

Buyer exampleApply a sandbox coupon, confirm a bundle invoice, then inspect instructor earnings after discount.
Developer noteGuided anchors include commerce-workspace, student-payments-workspace, and instructor-earnings-workspace. Payouts remain manual/admin-approved.
  • Coupon validation explains rejection reasons.
  • Bundle checkout enrolls all active courses.
  • Student sees only own payment history.
  • Instructor sees only own earnings.