checkout: show the payment outcome on return to the account page #295
Etiketter
Inga etiketter
area/backups
area/ci
area/control-panel
area/identity
area/infra
area/observability
area/payments
area/security
area/storage
area/web
blocked
needs-info
needs-triage
priority
high
priority
low
priority
medium
ready-for-implementation
type
bug
type
chore
type
docs
type
epic
type
feature
type
task
wontfix
Ingen milstolpe
Inget projekt
Inga tilldelade
1 deltagare
Notiser
Förfallodatum
Inget förfallodatum satt.
Beroenden
Inga beroenden satta
Referens
bitborg/bitborg-web#295
Läser in…
Hänvisa till i nytt ärende
Ingen beskrivning angiven.
Ta bort grenen "%!s()"
Borttagning av en gren är permanent. Även om den borttagna grenen kan fortsätta existera en kort tid innan den faktiskt tas bort, kan det INTE ångras i de flesta fall. Vill du fortsätta?
Problem
After checkout, the account page shows the same notice for every outcome: "If you completed the payment, your plan updates here within a few minutes". A customer whose payment failed, expired or was cancelled gets no clear message and no prompt to try again.
The page correctly never trusts the redirect for status. It just has no status to show.
Fix
/account?checkout=cancelled#checkout) with the checkout request, plus the page language.subscriptionStatusand show paid, pending, failed, expired or cancelled, with a retry button for the last three.Needs the billing service to accept the cancel URL and locale and to expose the charge status.
Done when