buttonLocale | string
|
Optional.
This ISO 639-1 code represents the desired button language.
Supported locales include en , ar , bg , ca , cs , da ,
de , el , es , et , fi , fr , hr , id ,
it , ja , ko , ms , nl , no , pl , pt ,
ru , sk , sl , sr , sv , th , tr , uk ,
and zh .
Default value is determined by the browser/operating system locale.
|
buttonType | "buy" | "plain" | "donate" | "long" | "short"
|
Optional.
"buy" and "donate" display their respective prompts (localized based on the user's browser settings) with the Google Pay logo. The "plain" button only displays the Google Pay logo.
"long" and "short" button types have been renamed to "buy" and "plain" , but are still valid button types for backwards compatability.
Default value "buy" .
|
existingPaymentMethodRequired | boolean
|
Optional.
When set to true (and environment is Production ), the Google Pay button will only be displayed if the user already has an existing payment that they can use to make a purchase.
Default value false .
|