How Google Pay Works
The following figure describes the Google Pay workflow:
- The customer chooses the Google Pay button. Using the Google API, your system initiates the Google Pay request identifyingCybersourceas your payment gateway, passing yourCybersourcemerchant ID as the gateway merchant ID.
- The customer confirms the payment. The Google API contacts Google Pay services to retrieve the consumer’s payment parameters.
- If the customer’s selected payment credentials are tokenized, or you are tokenizing new payment credentials, the Google Pay service contacts the appropriate payment network to retrieve the appropriate cryptogram.
- The payment network returns the appropriate token and cryptogram to the Google Pay service.
- Google creates encrypted payment data using the gateway-specific key that is supplied in the Wallet request and includes it in the Google API response.
- The Google Pay callback returns the encrypted payment data.
- Your system prepares the Google Pay response information for submission to theCybersourceservice.
- Cybersourcesends the authorization request to the acquirer.
- The acquirer processes the request fromCybersourceand creates the payment network authorization request.
- The payment network processes the request from the acquirer and creates the issuer authorization request.
- The issuer processes the request from the payment network. The issuer looks up the payment information and returns an approved or declined authorization message to the payment network.
- The payment network returns the authorization response to the acquirer.
- The acquirer returns the authorization response toCybersource.
- Cybersourcereturns the authorization response to your system.
- Your system returns the authorization response to the payment application.
- The payment application displays the confirmation or decline message to the customer.
- The acquirer submits the settlement request to the issuer for funds.
- The issuer supplies the funds to the acquirer for the authorized transactions.