Documentation IndexFetch the complete documentation index at: https://developer.subotiz.com/llms.txt
Use this file to discover all available pages before exploring further.
Introductions
CDN Address
SDK Instantiation
Create an SDK instance using the following code:Prewarm Checkout (Recommended)
This method preloads the resources required by Checkout in advance, so that the Checkout first screen renders faster when it is opened later.prewarm is a static method on Subotiz and can be called without creating an SDK instance. Prewarming runs while the page is idle and does not affect the normal loading of your page.
Method Invocation Example
Parameter Specification
Options (optional) object typeInitializing Embedded Checkout
This method initializes the embedded Checkout payment component and returns a Checkout instance.Method Invocation Example
Parameter Specification
Options (required) object typeMount the Checkout Component
First, create a container DOM element, then mount the Checkout component into this container.Operation Example
Parameter Specification
- selector Required string type. The CSS selector for the container element (e.g., ‘#your_domElement’).
Unmount the Checkout Component
Unmount the Checkout component from the DOM. It can be remounted later usingmount.