Skip to Content
docs
Token PaymentGoogle Pay

Google Pay

Accept payments via Google Pay. Available for web integration.

Web Integration

Google Pay web integration uses the Token Widget endpoint.

  1. Generate a widget URL using the Token Widget endpoint
  2. Embed the widget in an iframe
  3. Listen for the message event to receive the payment result
HTML
1<iframe src="WIDGET_URL" width="100%" height="400"></iframe>
JavaScript
1window.addEventListener('message', function(event) {
2console.log(event.data); // {status: 'success', payment: {...}}
3});

Native Mobile Integration

For native mobile app integration, follow these steps:

  1. Implement Google Pay’s native integration following the official documentation 
  2. Provide the following screenshots to Epoint:
    • Google Pay button placement in your app
    • Google Pay button appearance
  3. After review, Epoint will provide you with a Merchant ID to complete the integration

Requirements

  • Google Pay must be available in the customer’s browser/device
  • Contact Epoint support to enable Google Pay for your merchant account