Configuration
Configuration for PaymentMethodMessagingElement.
Functions
Amount intended to be collected in the smallest currency unit (e.g. 100 cents to charge $1.00).
Two letter country code of the customer's location. If not provided, country will be determined based on IP Address.
Three-letter ISO currency code.
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.
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.