LoadOptions
Options for loadPesepay(): the config, plus where and how long to load the runtime.
export interface LoadOptions extends Partial<PesepayConfig>Properties
Section titled “Properties”| Name | Type | Description |
|---|---|---|
scriptOrigin? | string | Override the origin the runtime is loaded from. Intended for local development and self-hosting; changing it means you no longer receive patches from the Pesepay CDN. |
timeout? | number | Milliseconds to wait for the runtime script before rejecting. |