Questions and discussions about using the Shopify CLI and Shopify-built libraries.
Hi
I'm Ryuji, an Engineer.
I am developing a Shopify App.
I tried developing Checkout app extensions, but a useBuyerJourney hook isn't working.
https://shopify.dev/api/checkout-extensions/checkout/extension-points/api
I write the following:
const buyerJourney = useBuyerJourney(); // ユーザーの購入過程を取得するためのhook
buyerJourney.intercept({
behavior: "allow"
})
const buyerIntercept = useBuyerJourneyIntercept(); // ユーザーの購入過程を取得するためのhook
Please teach me how to this useBuyerJourney hook.