Set up Google Pay

In order to handle payments, your Ordering End-to-End web service requests payment tokens using Google Pay. To complete the transaction, the payment token is forwarded to your payment gateway.

We recommend testing your payment gateway configuration early in your integration development, as this can be a common bottleneck for developers.

Payment gateways

To accept tokenized payments for your orders, you must integrate with one of the participating Google Pay gateways. If you haven't already set up your payment gateway, refer to Register as a merchant in Google Pay API and the Google Pay gateway developer guide for how to enable Google Pay for your account and retrieve a merchantId.

The following diagram illustrates the interaction between Ordering End-to-End, Google Pay services, your web service, and the payment processing service.

Figure 1. A visualization of the Ordering End-to-End payment flow.