Skip to main content
This page explains how to add Google Pay to your existing Web Drop-in integration. When shoppers select Google Pay, Drop-in presents the Google Pay payment sheet where shoppers choose a card they want to use. If shoppers select a card that requires 3D Secure authentication, Drop-in also handles redirecting shoppers to another website to complete the verification.

Requirements

API reference

You do not need to send additional fields for Google Pay. To see optional fields that you can send for all payment methods, choose the endpoint you integrated:

Drop-in configuration

Load the Google Pay API JavaScript library

We recommend that you preload the Google Pay API JavaScript library, by including the
following script in your checkout page:
If you are loading the Drop-in inside an iframe element, add the allow attribute to the iframe to render Google Pay. For example:

Required configuration

Select which endpoint you are using:
This is the default with Drop-in v5.0.0 or later.There’s no additional configuration you need to include for Google Pay.