carlos / platform Public

domains-buy-without-subscription

Flagship has domain buying switched on, but no account could buy: the purchase needed an existing Stripe customer, and all flagship accounts are on the sponsored free plan with no Stripe customer. Paul (2026-11-03): a domain is a one-off purchase, and sponsored accounts must be able to buy and add a card.

  • The first domain purchase creates the account's Stripe customer through the subscription path's lock and idempotency. It uses the owner's email plus the contact's country and postcode for tax, and picks the currency from the price book by country. The currency is fixed only together with the customer.
  • The confirmed price is the charged price. The check uses the contact's country (from --contact-file, or the saved contact) when the account has no currency. A mismatch is refused with 409 price_changed and the new quote, before anything is written.
  • Real refusal reasons for the account's own state. Name-related refusals stay neutral, and the neutrality guard is unchanged.
  • The registry message is logged on refusals. The CLI prints the purchase ID. Openprovider 309 and 19010 (unsigned contracts) alert the operator, rate-limited.
  • The domain Checkout saves the card for off-session use, ready for renewals.
  • The billing page offers "Add a card" (setup-mode Checkout) to accounts with no customer, where domains can be bought.
  • The sponsored gate is unchanged: all 59 sponsored flagship rows already allow custom domains.

Astra built it. Opus reviewed: READY AFTER FIXES, then two fix rounds, READY at 00cf402c (round 3 of 3). Copy: Luna, plus approvals by delegation. Census (domains-buy-nosub) approved by Opus.

Human

Buy a domain without a subscription; sponsored accounts can buy; Add a card

Commits 7
Discussions 0 0 open
Tasks 0/0 done

Discussions

  • No discussions on this branch yet.

Tasks

  • No tasks yet.

Activity