Skip to main content
<MoonPayBuyButton> renders a card payment button inline in your layout.
BuyButtonSection.tsx

Props

BuyButtonEvent

Use event.kind to handle each event. When the quote expires, the frame emits an "error" event with code: "quoteExpired". Fetch a new quote and update the quote prop to retry.