Page History
...
To display the button, the script calls the addGooglePayButton function. In this case, you can customize the appearance of the Google Pay button. To do this, make changes to the createButton method:
- buttonColor – sets the color of the button; possible values are black and white;
- buttonType - sets the button type, possible values are long and short.
For more information on adding a button, see the Google Pay API documentation https://developers.google.com/pay/api/web/reference/object?hl=ru#ButtonOptions.