Skip to content

feat: Improve checkout error handling - #178

Open
ilabsvictor wants to merge 1 commit into
Affirm:masterfrom
ilabsvictor:fix/error-response
Open

feat: Improve checkout error handling#178
ilabsvictor wants to merge 1 commit into
Affirm:masterfrom
ilabsvictor:fix/error-response

Conversation

@ilabsvictor

Copy link
Copy Markdown
Contributor
  • Extend AffirmErrorResponse to parse and retain the nested ui object from Affirm API error payloads (main, sub, sub_extra).
  • Add AffirmErrorUI and wire it through parseError: so checkout/promo failures can surface richer, merchant-facing error copy.
  • Include ui in dictionary so it is available in NSError userInfo for delegates and logging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants