OptionalbaseOptionalonFired when the user cancels checkout.
OptionalonFired once when payment fails terminally.
OptionalonFired once when payment completes successfully. Analytics fields
(total/currency/lineItems, minor units) are present when the
checkout page supplied them — fire gtag/fbq purchase events with
value = total / 100.
OptionalonOptional sink for all lifecycle events — pipe to Datadog / Segment / custom analytics.
OptionalparentParent origin where this embed is mounted (e.g. https://shop.example.com). Must be in the merchant's allowed_origins list.
Throttle checkout session id (cs_*). Required.
OptionalthemeOptional brand theming forwarded to the hosted checkout page.
Base URL of the deployed checkout-web app.