Pressing the Google Pay button collects your customer’s card details and returns them to you as an encrypted Google Pay token.

  1. The customer triggers the Google Pay payment flow by pressing the Google Pay button.

    At this point, your customer may be asked to log in to their Google Pay account.

  2. Google Pay displays all the cards associated with the customer’s Google account, or asks the customer to “Add new credit or debit card” details.
  3. The customer selects a payment method and Google Pay returns the encrypted Google Pay token (containing the paymentMethod block in JSON format).