Skip to content

Subscriptions and courses

  • the Subscriptions module and, for courses, Courses
  • plans marked “sell online” or published courses
  • a client portal and a payment processor for card payments

Paste it after the base prompt, then add Design without the AI look.

Build subscription and course sales on /api/site/v1/account. Start from the client account flow.
Subscriptions:
- Pricing page from GET /account/subscription-plans. Do not hardcode prices.
- Purchase: POST /account/subscriptions with { plan_id, return_url }, then redirect to payment_url.
- "My subscription": status, period, amount due, change plan, cancel at period end, undo cancellation, change card.
- Subscriber prices: GET /account/subscriber-prices.
Courses:
- Public catalog with a page per course: curriculum, free preview lessons, price, reviews.
- Enroll or check out, then "My courses" with progress.
- Lesson: video, text, attachments, notes, questions, quiz, assignment. Video and files go through your server, which adds the key and session.
- Save progress now and then, not every second.
- Certificates are downloaded from /account/certificates.