Returns true if the buyer completed submitting their order. For example, when viewing the order status page after submitting payment, the buyer will have completed their order.
Returns true if the buyer completed submitting their order. For example, when viewing the order status page after submitting payment, the buyer will have completed their order.
export function useBuyerJourneyCompleted< ID extends RenderExtensionPoint = RenderExtensionPoint, >(): boolean { const buyerJourney = useApi<ID>().buyerJourney; const buyerJourneyCompleted = useSubscription(buyerJourney.completed); return buyerJourneyCompleted; }