Expire a cart

I have a bug in my app where people will put an item in their cart - then leave the app and come back later to pay. The app will open on their cart page and they will check out but the item is sold out. So it lets them pay for nothing but acts like it's booking something.

I guess I can add an action that checks before collecting payment if there is in fact an item in their cart - but is there a way to expire the checkout page after a certain time?

1
3 replies