Google Pay
Accept payments via Google Pay. Available for web integration.
Web Integration
Google Pay web integration uses the Token Widget endpoint.
- Generate a widget URL using the Token Widget endpoint
- Embed the widget in an iframe
- Listen for the
messageevent 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:
- Implement Google Pay’s native integration following the official documentation
- Provide the following screenshots to Epoint:
- Google Pay button placement in your app
- Google Pay button appearance
- 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