In order to test the entire user flow on an Android device, the user must have at least one card or PayPal account stored in either Android Pay or their Google account. The user can also add a payment method to their Google Pay account during the checkout process if none is present.

In the sandbox environment, Google Pay will return valid testing nonces that point to a test virtual account number or a PayPal account. You can simulate server behaviors by using test amounts on your transactions and test nonces. Transactions will show in the Braintree gateway as Google Pay transactions immediately upon completion, however, PayPal via Google Pay transactions will show as PayPal transactions. The payer_email will not match the email of the PayPal account added to Google Pay; in production, the email will match.

Transactions made with PayPal via Google Pay will show a payment_instrument_type of paypal_account and channel as "Google".

Go live

After you've tested your integration, you'll need to enable Google Pay in your production account via the Control Panel. If you haven't done so already, here's how:

  1. Log into your Control Panel
  2. Click on the gear icon in the top right corner
  3. Click Processing from the drop-down menu
  4. Scroll to the Payment Methods section
  5. Next to Google Pay, click the toggle to turn it on

Then you'll need to follow Google's documentation for gaining access to the Google Payment API production environment and submitting your app for review.

If you already have Google Pay activated in your Control Panel but need to get this payment method enabled for a particular merchant account, contact us.