Hacker News new | ask | show | jobs
by laeri 901 days ago
That can happen, I had this case with a local payment gateway. When a user started a checkout session we created a database object that tracked the specific checkout with an id the payment gateway handed back. When the user aborted the checkout the corresponding order within the gateway however was only kept for around 30 minutes and then deleted. This meant a checkout row in our database tried to associate an external order with an id for an object that didn't exist anymore.

This lead to some errors when we tried to get data for these checkout items and got back that they weren't found.