UX.SOL

Component

Payment Checkout Flow

Combines an optional provider conversion quote with an actionable Solana Pay checkout request.

Preview

Installation

terminal
$npx shadcn@latest add https://uxdotsol.xyz/r/payment-checkout-flow.json

Usage

payment-checkout-flow.tsx
import { PaymentCheckoutFlow } from "@/components/uxdotsol/flows/payment-checkout-flow";
 
<PaymentCheckoutFlow
recipient={merchantAddress}
amount={0.25}
merchantName="Example Store"
reference={orderReference}
/>

Props / Arguments

NameTypeDefaultDescription
checkout propsSolanaPayCheckoutPropsrecipient and amount requiredAuthoritative Solana Pay request and reconciliation data.
quoteInputMintstringundefinedOptional source token mint used to request an ExactOut quote.