Google Pay

Overviewanchor

availability

Google Pay is currently available with our latest Android and JavaScript SDKs.

Google Pay provides a purchasing experience both in app and on the web for customers with supported Android devices. It allows customers to pay with cards and PayPal accounts stored in their Google account, in addition to those stored in Google Pay.

For more details on compatibility and availability, see our Google Pay support article.

Getting startedanchor

If you don't already accept Google Pay, you'll follow these steps to add a Google Pay button to your existing Braintree integration:

  1. Configure Google Pay
  2. Integrate on the client side
  3. Integrate on your servers
  4. Test and go live

If you haven't completed a Braintree integration yet, we recommend following our Get Started guide to set up a basic client and server implementation for credit card payments first.

note

Before you can process Google Pay transactions in production, you must obtain a Google merchant ID.

Transitioning from Android Payanchor

If you have an existing integration with Android Pay and would like to transition to Google Pay, update your Android app by following the Client-Side Implementation page.

Google Pay and the Payment Request APIanchor

Google Pay for the web is built on the Payment Request API, an open web standard candidate that relies on the customer's browser as a secure intermediary for payments.

The JavaScript version of this guide explains how to accept Google Pay by adding a standalone button to your existing Braintree JavaScript integration. This is the simplest option if you just want to add Google Pay to your web checkout.

However, our JavaScript SDK also includes a Payment Request component that lets you accept both credit card and Google Pay payments using the Payment Request API itself. If you are interested in this alternative, see our Payment Request API integration guide.

See also


Next Page: Configuration