Closed schmengler closed 7 years ago
Thank you, I like the 2 extra safeguards.
By the way, we use multiple own and 3rd party tools to monitor our uptime and performace, and aren't aware of significant availability problems of this API in the last few years.
Most common causes for error would be failed dependencies (i.e. out of date curl etc) or failed subscriptions, but also for such scenarios the user should be able to checkout. :)
Customers were not able to continue with the checkout if the response was invalid. This happened regularly when the Postcode NL API was not available.
I added safeguards at two stages:
The diff looks nicer with ignored whitespace.