useCrossmintCheckout()
Returns
Show parameters
Show parameters
Show parameters
Show parameters
chain
"solana" | "sui" | "aptos" | "ethereum" | "polygon" | "bsc" | "optimism" | "arbitrum" | "base" | "zora" | ...
delivery
{ recipient?: object | object; status: "completed"; tokens: ... | ...[]; txId: string } | ...
locale
"en-US" | "es-ES" | "fr-FR" | "it-IT" | "ja-JP" | "ko-KR" | "pt-PT" | "zh-CN" | "zh-TW" | "de-DE" | "ru-RU" | ...
Show parameters
Show parameters
currency
"usd" | "eur" | "gbp" | "aud" | "sgd" | "hkd" | "krw" | "inr" | "vnd" | "jpy" | "eth" | "matic" | "usdc" | ...
failureReason
{ code: string; message?: string } | { code: "unknown" | "tx-id-not-found" | "insufficient-funds"; message?: string }
method
"solana" | "ethereum" | "polygon" | "bsc" | "optimism" | "arbitrum" | "base" | "zora" | "arbitrumnova" | ...
status
"completed" | "awaiting-payment" | "in-progress" | "requires-quote" | "requires-crypto-payer-address" | ...
Show parameters
Show parameters
status
"valid" | "expired" | "requires-recipient" | "requires-physical-address" | "all-line-items-unavailable"
Usage
import { useCrossmintCheckout } from "@crossmint/client-sdk-react-ui";
function OrderStatus() {
const { order } = useCrossmintCheckout();
if (!order) return <p>No active order</p>;
return (
<div>
<p>Order ID: {order.orderId}</p>
<p>Phase: {order.phase}</p>
</div>
);
}

