Set up Google Pay

In order to handle payments, your Order with Google 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 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 Order with Google, Google Pay services, your web service, and the payment processing service.

Figure 1. A visualization of the Order with Google and gPay flow.