Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Checkout extension points API - useBuyerJourney

Checkout extension points API - useBuyerJourney

テックギーク運営者
Shopify Partner
33 3 12

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.

Replies 0 (0)