Skip to content

docs: Fyso Teams paid entitlement reference (closes #1520)#59

Open
sebastianbarrozo wants to merge 2 commits into
mainfrom
docs/issue-1520-fyso-teams-entitlement
Open

docs: Fyso Teams paid entitlement reference (closes #1520)#59
sebastianbarrozo wants to merge 2 commits into
mainfrom
docs/issue-1520-fyso-teams-entitlement

Conversation

@sebastianbarrozo

Copy link
Copy Markdown
Contributor

Summary

  • New page billing/app-entitlements.md: full integrator reference for the Fyso Teams paid-only entitlement system — schema (migrations 0085-0087), seed, env vars, all endpoints, error codes, Paddle webhook routing, state machine D4, cron transitions, and frontend integration (paywall + Paddle.js overlay + post-checkout polling).
  • Source file billing/fyso-teams-entitlement.md: same content in the flat /billing/ source for internal use.
  • Changelog site/docs/changelog.md: v1.43.0 entry covering all three waves (schema, service/endpoints/webhook/cron, frontend).
  • APP_NOT_CONFIGURED (500) documented in the new page; this error code was in the implementation but missing from the previous manual.

All content verified against source: migrations 0085-0087, app-entitlements.service.ts, routes/app-entitlements.ts, routes/billing.ts, jobs/entitlement-transitions.ts, apps/fyso-teams/page.tsx, lib/paddle.ts, and i18n files. Build passes locally (Docusaurus MDX compile confirmed clean).

Test plan

Closes fyso-dev/fyso_backend#1520

🤖 Generated with Claude Code

cero-fyso and others added 2 commits April 25, 2026 18:05
- site/docs/billing/app-entitlements.md: full integrator reference covering
  schema (migrations 0085-0087), seed, env vars, endpoints, error codes,
  Paddle webhook routing, state machine D4, cron transitions, and frontend
  integration (paywall + Paddle.js + polling)
- billing/fyso-teams-entitlement.md: canonical source in /billing for internal use
- site/docs/changelog.md: v1.43.0 entry for the full 3-wave feature

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Replace {currentPeriodEnd} and {pastDueSince + 30d} with backtick
inline code to avoid acorn parse errors in Docusaurus MDX compiler.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: de43855
Status: ✅  Deploy successful!
Preview URL: https://9e9cf4a6.docs-4qf.pages.dev
Branch Preview URL: https://docs-issue-1520-fyso-teams-e.docs-4qf.pages.dev

View logs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant