docs(admin): explain why a Stripe price is replaced, not edited (BUNYIP-511) #526
Loading…
Reference in a new issue
No description provided.
Delete branch "docs/BUNYIP-511-explain-price-immutability"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
Adds a plain "why" to the Replace control on the admin Stripe Prices page (BUNYIP-511). It already created-new-and-archived correctly, but only said "Stripe cannot change an existing price" - which invites the question why.
The disclosure now leads with Why replace instead of edit? and answers it: a Stripe price is immutable because live subscriptions and past invoices reference that exact price object, so changing its amount would retroactively alter what existing customers agreed to pay and what their invoices say; Stripe only permits changing a price's active state, nickname or metadata, never its amount. A second line restates what a replace does and what it deliberately leaves alone (existing subscriptions, grandfathered prices).
Copy-only change to
price_replace_details; a test asserts the explanation renders.Verification
just check-containergreen. Screenshot in the chat shows the expanded Replace control with the explanation.🤖 Generated with Claude Code
https://claude.ai/code/session_01GkNbvEq6awuMRULFCiYKe3