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.

Methods

updateOrder

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

clear

Clears the order state.