Checkout expiration settings on the store
Key Takeaway
Two WebStore fields control B2B checkout expiration: CheckoutTimeToLive sets a duration in minutes (null means checkouts never expire), and CheckoutValidAfterDate expires every B2B checkout that started before a set moment.
A B2B store has settings that control how long a buyer's checkout stays valid before it expires. The settings are two fields on the store record, which is the WebStore object: CheckoutTimeToLive sets a duration, and CheckoutValidAfterDate sets a fixed cutoff point in time. Before an order is placed, the system checks that the checkout session hasn't expired. The values of the two fields therefore decide whether a buyer can still finish a checkout they started earlier.
What happens when a checkout expires
When a checkout expires, the checkout status is set to Canceled. The cart status reverts to Active, so the buyer must start a new checkout to place the order.
In streamlined place order, the expiration check happens in the Prepare Order step. Cart validations in the Prepare Order step confirm that the checkout session hasn't expired before the cart can become an order. Streamlined place order is enabled by default in B2B Lightning Web Runtime (LWR) stores created in Summer '25 and later.