Google Pay configuration for Payment Element.

interface GooglePayConfiguration {
    display?: "automatic" | "never";
    label?: string;
    buttonType?: CheckoutElements.PaymentElementConfiguration.GooglePayButtonType;
    additionalEnabledNetworks?: string[];
}

Properties

display?: "automatic" | "never"

Controls when Google Pay is displayed. Defaults to automatic.

label?: string

An optional label to display with the amount.

The Google Pay button type. Defaults to pay.

additionalEnabledNetworks?: string[]

Additional card networks to enable, for example INTERAC.