Files
hyperframes/packages/cli/src
WaterrrForeverandClaude Opus 5.5 5f7b85c5d7 fix(cli): billing re-reads the account on Enter and sells nothing it can't price (#7226)
Two holes in `billing subscribe` / `billing add-credits`:

- After paying on the pricing page, "Press Enter to pay" was still waiting. Pressing it before the
  next 2-second poll opened a second Stripe checkout. Enter now reads the plan again: nothing opens
  when the page has already covered it, and a partial top-up on the page is priced from the new
  balance.
- One failed first plan read made the account look like Free with 0 credits: it offered Pro to a
  Pro account and priced add-on credits for the whole run, not the shortfall. The first read is
  retried; if the plan still can't be read, no terminal checkout opens and the page finishes it.


Claude-Session: https://claude.ai/code/session_01HebQXN7wsMK6GqT3MNtqXw

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 12:05:26 +00:00
..