Skip to content

fix: map web billing terms to server offers - #566

Merged
Maxerns merged 1 commit into
mainfrom
fix/personal-quote-contract
Oct 12, 2026
Merged

Maxerns merged 1 commit into
mainfrom
fix/personal-quote-contract

Conversation

@Maxerns

@Maxerns Maxerns commented Oct 12, 2026

Copy link
Copy Markdown
Collaborator

Why

The web account panel submitted monthly or annual to the personal quote endpoint, while the server accepts canonical catalogue offers such as standard_monthly and standard_annual. As a result, the hosted billing quote flow could not proceed from the web UI.

Changes

  • Keep the visible monthly and annual term choices separate from the server offer type.
  • Map those choices to canonical standard offers for quote requests.
  • Preserve the canonical offer returned by the server when creating checkout, including support for founding offer responses.
  • Update the panel fixtures to use canonical quote and operation responses.

Scope

This repairs standard personal quote requests. It does not assign founding places or change offer selection. Founding allocation must use the shared personal and sponsored capacity ledger before hosted sales are enabled.

Validation

  • git diff --check passed.
  • Tests were not run locally; the required CI checks will validate the PR.

The account panel exposes monthly and annual terms, while the billing API accepts canonical catalogue offer names. Map the selected term for quote requests and preserve the server returned offer for checkout.

Keep founding quotes displayable, but leave cohort assignment to the shared personal and sponsored allocator work.
@Maxerns
Maxerns merged commit 89ac5d3 into main Oct 12, 2026
23 checks passed
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