Skip to main content
Class Reactive controller for checkout order state, matching the official Crossmint RN SDK’s useCrossmintCheckout() hook.
Pass this to CrossmintEmbeddedCheckout to receive order updates as observable state instead of (or in addition to) the onOrderUpdated callback.

Properties

order

The current order object from the checkout, or null if no order yet.

orderClientSecret

The server-assigned client secret for the current order.

identityVerificationCredentials

Verification credentials for the current order, or null when the order does not need identity verification. Pass these to CrossmintIdentityVerification when checkout runs with identityVerificationHandling set to external.

Methods

updateOrder

Updates the order state from a checkout order:updated event.

clear

Clears the order state.