Learn how to use React hooks to control and customize the Hosted Checkout UI
CrossmintProvider
and CrossmintCheckoutProvider
:
useCrossmintCheckout
hook provides access to the checkout state and allows you to build custom UI experiences.
Property | Type | Description |
---|---|---|
order | Order | undefined | The current order object containing all order details |
orderClientSecret | string | undefined | The client secret for the current order |
quote
- Initial phase where price quotes are being generatedpayment
- Payment is being processeddelivery
- NFTs are being delivered to the recipientcompleted
- Order has been successfully completedorder
properties