Skip to main content

Google Pay Token

Once the shopper has authorised the payment, you can get the Google Pay Token you will need to pass into the DNA Platform.

You will receive the paymentData response following correctly registering the loadPaymentData() event handler detailed in Step 9 of the Google Pay API Tutorial.

Retrieve the paymentData from the token and convert it to a string. Pass this to your server, and then submit it in a payment request to DNA.