UX.SOL

Component

Merchant Checkout Template

Complete merchant payment page composed from provider quoting and Solana Pay checkout primitives.

Preview

Installation

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

Usage

merchant-checkout.tsx
import { MerchantCheckoutTemplate } from "@/components/uxdotsol/templates/merchant-checkout";
 
<MerchantCheckoutTemplate
recipient={merchantAddress}
amount={0.25}
reference={orderReference}
merchantName="Example Store"
/>

Props / Arguments

NameTypeDefaultDescription
propsPaymentCheckoutFlowPropsrecipient and amount requiredPayment quote and Solana Pay checkout configuration.
supportEmailstringundefinedOptional merchant support contact.