Google Pay

Google Pay® is a digital wallet application that Google customers can use to store payment card details and to pay for goods and services.

When you add Google Pay to your integration, your merchants can accept Google Pay as a payment method for online transactions. When a customer uses Google Pay to make a payment, your integration communicates with Google Pay and the Payroc gateway to make the sale.

How it works

The following diagram shows the flow of a transaction with Google Pay.

Digital wallets diagram

  1. Cardholder chooses to pay with Google Pay, for example, they select the Google Pay button on the merchant’s web page.
  2. Your integration requests the cardholder’s payment details from Google Pay.
  3. Google Pay returns the cardholder’s encrypted payment details.
  4. Your integration converts the cardholder’s payment details to hexadecimal format.
  5. Your integration sends a request to our Payments endpoint with the cardholder’s encrypted payment details in hexadecimal format.
  6. Our gateway returns a successful payment response to your integration.

Guides