Introduction
You can use the
Cybersource
platform to process and manage Google Pay transactions.Google Pay Overview
Google Pay is a simple, secure in-app mobile and Web payment solution. You can choose
Cybersource
to process Google Pay transactions through all
e-commerce channels.You can simplify your payment processing by allowing
Cybersource
to
decrypt the payment data for you during processing.This method integrates simply and enables you to process transactions without seeing the
payment network token and transaction data.
- Using the Google API, request the customer’s encrypted payment data.
- Using theCybersourceAPI, construct and submit the authorization request, and include the encrypted payment data from the Google Pay callback.
- Cybersourcedecrypts the encrypted payment data to create the payment network token and processes the authorization request.
Payment Network Tokens
Authorizations with payment network tokens enable you to securely request a payment transaction with a payment network token instead of a customer’s primary account number (PAN).
The payment network token is included in the customer’s encrypted payment data, which is returned by the payment processor.
Prerequisite Requirements
Before using Google Pay, you must have:
- ACybersourcemerchant evaluation account.
- To register, go to: https://developer.cybersource.com/hello-world/sandbox.html
- A merchant evaluation account with a supported processor. See Supported Processors.
- TheCybersourceREST APIClient installed on your system.
- A Google developer account.
- Google Pay APIs embedded into your application or website. For details about integrating Google Pay, see the Google Pay API documentation.
Supported Processors
Processor | Card Types | Optional Features |
---|---|---|
Visa Platform Connect Supported acquirers:
|
|
|
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.
Additional Services
These additional services can be used with Google Pay.
Follow-on Services
After the authorization is requested, you can request follow-on services to complete
the transaction. For more information on these services, see Follow-on Services.
- Authorized Reversal
- An authorized reversal is a follow-on service that uses the request ID returned from the previous authorization. An authorization reversal releases the hold that the authorization placed on the customer’s credit card funds. Use this service to reverse an unnecessary or undesired authorization.
- Capture
- A capture is a follow-on service that uses the request ID returned from the previous authorization. The request ID links the capture to the authorization. This service transfers funds from the customer’s account to your bank and usually takes two to four days to complete.
- Sale
- A sale is a bundled authorization and capture. Request the authorization and capture services at the same time.Cybersourceprocesses the capture immediately.
Follow-on Transactions
After the payment transaction is complete, additional follow-on transactions can be made
as Merchant-Initiated Transactions (MITs).
For more information on how to process MITs, see
Merchant-Initiated Transactions
.MITs include:
- Delayed Authorizations
- Incremental Transactions
- Installment Payments
- No-Show Transactions
- Reauthorizations
- Recurring Transactions
- Resubmissions
- Unscheduled Transactions