@avvyr/storefront-sdk - v0.19.0
    Preparing search index...

    Type Alias CheckoutInitResult

    CheckoutInitResult:
        | { status: "ok" } & CheckoutResponse
        | {
            cart: StorefrontCart;
            changes: CartRepricedChange[];
            currentTotalIncVat: number;
            expectedTotalIncVat: number;
            status: "repriced";
        }

    Typed union from checkout.init. "ok" carries the PSP session exactly as before; "repriced" means the cart changed between render and pay — the SDK has already refetched the corrected cart, so re-render the totals and call init again with the new expectedTotalIncVat. A retry converges.