Configuration

Configuration options for a CheckoutElementsController, including per-element configuration and feature toggles. Build with the fluent setters and pass to CheckoutElementsController.configure.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
class Defaults

Prefill values for the customer's billing/shipping details, email, and phone number.

Functions

Link copied to clipboard

Sets the configuration for the currency selector element.

Link copied to clipboard

Prefill values for the customer's details. If known up front, these prepopulate the elements (and the Checkout Session) so the customer doesn't re-enter them.

Link copied to clipboard

Sets the configuration for the express checkout element.

Link copied to clipboard

Sets the merchant display name shown to the customer during checkout.

Link copied to clipboard

Sets the configuration for the payment element.

Link copied to clipboard

Sets the configuration for the shipping address element.