Configuration

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard

Amount intended to be collected in the smallest currency unit (e.g. 100 cents to charge $1.00).

Link copied to clipboard

Two letter country code of the customer's location. If not provided, country will be determined based on IP Address.

Link copied to clipboard

Three-letter ISO currency code.

Link copied to clipboard

Language code used to localize message displayed in the element. See the Stripe documentation for a list of supported values. Defaults to the current device locale language. Note: Not all device locales are supported by Stripe, and English will be used in the case of an unsupported locale. If you want to ensure a specific locale is used, pass it explicitly.

Link copied to clipboard

The payment methods to request messaging for. Supported values are PaymentMethod.Type.Affirm, PaymentMethod.Type.AfterpayClearpay, and PaymentMethod.Type.Klarna If null, uses your preferences from the Stripe dashboard to show the relevant payment methods. See Dynamic payment methods)https://docs.stripe.com/payments/payment-methods/dynamic-payment-methods) for more information.