Klarna Web SDK v2/r8
    Preparing search index...

    Interface PaymentRequestOptions

    Options to control the behavior of the Payment Request.

    interface PaymentRequestOptions {
        hideOverlay?: boolean;
        initiationMode?: "DEVICE_BEST" | "REDIRECT" | "ON_PAGE" | "POPUP";
        opfClientVersion?: string;
    }
    Index

    Properties

    hideOverlay?: boolean

    Controls if the backdrop overlay should be shown during the customer flow.

    The overlay ensures that the customer cannot interact with the background content until the Klarna window is closed. It offers a recovery mechanism for the customer to continue their flow in case the Klarna window goes out of focus or is blocked by the browser.

    Only use this if you are using a custom overlay that aligns with Klarna's best practice.

    gated

    false.

    initiationMode?: "DEVICE_BEST" | "REDIRECT" | "ON_PAGE" | "POPUP"

    The initiation mode of the purchase flow.

    DEVICE_BEST.

    See FlowInitiationModeType

    opfClientVersion?: string

    Allows integrators to launch a specific version of the purchase flow for testing purposes.

    gated