Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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;