Google Pay Basic Demo I took the template from Google Pay docs here, moved the JS to a seperate file, and added the logic to processPayment() function: Used data from paymentData to get a CKO token. Used the CKO token to make a payment request