Closed rfornea closed 6 years ago
Edmund says we can avoid the error in the console by returning something.
If we have time we should put an error message on the screen. @tfrench93 What should the message look like? This happens when there's an error with user's payment.
@tfrench93 can you design a universal error alert box we can show when something unexpected happens?
@AaronVasquez There is currently an error page mocked up on Zeplin. Do you want something that is different than this and would act more like an overlay than a separate page?
@tfrench93 that works. Eventually we might want to include error messages so users can self correct instead of having them contact support, but we can get to that later.
We can move this to optimizations if we want, it may not be crucial to do something here.
When payment status from the broker comes back as error, this happens:
Hopefully paymentStatus won't ever be error in prod but if it is we should display something.
Generic Error Screen: https://zpl.io/VqxPxL5