01a01eea - fix(buy): Confirm-Fehlertext von der API anzeigen - #923
Conversation
Die App hat HTTP 503 auf eine lokale Mail-Bestätigungs-Kopie gemappt. Snackbar zeigt jetzt die API-message unverändert.
The unknown confirm-failure golden was removed, but the handbook mapping and de/index.html still pointed at it. Confirm snackbars render the API message as-is; the handbook copy now says that instead of local ARB text.
|
EN: DE: DetailsPass 1: handbook mapping Pass 2: quality and logic reports complete with 0 remaining defects. Two quality notes were declined: (1) showing Comments: no issue comments, reviews, review comments, or review threads. |
Quote, sell, send, and KYC flows showed canned ARB strings for API failures (503 price source, send 503/400/403, email mismatch, wrapped KYC failures). The snackbar and info card now show the API message as-is. Local copy remains only for hardware and user-cancelled signature.
Gas-funding failures now carry the API message. Confirm-mismatch stays a local guard without a technical toString. Unknown quote error codes are not shown as user copy.
Confirm 503 without a body message no longer invents English copy. Registration submit surfaces ApiException.message instead of toString.
Unknown isValid=false codes are routing tokens, not API message text.
Sell-Confirm, Pay, KYC, Support, Settings und Receipts zeigten e.toString() oder ARB-Essays statt der API-message.
Ohne Body-Text bleibt die Gas-Funding-Exception leer, die View fällt auf die lokale Transfer-Kopie. Listen-messages werden wie fromJson gejoint.
Ready for review — 2 review passesAPI error Pass 1: send 503 without a body CI green on Bereit zum Review — 2 Review-DurchläufeAPI- Durchlauf 1: Send-503 ohne Body- CI grün auf |
EN:
API error text is shown as-is. The app no longer substitutes local copy for quote, confirm, sell, send, or KYC failures. Hardware and cancelled-signature messages stay local.
DE:
API-Fehlertexte werden unverändert angezeigt. Die App ersetzt sie bei Quote, Confirm, Sell, Send und KYC nicht mehr durch lokale Texte. Hardware- und Abbruch-Meldungen bleiben lokal.
Details
Confirm snackbar:
BuyConfirmFailure.messagefrom the API.Quote 503 / unknown:
BuyPaymentInfoFailure.messagefrom the API; the info card no longer usespriceProviderUnavailable*/paymentInformationFailed*.Sell 503 snackbar:
state.messageinstead ofpriceProviderUnavailableTitle.Send: API
messageis the sheet body when present; ARB remains only for BitBox/signature-cancelled.KYC snackbars (email, nationality, personal data, link wallet, registration, 2FA, ident error): API
messageas-is.Depends on the backend PR that returns user-facing
messagefields.