Methods
load(selector string
) void
string
) void
Embed and render the Checkout form inside a dom element with selector as a querySelector.
open() void
void
Open the Checkout form as overlay component.
redirect(url string
) void
string
) void
Redirect web browser to Checkout form page.
After token is created Checkout will redirect to url
via POST request send to your server all token properties.
In case user close form still will be redirected to url
including a query parameters <url>?error=canceled
.
destroy() void
void
Destroy, remove and kill all listeners from the dom tree.
Last updated