Google Pay Payment Authorization

Commerce Cloud Digital provides Google with information about the customer and basket: line items, shipping methods, and stored contact information.

Google provides Digital with information to update the basket: the selected billing address, shipping address, and shipping method.

When the shopper authorizes payment, Google Pay provides Digital with a token containing the encrypted payment information.

Digital creates an order from the basket, and provides the encrypted payment information to the storefront payment service provider in an authorization request. Digital updates the order with the transaction information in the authorization response.

Digital provides Google with the outcome of the authorization, and if successful, shows the storefront order confirmation page.

To authorize Google Pay payment:

  1. The shopper clicks or taps the Google Pay button.
  2. Digital creates the payment request.
  3. Digital creates a merchant session, requested from the Digital Web Server to Google.
  4. The session is returned to Digital and is forwarded with the payment request.
  5. The app shows the Google Pay sheet.
  6. The shopper uses their selected authorization method.
  7. Payment data is generated.

Merchant Validation

The following is an example of merchant validation:

to be added
  1. A validmerchant DOM event is dispatched to the session.
  2. The event has a validationURL property.
  3. Validation is performed.
  4. Call completeMerchantValidation.

Authorize Payment

The following is an example of authorizing payment:

to be added

Related Links

Google Pay

Google Pay Process

Google Pay Supported Hardware

Google Pay Supported Locales

Enable Google Pay in Your Storefront

Configuring Google Pay in Business Manager

Google Pay Button Injection

Enable Google Pay Using a Cartridge

Enable Google Pay for PSPs

Google Pay Integration into Digital Processes