CheckoutData

interface CheckoutData { formData: Record<string, any>; paymentMethod: CheckoutPaymentMethod; isProcessing?: boolean; step?: number; }

Source: global.ts:1884

The state of the checkout in progress — the collected form values, chosen payment method, and which step the shopper is on. Delivered with the checkout:started event.


Properties

formData: Record<string, any>

Collected checkout form field values, keyed by field name.

paymentMethod: CheckoutPaymentMethod

The payment method the shopper selected.

isProcessing: boolean

true while the order is being submitted.

step: number

Current step index in a multi-step checkout.