PaymentOptionDisplayData

Display data for the customer's currently selected payment option.

Types

Link copied to clipboard

The billing details collected for a payment method.

Properties

Link copied to clipboard

The billing details associated with the customer's selected payment method, if any were collected.

Link copied to clipboard

An image representing a payment method; e.g. the Google Pay logo or a VISA logo.

Link copied to clipboard

The primary text representing the payment option; e.g. "Google Pay" or "Visa" for a card.

Link copied to clipboard

If you set PaymentElement.Configuration.embeddedViewDisplaysMandateText to false, this text must be displayed to the customer near your "Buy" button to comply with regulations.

Link copied to clipboard

A string representation of the customer's desired payment method:

Link copied to clipboard

Optional secondary details for the payment option; e.g. "···· 4242" for a card.