Checkout extension points API - useBuyerJourney

Checkout extension points API - useBuyerJourney

テックギーク運営者
Shopify Partner
32 3 11

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)