Skip to main content
<MoonPayGooglePayButton> renders a Google Pay button inline in your layout.
Google Pay availability depends on the device and environment. The component emits "unsupported" when Google Pay isn’t available — surface a fallback payment method.
GooglePaySection.tsx

Props

GooglePayEvent

Use event.kind to handle each event. "error" kinds: "configurationError" | "invalidQuote" | "quoteExpired" | "genericError" Google Pay unavailability is signalled separately through the "unsupported" event, not as an error.