Rovenue Web SDK
    Preparing search index...

    Interface CheckoutState

    interface CheckoutState {
        error: Error | null;
        isStarting: boolean;
        start: (
            input: {
                cancelUrl: string;
                idempotencyKey?: string;
                offeringIdentifier: string;
                packageIdentifier: string;
                successUrl: string;
            },
        ) => Promise<void>;
    }
    Index
    error: Error | null
    isStarting: boolean
    start: (
        input: {
            cancelUrl: string;
            idempotencyKey?: string;
            offeringIdentifier: string;
            packageIdentifier: string;
            successUrl: string;
        },
    ) => Promise<void>

    Starts a checkout and redirects the browser to Stripe.