function addGooglePayButton()

in app/static/googlePay.js [91:96]


function addGooglePayButton () {
  const paymentsClient = getGooglePaymentsClient();
  const button =
    paymentsClient.createButton({onClick: onGooglePaymentButtonClicked});
  document.getElementById('google-pay').appendChild(button);
}