Checkout
This page describes the pricing methods and state available within the Limio SDK for displaying order totals, subtotals, and tax information.
useCheckout — Accessing checkout state
import { useCheckout } from "@limio/internal-checkout-sdk"
const { useCheckoutSelector } = useCheckout({ redirectOnFailure: true })Param
Type
Description
Reading order totals
Field
Type
Description
Field
Type
Description
Reading order items
Selector
Type
Description
useOrderTotal — Formatting discount and total display values
Field
Type
Description
usePreview — Managing tax calculation states
Field
Type
Description
Loading states
Tax-excluded regions
See also
Last updated
Was this helpful?

