Inttegro Web SDKs - v0.1.0
    Preparing search index...

    Interface CheckoutProps

    Props accepted by the Inttegro Checkout component.

    orderId, timeout, and title identify a hosted experience; changing one destroys the current controller and mounts a new one. appearance and locale update the current controller in place.

    interface CheckoutProps {
        appearance?: CheckoutAppearance;
        class?: string;
        locale?: string;
        onCompleted?: (event: CheckoutCompletedEvent) => void;
        onError?: (event: CheckoutErrorEvent | Error) => void;
        onEvent?: (event: CheckoutEvent) => void;
        onReady?: (event: CheckoutReadyEvent) => void;
        orderId: string;
        timeout?: number;
        title?: string;
    }
    Index
    appearance?: CheckoutAppearance

    Initial and reactive theme preference for hosted Checkout.

    class?: string

    CSS class applied to the outer container owned by your Svelte application.

    locale?: string

    Initial and reactive BCP 47 locale preference.

    onCompleted?: (event: CheckoutCompletedEvent) => void

    Called after the successful hosted terminal state. Reconcile the Order on your server before fulfillment.

    onError?: (event: CheckoutErrorEvent | Error) => void

    Called for loader/mount failures and sanitized hosted errors.

    onEvent?: (event: CheckoutEvent) => void

    Called for every sanitized lifecycle event.

    onReady?: (event: CheckoutReadyEvent) => void

    Called once Checkout is initialized and interactive.

    orderId: string

    Client-safe reference for the finalized Order being paid.

    timeout?: number

    Mount timeout from 1,000–60,000 ms; defaults to 15,000 ms.

    title?: string

    Accessible iframe title; defaults to Checkout.