Google Pay Integration

This guide walks you through integrating the DNA Payments Google Pay Component (a Google Pay button rendered by our SDK) into your web application.
Google merchant identifier provisioning, payment-token decryption and gateway configuration are handled by DNA Payments. You do not need to manage any of this on your side for production. For sandbox testing you can use your own Google account with Google's test card suite.
Google Pay does not work in WebView
This SDK is built for the web. Native mobile apps that render the checkout inside a WebView cannot use Google Pay because of platform restrictions. Open the checkout in an external browser (Chrome Custom Tabs on Android, SFSafariViewController on iOS).
Where to go next
- Prerequisites: what to set up in the DNA Payments portal before integrating.
- Integration: full step-by-step guide and API reference.
- Full Example: copy-paste-ready HTML.
- Testing: sandbox scenarios and expected events.
- Handling Error Codes: every error the component can emit.
- Deployment: go-live checklist.