Parameters
Your organization ID, if not already configured globally. Useful if you did not call
configure() or need to override it for this checkout.The price identifier for the subscription or product.
Customer information.
A CSS selector for the DOM element where the checkout form will be mounted.
Organization ID, if not already configured globally. Useful if you did not call
configure() or need to override it for this checkout.Additional metadata to associate with this checkout or customer. This data will be passed through to your backend.
Custom CSS selectors for card input fields. If not provided, FunnelFox will auto-generate the payment form.
CSS selector for the element where the PayPal button will be rendered.
CSS selector for the element where the Google Pay button will be rendered.
CSS selector for the element where the Apple Pay button will be rendered.
Array of payment method identifiers to control the display order. Available values:
'PAYMENT_CARD', 'PAYPAL', 'GOOGLE_PAY', 'APPLE_PAY'. Defaults to ['PAYMENT_CARD', 'PAYPAL', 'GOOGLE_PAY', 'APPLE_PAY'].Callback invoked when the checkout has been initialized and is ready.
Callback to execute when the payment is successful. An alternative to listening for the
'success' event.Callback for handling errors. Alternative to the
'error' event.Callback invoked on every status change. Alternative to the
'status-change' event.Returns
APromise<CheckoutInstance> that resolves to a CheckoutInstance object representing the checkout session. You can use this object to monitor events or perform actions on the active checkout.
