Activate Google Pay through Payload's
simple native mobile and web integration tools.
**** **** **** 9837
John Doe
10/25
<!-- Simple example of enabling Google Pay -->
<script src="https://payload.co/Payload.js"></script>
<script>
Payload('test_client_key_3bcr16ohAy8aEcwK3Vffs')
const checkout = new Payload.Form({
form: document.getElementById('checkout-form')
})
.googlepay(document.getElementById('google-pay-btn'))
.on('processed', function(evt) {
console.log(evt.transaction_id)
})
</script>