Skip to content

fix(billing): Keep a custom Seer auto-load amount after turning it off - #130865

Closed
billyvg wants to merge 2 commits into
masterfrom
billy/fix/seer-auto-load-keep-custom-amount
Closed

billyvg wants to merge 2 commits into
masterfrom
billy/fix/seer-auto-load-keep-custom-amount

Conversation

@billyvg

@billyvg billyvg commented Nov 12, 2026 •

Copy link
Copy Markdown
Member

Why?

When auto-load was off, the modal replaced any amount that wasn't a preset with the $15 default. Turning off keeps the saved amount, so a custom amount came back as $15 when turning auto-load on again.

How?

The auto top-up endpoint now returns topUpCredits: null until an amount is first saved. The modal starts at the $15 preset only in that case and otherwise shows the saved amount.

Merge after the backend change that returns null has deployed. (https://github.com/getsentry/getsentry/pull/23181) Before then, the endpoint still sends its 1,000-credit default, which would show as a custom $10 for organizations that never saved an amount.

Generated with Claude Code

🤖 Generated with Claude Code

When auto-load was off, the modal replaced any amount that wasn't a
preset with the $15 default, so a custom amount came back as $15 when
turning auto-load on again. The modal now starts at $15 only when no
amount was ever saved, which the API reports as a null topUpCredits.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@billyvg
billyvg requested a review from a team as a code owner November 12, 2026 00:30
@github-actions github-actions Bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Nov 12, 2026
@github-actions

github-actions Bot commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

Story previews

Preview the stories changed in this PR on the Vercel deployment:

Preview deployment: https://sentry-du0x96x4g.sentry.dev

This branch was successfully deployed

1 active deployment
Preview — fb091956 Deployed Nov 12, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant