Browse Packages

Function: loadCheckout()

export async function loadCheckout(): Promise<CheckoutModule>

Defined in: packages/sdk/src/core/loader.ts:67

Returns

Promise<CheckoutModule>

When to use this export

loadCheckout() is a standalone named export from @plandalf/sdk. It returns the lower-level CheckoutModule. It is not a method on the browser plandalf object.

load-checkout.ts
import { loadCheckout } from '@plandalf/sdk'

const checkout = await loadCheckout()

For the usual offer flow, call plandalf.present() or sdk.present() directly; those calls load checkout when needed.

Feature detail