<MoonPayApplePayButton> renders an Apple Pay button inline in your layout.
Apple Pay availability inside a WebView depends on iOS WebKit support. The
component emits
"unsupported" when Apple Pay isn’t available — surface a
fallback payment method.ApplePaySection.tsx
Props
ApplePayEvent
Use event.kind to handle each event.
"error" kinds: "configurationError" | "invalidQuote" |
"quoteExpired" | "oneTapApplePaySecondFactorRequired" | "genericError"
"oneTapApplePaySecondFactorRequired" occurs during the 1TAP Apple Pay flow
when MoonPay needs a second authentication factor. Hand off to
client.connect() or render
<MoonPayConnect>,
then retry.