Cert++
Close

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.

Salesforce Accredited B2B Commerce Administrator Professional Study Guide

Checklist progress

0/149Learned

Demonstrate understanding of deployment options available and the store deployment life-cycle including all supporting objects and their related configuration

0/34

Store country and tax type settings

Learn this concept

Store catalog and category structure

Learn this concept

Prepare for the Exam

Play Today's Certle

Study Community

Ask questions and get the latest info from other Salesforce Accredited B2B Commerce Administrator Professional studiers.