Requirements
API reference
You do not need to send additional fields for Google Pay. See the /payments endpoint API reference for the optional fields you can send.Drop-in configuration
There is no required Google Pay specific integration for Drop-in.Optional configuration
You can optionally include the following properties when you configureAdyenCheckout:
To learn more about the optional request object options, check the Google Pay API documentation.
Recurring payments
To make recurring Google Pay payments, you first need to create a shopper token and then make subsequent recurring transactions with the token.Refer to Tokenization for more information and detailed instructions.
Test and go live
To start testing Google Pay, log in to a Google account and create a Google Pay wallet. There are two approaches to using this wallet for testing:-
Enroll in test card suite
Enroll your wallet in Google’s test card suite. Test card suite pre-populates your wallet with a group of cards to use in the TEST environment. These are related to Adyen’s collection of test cards, and cover scenarios including:
- Cards stored as FPAN
- Cards stored as DPAN (only when testing through native Android and Chrome on Android)
- Cards enabled for 3DS2
- Without test card suite You upload real credit cards to your wallet, which are mapped to one of Adyen’s test cards of the same brand. Your card is not charged. To test 3D Secure 2, you must use American Express or Discover cards, which trigger 3D Secure 2 challenge flows in the test environment. You cannot use any other card brands.
Before you go live
We recommend that you test the scenarios described in Google Pay’s API reference for Android in your live environment.- Make sure that your API credential has the API Clientside Encryption Payments role. Check this in your live Customer Area or ask your Admin user to verify.
- Go to your live Customer Area to configure your Google Merchant ID.
- Complete all the steps in the Google Pay API deploy to production documentation for Android.
- The shopper is logged in to their Google account.
- The shopper has at least one valid payment method on their Google Pay account.