# Checkout validation

> What Duely checks at checkout, the messages buyers see, and why the check fails open instead of blocking sales.

The picker saves the customer's choice on the cart. Time passes between choosing a date and paying: the cutoff may pass, or the date may fill up. A checkout rule checks the choice once more before payment.

You need to turn the rule on once in Settings > Checkout > Checkout rules. See [Add the picker](/duely/getting-started/add-picker/#4-enable-checkout-validation).

## What is checked

| Problem | Message the buyer sees (English) |
|---|---|
| The date is in the past, beyond the booking window, not a delivery day, closed, has no possible preparation day, or the cutoff passed since it was chosen | "*Wed, Dec 2* is no longer available for delivery. Go back to your cart to choose another date." |
| The date or the chosen slot is full | "*Thu, Dec 3* is now fully booked. Go back to your cart to choose another date." |
| The stored value is not a valid date, or the slot no longer exists | "Your delivery date isn't valid anymore. Go back to your cart to choose another date." |
| No date, with strict mode on (Pro) | "Please choose a delivery date in your cart before checking out." |

Messages appear in the buyer's checkout language: English, Japanese, French, German or Spanish.

## Fail-open: Duely never blocks a sale by mistake

Duely only blocks checkout for a real, current reason listed above. If something goes wrong on Duely's side, checkout continues:

- the app's settings are missing, outdated or cannot be read;
- the check itself hits an error;

The order is still checked again on Duely's server when it arrives. If the date turns out to be invalid, the order is listed under **Needs attention** in **Deliveries** with the reason, such as **Fully booked** or **Closed that day**. See [Missing dates and strict mode](/duely/concepts/missing-dates-and-strict-mode/#default-allow-and-flag).

## What checkout cannot do

Shopify does not allow a checkout rule to change the date for the buyer. It can only ask them to go back to the cart. After payment, dates are changed by your staff ([reschedule](/duely/how-to/reschedule-an-order/)) or, for a missing date only, by the customer ([recovery](/duely/how-to/customer-recovery-block/)).
