You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Errors during the acquisition of card tokenization access token should send user to an error page - Javascript in enrollment/index.html will need to know where to send user
Met with @thekaveman and @lalver1 today to go over the conditions in which to show the System enrollment error page.
We took some notes during the meeting; here are some additional details and code snippets:
We reviewed the original intention of each error page from #1939 and were able to unravel that system enrollment error corresponds to Littlepay server errors (e.g. 500 level errors or a call to onError during the hosted verification flow).
We also decided that 400 level errors from Littlepay most likely indicate a misconfiguration on our end, so those should show our generic error page (i.e. by raising an Exception).
Lastly, we noted Backoffice API misconfiguration can present itself in a few different ways, so we should test out as much misconfiguration as we can and let those show the generic error page.
Acceptance Criteria
Front-end design implementation:
Back-end logic
enrollment/index.html
will need to know where to send useronError
callback in tokenization function needs to redirectAdditional context
The text was updated successfully, but these errors were encountered: