Page History
...
The Google Pay payment button will be placed in the id="container" tag. A tag identifier can be assigned a different value, if necessary. To do this, you must make the appropriate changes to the createButton method of the addGooglePayButton function, for example:
Code Block | ||
---|---|---|
| ||
document.getElementById('mynewcontainer').style.display = 'block'; //mynewcontainer — new tag ID |