Our store uses a third party app for customers to select delivery/pickup dates and times from the Cart page. We have cutoff times for these available date/time slots. The customer can select a delivery date/time, proceed to Checkout, keep the browser (and checkout session) open, then come back later and proceed and checkout successfully. The issue is the customer can successfully checkout after the cutoff times for delivery/pickup.
Is there a Shopify setting to prevent this? Or is there code I can write that can patch this loophole? The obvious solution I can think of is to start a timer once customer enters checkout process, and if it expires, then it kicks them out or rejects checkout when the customer submits order. Is this currently possible?
From what I understand (sometime in 2020 or so) Shopify changed its policies and restricted developers from making any changes to the checkout process.
Any help would be greatly appreciated. Thank you in advance!!