Repository navigation
feat(cms): billing and plan in the Payload admin (PX3) - #24
Merged
Merged
Conversation
The old console's billing page moves into the Payload admin as Billing & plan (/admin/organization/billing), under the Account group: the organization's current plan and entitlements, the plans it can move to, and its invoices, read through api-edge with the signed-in person's session. - Upgrade starts the provider's checkout, which returns to the CMS (/admin/organization/billing?checkout=complete); the page then reconciles the subscription with a same-origin form post, not a client fetch - switch or cancel a paid plan behind a confirm step; Manage billing opens the provider's customer portal - the billing form accepts only same-origin posts from staff, and sends the browser only to an https provider page - where no payment provider is configured (stage), Upgrade and the portal say so instead of failing - docs: runbook, architecture, overview, operations guide; epic status Orun-Task: PX-4 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013JuHbkZCjDrGgHdzCrCRqG
ruehowl
marked this pull request as ready for review
October 28, 2026 21:02
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PX3 of the lumen-payload-console epic (task PX-4, milestone PX3). The old console's billing page moves into the Payload admin as Billing & plan (
/admin/organization/billing), under the Account group from PX2.What it shows and does
/admin/organization/billing?checkout=complete. The page then reconciles the subscription with a same-origin form post, not a client-side fetch.Verification
doneWhenintasks/PX-4.TaskContract.yaml, including the "no provider configured" path stage takes today.Orun-Task: PX-4
Generated by Claude Code