[{"data":1,"prerenderedAt":3283},["ShallowReactive",2],{"sidebar-roots":3,"content-query-uvfb42CXMm":540,"content-query-Re859Js9b8":621,"content-query-q31g2AGfFO":853,"content-query-SINTdTEKfx":1363,"content-query-Mfh0zmb9Ga":2619,"content-query-MX50OiohiM":2887,"content-query-rHp4Rf9E9Z":3075,"$88NaDudkJM":3123,"qyzkpDqbjz":3208},[4,19,28,37,43,52,60,69,78,87,96,105,113,122,131,140,149,156,165,174,183,192,200,244,253,263,271,280,290,300,309,318,326,333,342,351,360,369,377,386,393,402,410,419,429,438,444,452,459,465,473,482,491,498,505,511,518,525,534],{"_path":5,"_dir":6,"_draft":7,"_partial":8,"_locale":6,"sidebarRoot":8,"navigation":9,"_id":12,"_type":13,"title":14,"_source":15,"_file":16,"_stem":17,"_extension":18},"/_dir","",false,true,{"title":10,"icon":11},"Home","ri:home-2-fill","base:_dir.yml","yaml","Dir","base","_dir.yml","_dir","yml",{"_path":20,"_dir":21,"_draft":7,"_partial":8,"_locale":6,"title":22,"sidebarRoot":8,"navigation":23,"_id":25,"_type":13,"_source":15,"_file":26,"_stem":27,"_extension":18},"/general/_dir","general","Getting Started",{"icon":24},"ri:book-2-fill","base:2.general:_dir.yml","2.general/_dir.yml","2.general/_dir",{"_path":29,"_dir":30,"_draft":7,"_partial":8,"_locale":6,"sidebarRoot":8,"title":31,"navigation":32,"_id":34,"_type":13,"_source":30,"_file":35,"_stem":36,"_extension":18},"/cloud/_dir","cloud","Cloud",{"icon":33},"material-symbols:cloud","cloud:cloud:_dir.yml","cloud/_dir.yml","cloud/_dir",{"_path":38,"_dir":39,"_draft":7,"_partial":8,"_locale":6,"sidebarRoot":8,"callout":8,"_id":40,"_type":13,"title":14,"_source":30,"_file":41,"_stem":42,"_extension":18},"/cloud/v1/_dir","v1","cloud:cloud:6.v1:_dir.yml","cloud/6.v1/_dir.yml","cloud/6.v1/_dir",{"_path":44,"_dir":45,"_draft":7,"_partial":8,"_locale":6,"sidebarRoot":8,"title":46,"navigation":47,"_id":49,"_type":13,"_source":45,"_file":50,"_stem":51,"_extension":18},"/console/_dir","console","Console (Cloud management)",{"icon":48},"material-symbols:frame-inspect","console:console:_dir.yml","console/_dir.yml","console/_dir",{"_path":53,"_dir":54,"_draft":7,"_partial":8,"_locale":6,"title":55,"navigation":56,"sidebarRoot":8,"_id":57,"_type":13,"_source":15,"_file":58,"_stem":59,"_extension":18},"/cookbook/_dir","cookbook","Cookbooks",{"icon":24},"base:cookbook:_dir.yml","cookbook/_dir.yml","cookbook/_dir",{"_path":61,"_dir":62,"_draft":7,"_partial":8,"_locale":6,"title":63,"sidebarRoot":8,"navigation":64,"_id":66,"_type":13,"_source":15,"_file":67,"_stem":68,"_extension":18},"/guides/_dir","guides","Guides",{"icon":65},"ri:code-s-slash-fill","base:guides:_dir.yml","guides/_dir.yml","guides/_dir",{"_path":70,"_dir":71,"_draft":7,"_partial":8,"_locale":6,"title":72,"sidebarRoot":8,"navigation":73,"_id":75,"_type":13,"_source":15,"_file":76,"_stem":77,"_extension":18},"/guides/alokai-essentials/__2.vue-storefront-with-nuxt/_dir","__2.vue-storefront-with-nuxt","Alokai with Nuxt",{"icon":74},"skill-icons:nuxtjs-dark","base:guides:2.alokai-essentials:__2.vue-storefront-with-nuxt:_dir.yml","guides/2.alokai-essentials/__2.vue-storefront-with-nuxt/_dir.yml","guides/2.alokai-essentials/__2.vue-storefront-with-nuxt/_dir",{"_path":79,"_dir":80,"_draft":7,"_partial":8,"_locale":6,"title":81,"sidebarRoot":8,"navigation":82,"_id":84,"_type":13,"_source":15,"_file":85,"_stem":86,"_extension":18},"/guides/alokai-essentials/_dir","alokai-essentials","Alokai Essentials",{"icon":83},"tabler:123","base:guides:2.alokai-essentials:_dir.yml","guides/2.alokai-essentials/_dir.yml","guides/2.alokai-essentials/_dir",{"_path":88,"_dir":89,"_draft":7,"_partial":8,"_locale":6,"title":90,"sidebarRoot":8,"navigation":91,"_id":93,"_type":13,"_source":15,"_file":94,"_stem":95,"_extension":18},"/guides/alokai-essentials/alokai-next-js/_dir","alokai-next-js","Alokai with Next.js",{"icon":92},"tabler:brand-nextjs","base:guides:2.alokai-essentials:1.alokai-next-js:_dir.yml","guides/2.alokai-essentials/1.alokai-next-js/_dir.yml","guides/2.alokai-essentials/1.alokai-next-js/_dir",{"_path":97,"_dir":98,"_draft":7,"_partial":8,"_locale":6,"title":99,"sidebarRoot":8,"navigation":100,"_id":102,"_type":13,"_source":15,"_file":103,"_stem":104,"_extension":18},"/guides/alokai-essentials/alokai-react-native/_dir","alokai-react-native","Alokai with React Native",{"icon":101},"tabler:brand-react-native","base:guides:2.alokai-essentials:2.alokai-react-native:_dir.yml","guides/2.alokai-essentials/2.alokai-react-native/_dir.yml","guides/2.alokai-essentials/2.alokai-react-native/_dir",{"_path":106,"_dir":107,"_draft":7,"_partial":8,"_locale":6,"title":72,"sidebarRoot":8,"navigation":108,"_id":110,"_type":13,"_source":15,"_file":111,"_stem":112,"_extension":18},"/guides/alokai-essentials/alokai-nuxt/_dir","alokai-nuxt",{"icon":109},"tabler:brand-nuxt","base:guides:2.alokai-essentials:3.alokai-nuxt:_dir.yml","guides/2.alokai-essentials/3.alokai-nuxt/_dir.yml","guides/2.alokai-essentials/3.alokai-nuxt/_dir",{"_path":114,"_dir":115,"_draft":7,"_partial":8,"_locale":6,"title":116,"sidebarRoot":8,"navigation":117,"_id":119,"_type":13,"_source":15,"_file":120,"_stem":121,"_extension":18},"/guides/customization/_dir","customization","Alokai Customization",{"icon":118},"tabler:tool","base:guides:4.customization:_dir.yml","guides/4.customization/_dir.yml","guides/4.customization/_dir",{"_path":123,"_dir":124,"_draft":7,"_partial":8,"_locale":6,"title":125,"sidebarRoot":8,"navigation":126,"_id":128,"_type":13,"_source":15,"_file":129,"_stem":130,"_extension":18},"/guides/customization/app-router/_dir","app-router","Next.js app router",{"icon":127},"tabler:cube","base:guides:4.customization:2.app-router:_dir.yml","guides/4.customization/2.app-router/_dir.yml","guides/4.customization/2.app-router/_dir",{"_path":132,"_dir":133,"_draft":7,"_partial":8,"_locale":6,"title":134,"sidebarRoot":8,"navigation":135,"_id":137,"_type":13,"_source":15,"_file":138,"_stem":139,"_extension":18},"/guides/kubernetes-probe/_dir","kubernetes-probe","Kubernetes Probes",{"icon":136},"tabler:heart-rate-monitor","base:guides:5.kubernetes-probe:_dir.yml","guides/5.kubernetes-probe/_dir.yml","guides/5.kubernetes-probe/_dir",{"_path":141,"_dir":142,"_draft":7,"_partial":8,"_locale":6,"title":143,"sidebarRoot":8,"navigation":144,"_id":146,"_type":13,"_source":15,"_file":147,"_stem":148,"_extension":18},"/guides/best-practices/_dir","best-practices","Best Practices",{"icon":145},"tabler:rosette-discount-check","base:guides:6.best-practices:_dir.yml","guides/6.best-practices/_dir.yml","guides/6.best-practices/_dir",{"_path":150,"_dir":151,"_draft":7,"_partial":8,"_locale":6,"title":152,"sidebarRoot":8,"_id":153,"_type":13,"_source":15,"_file":154,"_stem":155,"_extension":18},"/guides/best-practices/performance/_dir","performance","Performance","base:guides:6.best-practices:3.performance:_dir.yml","guides/6.best-practices/3.performance/_dir.yml","guides/6.best-practices/3.performance/_dir",{"_path":157,"_dir":158,"_draft":7,"_partial":8,"_locale":6,"title":159,"sidebarRoot":8,"navigation":160,"_id":162,"_type":13,"_source":15,"_file":163,"_stem":164,"_extension":18},"/guides/multistore/_dir","multistore","Multistore",{"icon":161},"tabler:box-multiple-filled","base:guides:7.multistore:_dir.yml","guides/7.multistore/_dir.yml","guides/7.multistore/_dir",{"_path":166,"_dir":167,"_draft":7,"_partial":8,"_locale":6,"title":168,"sidebarRoot":8,"navigation":169,"_id":171,"_type":13,"_source":15,"_file":172,"_stem":173,"_extension":18},"/guides/multistore/introduction/_dir","introduction","Introduction",{"icon":170},"tabler:align-box-center-middle","base:guides:7.multistore:1.introduction:_dir.yml","guides/7.multistore/1.introduction/_dir.yml","guides/7.multistore/1.introduction/_dir",{"_path":175,"_dir":176,"_draft":7,"_partial":8,"_locale":6,"title":177,"sidebarRoot":8,"navigation":178,"_id":180,"_type":13,"_source":15,"_file":181,"_stem":182,"_extension":18},"/guides/multistore/tooling-and-concepts/_dir","tooling-and-concepts","Tooling and concepts",{"icon":179},"tabler:tools","base:guides:7.multistore:2.tooling-and-concepts:_dir.yml","guides/7.multistore/2.tooling-and-concepts/_dir.yml","guides/7.multistore/2.tooling-and-concepts/_dir",{"_path":184,"_dir":185,"_draft":7,"_partial":8,"_locale":6,"title":186,"sidebarRoot":8,"navigation":187,"_id":189,"_type":13,"_source":15,"_file":190,"_stem":191,"_extension":18},"/guides/multistore/patterns/_dir","patterns","Patterns",{"icon":188},"tabler:layout-grid","base:guides:7.multistore:3.patterns:_dir.yml","guides/7.multistore/3.patterns/_dir.yml","guides/7.multistore/3.patterns/_dir",{"_path":193,"_dir":194,"_draft":7,"_partial":8,"_locale":6,"title":195,"sidebarRoot":8,"navigation":196,"_id":197,"_type":13,"_source":15,"_file":198,"_stem":199,"_extension":18},"/guides/troubleshooting/_dir","troubleshooting","Troubleshooting",{"icon":179},"base:guides:8.troubleshooting:_dir.yml","guides/8.troubleshooting/_dir.yml","guides/8.troubleshooting/_dir",{"_path":201,"_dir":62,"_draft":7,"_partial":7,"_locale":6,"title":6,"description":202,"layout":203,"sidebarRoot":8,"body":204,"_type":238,"_id":239,"_source":15,"_file":240,"_stem":241,"_extension":242,"sitemap":243},"/guides/troubleshooting","On this page you'll find a set of guides that will help you to resolve common issues that may occur when working with Alokai.","default",{"type":205,"children":206,"toc":234},"root",[207,214,219],{"type":208,"tag":209,"props":210,"children":211},"element","h1",{"id":194},[212],{"type":213,"value":195},"text",{"type":208,"tag":215,"props":216,"children":217},"p",{},[218],{"type":213,"value":202},{"type":208,"tag":220,"props":221,"children":224},"card",{"icon":170,"title":222,"to":223},"Inspecting network requests","/guides/troubleshooting/inspecting-network-requests",[225],{"type":208,"tag":226,"props":227,"children":228},"template",{"v-slot:description":6},[229],{"type":208,"tag":215,"props":230,"children":231},{},[232],{"type":213,"value":233},"Learn how to inspect network requests sent from the client (browser) to Server Middleware and from the Server Middleware to external services.",{"title":6,"searchDepth":235,"depth":236,"links":237},5,2,[],"markdown","base:guides:8.troubleshooting:index.md","guides/8.troubleshooting/index.md","guides/8.troubleshooting/index","md",{"loc":201},{"_path":245,"_dir":246,"_draft":7,"_partial":8,"_locale":6,"title":247,"sidebarRoot":8,"navigation":248,"_id":250,"_type":13,"_source":246,"_file":251,"_stem":252,"_extension":18},"/integrations/_dir","integrations","Integrations",{"icon":249},"fluent:puzzle-cube-piece-20-filled","integrations:integrations:_dir.yml","integrations/_dir.yml","integrations/_dir",{"_path":254,"_dir":255,"_draft":7,"_partial":8,"_locale":6,"navigation":256,"sidebarRoot":8,"_id":259,"_type":13,"title":14,"_source":260,"_file":261,"_stem":262,"_extension":18},"/integrations/adyen-sfcc/_dir","adyen-sfcc",{"title":257,"icon":258},"Adyen Integration for SFCC","ri:terminal-box-fill","adyenSfcc:integrations:adyen-sfcc:_dir.yml","adyenSfcc","integrations/adyen-sfcc/_dir.yml","integrations/adyen-sfcc/_dir",{"_path":264,"_dir":265,"_draft":7,"_partial":8,"_locale":6,"navigation":266,"sidebarRoot":8,"_id":268,"_type":13,"title":14,"_source":265,"_file":269,"_stem":270,"_extension":18},"/integrations/adyen/_dir","adyen",{"title":267,"icon":258},"Adyen Integration","adyen:integrations:adyen:_dir.yml","integrations/adyen/_dir.yml","integrations/adyen/_dir",{"_path":272,"_dir":273,"_draft":7,"_partial":8,"_locale":6,"navigation":274,"sidebarRoot":8,"_id":277,"_type":13,"title":14,"_source":273,"_file":278,"_stem":279,"_extension":18},"/integrations/amplience/_dir","amplience",{"title":275,"icon":276},"Amplience","IconAmplience","amplience:integrations:amplience:_dir.yml","integrations/amplience/_dir.yml","integrations/amplience/_dir",{"_path":281,"_dir":282,"_draft":7,"_partial":8,"_locale":6,"navigation":283,"sidebarRoot":8,"iconClass":286,"_id":287,"_type":13,"title":14,"_source":282,"_file":288,"_stem":289,"_extension":18},"/integrations/bigcommerce/_dir","bigcommerce",{"title":284,"icon":285},"BigCommerce","simple-icons:bigcommerce","text-black dark:text-white","bigcommerce:integrations:bigcommerce:_dir.yml","integrations/bigcommerce/_dir.yml","integrations/bigcommerce/_dir",{"_path":291,"_dir":292,"_draft":7,"_partial":8,"_locale":6,"navigation":293,"sidebarRoot":8,"_id":296,"_type":13,"title":14,"_source":297,"_file":298,"_stem":299,"_extension":18},"/integrations/bloomreach-content/_dir","bloomreach-content",{"title":294,"icon":295},"Bloomreach Content","IconBloomreach","bloomreachContent:integrations:bloomreach-content:_dir.yml","bloomreachContent","integrations/bloomreach-content/_dir.yml","integrations/bloomreach-content/_dir",{"_path":301,"_dir":302,"_draft":7,"_partial":8,"_locale":6,"navigation":303,"sidebarRoot":8,"_id":305,"_type":13,"title":14,"_source":306,"_file":307,"_stem":308,"_extension":18},"/integrations/bloomreach-search/_dir","bloomreach-search",{"title":304,"icon":295},"Bloomreach Discovery","bloomreachSearch:integrations:bloomreach-search:_dir.yml","bloomreachSearch","integrations/bloomreach-search/_dir.yml","integrations/bloomreach-search/_dir",{"_path":310,"_dir":311,"_draft":7,"_partial":8,"_locale":6,"navigation":312,"sidebarRoot":8,"_id":315,"_type":13,"title":14,"_source":311,"_file":316,"_stem":317,"_extension":18},"/integrations/builder/_dir","builder",{"title":313,"icon":314},"Builder.io","logos:builder-io-icon","builder:integrations:builder:_dir.yml","integrations/builder/_dir.yml","integrations/builder/_dir",{"_path":319,"_dir":320,"_draft":7,"_partial":8,"_locale":6,"sidebarRoot":8,"navigation":321,"title":320,"_id":323,"_type":13,"_source":320,"_file":324,"_stem":325,"_extension":18},"/integrations/commercetools/_dir","commercetools",{"icon":322},"IconCommercetools","commercetools:integrations:commercetools:_dir.yml","integrations/commercetools/_dir.yml","integrations/commercetools/_dir",{"_path":327,"_dir":328,"_draft":7,"_partial":8,"_locale":6,"sidebarRoot":8,"navigation":329,"title":320,"_id":330,"_type":13,"_source":320,"_file":331,"_stem":332,"_extension":18},"/integrations/commercetools/v2/_dir","v2",{"icon":322},"commercetools:integrations:commercetools:v2:_dir.yml","integrations/commercetools/v2/_dir.yml","integrations/commercetools/v2/_dir",{"_path":334,"_dir":335,"_draft":7,"_partial":8,"_locale":6,"navigation":336,"sidebarRoot":8,"_id":339,"_type":13,"title":14,"_source":335,"_file":340,"_stem":341,"_extension":18},"/integrations/contentful/_dir","contentful",{"title":337,"icon":338},"Contentful","logos:contentful","contentful:integrations:contentful:_dir.yml","integrations/contentful/_dir.yml","integrations/contentful/_dir",{"_path":343,"_dir":344,"_draft":7,"_partial":8,"_locale":6,"navigation":345,"sidebarRoot":8,"_id":348,"_type":13,"title":14,"_source":344,"_file":349,"_stem":350,"_extension":18},"/integrations/contentstack/_dir","contentstack",{"title":346,"icon":347},"Contentstack","IconContentstack","contentstack:integrations:contentstack:_dir.yml","integrations/contentstack/_dir.yml","integrations/contentstack/_dir",{"_path":352,"_dir":353,"_draft":7,"_partial":8,"_locale":6,"navigation":354,"sidebarRoot":8,"_id":357,"_type":13,"title":14,"_source":353,"_file":358,"_stem":359,"_extension":18},"/integrations/magento/_dir","magento",{"title":355,"icon":356},"Magento","logos:magento","magento:integrations:magento:_dir.yml","integrations/magento/_dir.yml","integrations/magento/_dir",{"_path":361,"_dir":362,"_draft":7,"_partial":8,"_locale":6,"sidebarRoot":8,"navigation":363,"_id":366,"_type":13,"title":14,"_source":362,"_file":367,"_stem":368,"_extension":18},"/integrations/odoo/_dir","odoo",{"title":364,"icon":365},"Odoo","IconOdoo","odoo:integrations:odoo:_dir.yml","integrations/odoo/_dir.yml","integrations/odoo/_dir",{"_path":370,"_dir":371,"_draft":7,"_partial":8,"_locale":6,"navigation":372,"sidebarRoot":8,"_id":374,"_type":13,"title":14,"_source":371,"_file":375,"_stem":376,"_extension":18},"/integrations/redis/_dir","redis",{"title":373,"icon":258},"Redis","redis:integrations:redis:_dir.yml","integrations/redis/_dir.yml","integrations/redis/_dir",{"_path":378,"_dir":379,"_draft":7,"_partial":8,"_locale":6,"navigation":380,"sidebarRoot":8,"_id":383,"_type":13,"title":14,"_source":379,"_file":384,"_stem":385,"_extension":18},"/integrations/sapcc/_dir","sapcc",{"title":381,"icon":382},"SAP Commerce Cloud","IconSAP","sapcc:integrations:sapcc:_dir.yml","integrations/sapcc/_dir.yml","integrations/sapcc/_dir",{"_path":387,"_dir":388,"_draft":7,"_partial":8,"_locale":6,"navigation":389,"sidebarRoot":8,"_id":390,"_type":13,"title":14,"_source":379,"_file":391,"_stem":392,"_extension":18},"/integrations/sapcc/v7/_dir","v7",{"title":381,"icon":382},"sapcc:integrations:sapcc:v7:_dir.yml","integrations/sapcc/v7/_dir.yml","integrations/sapcc/v7/_dir",{"_path":394,"_dir":395,"_draft":7,"_partial":8,"_locale":6,"navigation":396,"sidebarRoot":8,"_id":399,"_type":13,"title":14,"_source":395,"_file":400,"_stem":401,"_extension":18},"/integrations/sfcc/_dir","sfcc",{"title":397,"icon":398},"Salesforce Commerce Cloud","logos:salesforce","sfcc:integrations:sfcc:_dir.yml","integrations/sfcc/_dir.yml","integrations/sfcc/_dir",{"_path":403,"_dir":404,"_draft":7,"_partial":8,"_locale":6,"navigation":405,"sidebarRoot":8,"_id":407,"_type":13,"title":14,"_source":404,"_file":408,"_stem":409,"_extension":18},"/integrations/smartedit/_dir","smartedit",{"title":406,"icon":382},"SmartEdit","smartedit:integrations:smartedit:_dir.yml","integrations/smartedit/_dir.yml","integrations/smartedit/_dir",{"_path":411,"_dir":412,"_draft":7,"_partial":8,"_locale":6,"navigation":413,"sidebarRoot":8,"_id":416,"_type":13,"title":14,"_source":412,"_file":417,"_stem":418,"_extension":18},"/integrations/storyblok/_dir","storyblok",{"title":414,"icon":415},"Storyblok","logos:storyblok-icon","storyblok:integrations:storyblok:_dir.yml","integrations/storyblok/_dir.yml","integrations/storyblok/_dir",{"_path":420,"_dir":421,"_draft":7,"_partial":8,"_locale":6,"navigation":422,"sidebarRoot":8,"_id":425,"_type":13,"title":14,"_source":426,"_file":427,"_stem":428,"_extension":18},"/integrations/stripe-commercetools/_dir","stripe-commercetools",{"title":423,"icon":424},"Stripe + commercetools","logos:stripe","stripeCt:integrations:stripe-commercetools:_dir.yml","stripeCt","integrations/stripe-commercetools/_dir.yml","integrations/stripe-commercetools/_dir",{"_path":430,"_dir":431,"_draft":7,"_partial":8,"_locale":6,"title":432,"sidebarRoot":8,"navigation":433,"_id":435,"_type":13,"_source":431,"_file":436,"_stem":437,"_extension":18},"/middleware/_dir","middleware","Middleware",{"icon":434},"fa6-solid:layer-group","middleware:middleware:_dir.yml","middleware/_dir.yml","middleware/_dir",{"_path":439,"_dir":39,"_draft":7,"_partial":8,"_locale":6,"title":432,"sidebarRoot":8,"navigation":440,"_id":441,"_type":13,"_source":431,"_file":442,"_stem":443,"_extension":18},"/middleware/v1/_dir",{"icon":434},"middleware:middleware:v1:_dir.yml","middleware/v1/_dir.yml","middleware/v1/_dir",{"_path":445,"_dir":446,"_draft":7,"_partial":8,"_locale":6,"navigation":447,"sidebarRoot":8,"_id":449,"_type":13,"title":14,"_source":446,"_file":450,"_stem":451,"_extension":18},"/sdk/_dir","sdk",{"title":448,"icon":258},"SDK","sdk:sdk:_dir.yml","sdk/_dir.yml","sdk/_dir",{"_path":453,"_dir":454,"_draft":7,"_partial":8,"_locale":6,"navigation":455,"sidebarRoot":8,"_id":456,"_type":13,"title":14,"_source":446,"_file":457,"_stem":458,"_extension":18},"/sdk/legacy/_dir","legacy",{"title":448,"icon":258},"sdk:sdk:legacy:_dir.yml","sdk/legacy/_dir.yml","sdk/legacy/_dir",{"_path":460,"_dir":39,"_draft":7,"_partial":8,"_locale":6,"navigation":461,"sidebarRoot":8,"_id":462,"_type":13,"title":14,"_source":446,"_file":463,"_stem":464,"_extension":18},"/sdk/v1/_dir",{"title":448,"icon":258},"sdk:sdk:v1:_dir.yml","sdk/v1/_dir.yml","sdk/v1/_dir",{"_path":466,"_dir":467,"_draft":7,"_partial":8,"_locale":6,"navigation":468,"sidebarRoot":8,"_id":470,"_type":13,"title":14,"_source":467,"_file":471,"_stem":472,"_extension":18},"/storefront/_dir","storefront",{"title":469,"icon":258},"Storefront","storefront:storefront:_dir.yml","storefront/_dir.yml","storefront/_dir",{"_path":474,"_dir":475,"_draft":7,"_partial":8,"_locale":6,"navigation":476,"sidebarRoot":8,"_id":479,"_type":13,"title":14,"_source":475,"_file":480,"_stem":481,"_extension":18},"/storefront/modules/_dir","modules",{"title":477,"icon":478},"Storefront Modules","ri:home-fill","modules:storefront:modules:_dir.yml","storefront/modules/_dir.yml","storefront/modules/_dir",{"_path":483,"_dir":484,"_draft":7,"_partial":8,"_locale":6,"navigation":485,"sidebarRoot":8,"_id":488,"_type":13,"title":14,"_source":475,"_file":489,"_stem":490,"_extension":18},"/storefront/modules/search-integrations/coveo/_dir","coveo",{"title":486,"icon":487},"Coveo","ri:user-search-fill","modules:storefront:modules:2.search-integrations:1.coveo:_dir.yml","storefront/modules/2.search-integrations/1.coveo/_dir.yml","storefront/modules/2.search-integrations/1.coveo/_dir",{"_path":492,"_dir":493,"_draft":7,"_partial":8,"_locale":6,"navigation":494,"sidebarRoot":8,"_id":495,"_type":13,"title":14,"_source":475,"_file":496,"_stem":497,"_extension":18},"/storefront/modules/search-integrations/bloomreach/_dir","bloomreach",{"title":304,"icon":487},"modules:storefront:modules:2.search-integrations:3.bloomreach:_dir.yml","storefront/modules/2.search-integrations/3.bloomreach/_dir.yml","storefront/modules/2.search-integrations/3.bloomreach/_dir",{"_path":499,"_dir":500,"_draft":7,"_partial":8,"_locale":6,"navigation":501,"sidebarRoot":8,"_id":502,"_type":13,"title":14,"_source":475,"_file":503,"_stem":504,"_extension":18},"/storefront/modules/v0/_dir","v0",{"title":477,"icon":478},"modules:storefront:modules:v0:_dir.yml","storefront/modules/v0/_dir.yml","storefront/modules/v0/_dir",{"_path":506,"_dir":484,"_draft":7,"_partial":8,"_locale":6,"navigation":507,"sidebarRoot":8,"_id":508,"_type":13,"title":14,"_source":475,"_file":509,"_stem":510,"_extension":18},"/storefront/modules/v0/search-integrations/coveo/_dir",{"title":486,"icon":487},"modules:storefront:modules:v0:2.search-integrations:1.coveo:_dir.yml","storefront/modules/v0/2.search-integrations/1.coveo/_dir.yml","storefront/modules/v0/2.search-integrations/1.coveo/_dir",{"_path":512,"_dir":513,"_draft":7,"_partial":8,"_locale":6,"navigation":514,"sidebarRoot":8,"_id":515,"_type":13,"title":14,"_source":467,"_file":516,"_stem":517,"_extension":18},"/storefront/v0.1/_dir","v0.1",{"title":469,"icon":258},"storefront:storefront:v0.1:_dir.yml","storefront/v0.1/_dir.yml","storefront/v0.1/_dir",{"_path":519,"_dir":520,"_draft":7,"_partial":8,"_locale":6,"navigation":521,"sidebarRoot":8,"_id":522,"_type":13,"title":14,"_source":467,"_file":523,"_stem":524,"_extension":18},"/storefront/v0.2/_dir","v0.2",{"title":469,"icon":258},"storefront:storefront:v0.2:_dir.yml","storefront/v0.2/_dir.yml","storefront/v0.2/_dir",{"_path":526,"_dir":527,"_draft":7,"_partial":8,"_locale":6,"navigation":528,"sidebarRoot":8,"_id":530,"_type":13,"title":14,"_source":531,"_file":532,"_stem":533,"_extension":18},"/unified-data-layer/_dir","unified-data-layer",{"title":529,"icon":258},"Unified Data Layer","unified:unified-data-layer:_dir.yml","unified","unified-data-layer/_dir.yml","unified-data-layer/_dir",{"_path":535,"_dir":39,"_draft":7,"_partial":8,"_locale":6,"navigation":536,"sidebarRoot":8,"_id":537,"_type":13,"title":14,"_source":531,"_file":538,"_stem":539,"_extension":18},"/unified-data-layer/v1/_dir",{"title":529,"icon":258},"unified:unified-data-layer:v1:_dir.yml","unified-data-layer/v1/_dir.yml","unified-data-layer/v1/_dir",{"_path":541,"_dir":542,"_draft":7,"_partial":8,"_locale":6,"title":543,"description":6,"body":544,"_type":238,"_id":618,"_source":265,"_file":619,"_stem":620,"_extension":242,"layout":203},"/integrations/adyen/_partials/requirements","_partials","Requirements",{"type":205,"children":545,"toc":616},[546],{"type":208,"tag":547,"props":548,"children":550},"list",{"type":549},"success",[551],{"type":208,"tag":552,"props":553,"children":554},"ul",{},[555,561,566,580,594,599,604],{"type":208,"tag":556,"props":557,"children":558},"li",{},[559],{"type":213,"value":560},"An Adyen account",{"type":208,"tag":556,"props":562,"children":563},{},[564],{"type":213,"value":565},"A commercetools account",{"type":208,"tag":556,"props":567,"children":568},{},[569,571],{"type":213,"value":570},"A commercetools project with installed ",{"type":208,"tag":572,"props":573,"children":577},"a",{"href":574,"rel":575},"https://github.com/Adyen/adyen-commercetools/tree/v11.5.1",[576],"nofollow",[578],{"type":213,"value":579},"Adyen integration in version ^11.5.1",{"type":208,"tag":556,"props":581,"children":582},{},[583,585,592],{"type":213,"value":584},"An extension module of ",{"type":208,"tag":572,"props":586,"children":589},{"href":587,"rel":588},"https://github.com/Adyen/adyen-commercetools/tree/v11.1.1",[576],[590],{"type":213,"value":591},"Adyen integration in version ^71",{"type":213,"value":593}," uses Adyen Checkout API in version at least 71.",{"type":208,"tag":556,"props":595,"children":596},{},[597],{"type":213,"value":598},"An Alokai project with Commercetools integration",{"type":208,"tag":556,"props":600,"children":601},{},[602],{"type":213,"value":603},"An Enterprise license for Alokai",{"type":208,"tag":556,"props":605,"children":606},{},[607,609],{"type":213,"value":608},"(good practice) ",{"type":208,"tag":572,"props":610,"children":613},{"href":611,"rel":612},"https://github.com/commercetools/commercetools-payment-to-order-processor",[576],[614],{"type":213,"value":615},"commercetools payment to order processor",{"title":6,"searchDepth":235,"depth":236,"links":617},[],"adyen:integrations:adyen:_partials:requirements.md","integrations/adyen/_partials/requirements.md","integrations/adyen/_partials/requirements",{"_path":622,"_dir":542,"_draft":7,"_partial":8,"_locale":6,"title":623,"description":624,"body":625,"_type":238,"_id":850,"_source":265,"_file":851,"_stem":852,"_extension":242,"layout":203},"/integrations/adyen/_partials/custom-adyen-client-params","Custom Adyen Client Params","If your Adyen instance is running in production and taking payments, then you also need to pass buildCustomAdyenClientParameters. It's a function for overwriting object used to instantiate Client from @adyen/api-library. Mostly all you need to is pass what you get and append liveEndpointUrlPrefix as such:",{"type":205,"children":626,"toc":848},[627,658,842],{"type":208,"tag":215,"props":628,"children":629},{},[630,632,639,641,648,650,656],{"type":213,"value":631},"If your Adyen instance is running in production and taking payments, then you also need to pass ",{"type":208,"tag":633,"props":634,"children":636},"code",{"className":635},[],[637],{"type":213,"value":638},"buildCustomAdyenClientParameters",{"type":213,"value":640},". It's a function for overwriting object used to instantiate ",{"type":208,"tag":572,"props":642,"children":645},{"href":643,"rel":644},"https://github.com/Adyen/adyen-node-api-library?tab=readme-ov-file#client-setup-when-going-live",[576],[646],{"type":213,"value":647},"Client from @adyen/api-library",{"type":213,"value":649},". Mostly all you need to is pass what you get and append ",{"type":208,"tag":633,"props":651,"children":653},{"className":652},[],[654],{"type":213,"value":655},"liveEndpointUrlPrefix",{"type":213,"value":657}," as such:",{"type":208,"tag":659,"props":660,"children":664},"pre",{"className":661,"code":662,"language":663,"meta":6,"style":6},"language-ts shiki shiki-themes one-dark-pro","adyen: {\n  location: '@vsf-enterprise/adyen-commercetools-api/server',\n  configuration: {\n    // ...\n    buildCustomAdyenClientParameters(params) {\n      return {\n        ...params,\n        liveEndpointUrlPrefix: \"YOUR_LIVE_URL_PREFIX\"\n      }\n    }\n  }\n},\n","ts",[665],{"type":208,"tag":633,"props":666,"children":667},{"__ignoreMap":6},[668,685,709,722,732,756,771,788,806,815,824,833],{"type":208,"tag":669,"props":670,"children":673},"span",{"class":671,"line":672},"line",1,[674,679],{"type":208,"tag":669,"props":675,"children":677},{"style":676},"--shiki-default:#E06C75",[678],{"type":213,"value":265},{"type":208,"tag":669,"props":680,"children":682},{"style":681},"--shiki-default:#ABB2BF",[683],{"type":213,"value":684},": {\n",{"type":208,"tag":669,"props":686,"children":687},{"class":671,"line":236},[688,693,698,704],{"type":208,"tag":669,"props":689,"children":690},{"style":676},[691],{"type":213,"value":692},"  location",{"type":208,"tag":669,"props":694,"children":695},{"style":681},[696],{"type":213,"value":697},": ",{"type":208,"tag":669,"props":699,"children":701},{"style":700},"--shiki-default:#98C379",[702],{"type":213,"value":703},"'@vsf-enterprise/adyen-commercetools-api/server'",{"type":208,"tag":669,"props":705,"children":706},{"style":681},[707],{"type":213,"value":708},",\n",{"type":208,"tag":669,"props":710,"children":712},{"class":671,"line":711},3,[713,718],{"type":208,"tag":669,"props":714,"children":715},{"style":676},[716],{"type":213,"value":717},"  configuration",{"type":208,"tag":669,"props":719,"children":720},{"style":681},[721],{"type":213,"value":684},{"type":208,"tag":669,"props":723,"children":725},{"class":671,"line":724},4,[726],{"type":208,"tag":669,"props":727,"children":729},{"style":728},"--shiki-default:#7F848E;--shiki-default-font-style:italic",[730],{"type":213,"value":731},"    // ...\n",{"type":208,"tag":669,"props":733,"children":734},{"class":671,"line":235},[735,741,746,751],{"type":208,"tag":669,"props":736,"children":738},{"style":737},"--shiki-default:#61AFEF",[739],{"type":213,"value":740},"    buildCustomAdyenClientParameters",{"type":208,"tag":669,"props":742,"children":743},{"style":681},[744],{"type":213,"value":745},"(",{"type":208,"tag":669,"props":747,"children":748},{"style":676},[749],{"type":213,"value":750},"params",{"type":208,"tag":669,"props":752,"children":753},{"style":681},[754],{"type":213,"value":755},") {\n",{"type":208,"tag":669,"props":757,"children":759},{"class":671,"line":758},6,[760,766],{"type":208,"tag":669,"props":761,"children":763},{"style":762},"--shiki-default:#C678DD",[764],{"type":213,"value":765},"      return",{"type":208,"tag":669,"props":767,"children":768},{"style":681},[769],{"type":213,"value":770}," {\n",{"type":208,"tag":669,"props":772,"children":774},{"class":671,"line":773},7,[775,780,784],{"type":208,"tag":669,"props":776,"children":777},{"style":681},[778],{"type":213,"value":779},"        ...",{"type":208,"tag":669,"props":781,"children":782},{"style":676},[783],{"type":213,"value":750},{"type":208,"tag":669,"props":785,"children":786},{"style":681},[787],{"type":213,"value":708},{"type":208,"tag":669,"props":789,"children":791},{"class":671,"line":790},8,[792,797,801],{"type":208,"tag":669,"props":793,"children":794},{"style":676},[795],{"type":213,"value":796},"        liveEndpointUrlPrefix",{"type":208,"tag":669,"props":798,"children":799},{"style":681},[800],{"type":213,"value":697},{"type":208,"tag":669,"props":802,"children":803},{"style":700},[804],{"type":213,"value":805},"\"YOUR_LIVE_URL_PREFIX\"\n",{"type":208,"tag":669,"props":807,"children":809},{"class":671,"line":808},9,[810],{"type":208,"tag":669,"props":811,"children":812},{"style":681},[813],{"type":213,"value":814},"      }\n",{"type":208,"tag":669,"props":816,"children":818},{"class":671,"line":817},10,[819],{"type":208,"tag":669,"props":820,"children":821},{"style":681},[822],{"type":213,"value":823},"    }\n",{"type":208,"tag":669,"props":825,"children":827},{"class":671,"line":826},11,[828],{"type":208,"tag":669,"props":829,"children":830},{"style":681},[831],{"type":213,"value":832},"  }\n",{"type":208,"tag":669,"props":834,"children":836},{"class":671,"line":835},12,[837],{"type":208,"tag":669,"props":838,"children":839},{"style":681},[840],{"type":213,"value":841},"},\n",{"type":208,"tag":843,"props":844,"children":845},"style",{},[846],{"type":213,"value":847},"html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}",{"title":6,"searchDepth":235,"depth":236,"links":849},[],"adyen:integrations:adyen:_partials:custom-adyen-client-params.md","integrations/adyen/_partials/custom-adyen-client-params.md","integrations/adyen/_partials/custom-adyen-client-params",{"_path":854,"_dir":542,"_draft":7,"_partial":8,"_locale":6,"title":855,"description":856,"body":857,"_type":238,"_id":1360,"_source":265,"_file":1361,"_stem":1362,"_extension":242,"layout":203},"/integrations/adyen/_partials/redirect-back","Redirect Back","When user comes back from redirect based payment method they land on our /redirectBack endpoint. There we submits additional information related to performed payment and redirects where onRedirectBack function told us to.",{"type":205,"children":858,"toc":1358},[859,880,892,1335,1354],{"type":208,"tag":215,"props":860,"children":861},{},[862,864,870,872,878],{"type":213,"value":863},"When user comes back from redirect based payment method they land on our ",{"type":208,"tag":633,"props":865,"children":867},{"className":866},[],[868],{"type":213,"value":869},"/redirectBack",{"type":213,"value":871}," endpoint. There we submits additional information related to performed payment and redirects where ",{"type":208,"tag":633,"props":873,"children":875},{"className":874},[],[876],{"type":213,"value":877},"onRedirectBack",{"type":213,"value":879}," function told us to.",{"type":208,"tag":215,"props":881,"children":882},{},[883,885,890],{"type":213,"value":884},"This is the body of default ",{"type":208,"tag":633,"props":886,"children":888},{"className":887},[],[889],{"type":213,"value":877},{"type":213,"value":891}," implementation:",{"type":208,"tag":659,"props":893,"children":895},{"className":661,"code":894,"language":663,"meta":6,"style":6},"// storefront-middleware/integrations/adyen/config.ts\nimport type { TOnRedirectBack } from \"@vsf-enterprise/adyen-commercetools-api\";\n\nconst onRedirectBack: TOnRedirectBack = async ({ config }, { ct }, cart) => {\n  const order = await ct.orders.create(cart);\n  const url = new URL(\n    `/order/success?orderId=${order.id}&redirect_status=succeeded`,\n    config.origin,\n  );\n  return url.toString();\n};\n\nexport const config = {\n  location: \"@vsf-enterprise/adyen-commercetools-api/server\",\n  configuration: {\n    // ...\n    onRedirectBack,\n  },\n};\n",[896],{"type":208,"tag":633,"props":897,"children":898},{"__ignoreMap":6},[899,907,950,958,1036,1095,1126,1167,1188,1196,1222,1230,1237,1264,1285,1297,1305,1318,1327],{"type":208,"tag":669,"props":900,"children":901},{"class":671,"line":672},[902],{"type":208,"tag":669,"props":903,"children":904},{"style":728},[905],{"type":213,"value":906},"// storefront-middleware/integrations/adyen/config.ts\n",{"type":208,"tag":669,"props":908,"children":909},{"class":671,"line":236},[910,915,920,925,930,935,940,945],{"type":208,"tag":669,"props":911,"children":912},{"style":762},[913],{"type":213,"value":914},"import",{"type":208,"tag":669,"props":916,"children":917},{"style":762},[918],{"type":213,"value":919}," type",{"type":208,"tag":669,"props":921,"children":922},{"style":681},[923],{"type":213,"value":924}," { ",{"type":208,"tag":669,"props":926,"children":927},{"style":676},[928],{"type":213,"value":929},"TOnRedirectBack",{"type":208,"tag":669,"props":931,"children":932},{"style":681},[933],{"type":213,"value":934}," } ",{"type":208,"tag":669,"props":936,"children":937},{"style":762},[938],{"type":213,"value":939},"from",{"type":208,"tag":669,"props":941,"children":942},{"style":700},[943],{"type":213,"value":944}," \"@vsf-enterprise/adyen-commercetools-api\"",{"type":208,"tag":669,"props":946,"children":947},{"style":681},[948],{"type":213,"value":949},";\n",{"type":208,"tag":669,"props":951,"children":952},{"class":671,"line":711},[953],{"type":208,"tag":669,"props":954,"children":955},{"emptyLinePlaceholder":8},[956],{"type":213,"value":957},"\n",{"type":208,"tag":669,"props":959,"children":960},{"class":671,"line":724},[961,966,971,975,980,986,991,996,1002,1007,1012,1017,1022,1027,1032],{"type":208,"tag":669,"props":962,"children":963},{"style":762},[964],{"type":213,"value":965},"const",{"type":208,"tag":669,"props":967,"children":968},{"style":737},[969],{"type":213,"value":970}," onRedirectBack",{"type":208,"tag":669,"props":972,"children":973},{"style":681},[974],{"type":213,"value":697},{"type":208,"tag":669,"props":976,"children":978},{"style":977},"--shiki-default:#E5C07B",[979],{"type":213,"value":929},{"type":208,"tag":669,"props":981,"children":983},{"style":982},"--shiki-default:#56B6C2",[984],{"type":213,"value":985}," =",{"type":208,"tag":669,"props":987,"children":988},{"style":762},[989],{"type":213,"value":990}," async",{"type":208,"tag":669,"props":992,"children":993},{"style":681},[994],{"type":213,"value":995}," ({ ",{"type":208,"tag":669,"props":997,"children":999},{"style":998},"--shiki-default:#E06C75;--shiki-default-font-style:italic",[1000],{"type":213,"value":1001},"config",{"type":208,"tag":669,"props":1003,"children":1004},{"style":681},[1005],{"type":213,"value":1006}," }, { ",{"type":208,"tag":669,"props":1008,"children":1009},{"style":998},[1010],{"type":213,"value":1011},"ct",{"type":208,"tag":669,"props":1013,"children":1014},{"style":681},[1015],{"type":213,"value":1016}," }, ",{"type":208,"tag":669,"props":1018,"children":1019},{"style":998},[1020],{"type":213,"value":1021},"cart",{"type":208,"tag":669,"props":1023,"children":1024},{"style":681},[1025],{"type":213,"value":1026},") ",{"type":208,"tag":669,"props":1028,"children":1029},{"style":762},[1030],{"type":213,"value":1031},"=>",{"type":208,"tag":669,"props":1033,"children":1034},{"style":681},[1035],{"type":213,"value":770},{"type":208,"tag":669,"props":1037,"children":1038},{"class":671,"line":235},[1039,1044,1049,1053,1058,1063,1068,1073,1077,1082,1086,1090],{"type":208,"tag":669,"props":1040,"children":1041},{"style":762},[1042],{"type":213,"value":1043},"  const",{"type":208,"tag":669,"props":1045,"children":1046},{"style":977},[1047],{"type":213,"value":1048}," order",{"type":208,"tag":669,"props":1050,"children":1051},{"style":982},[1052],{"type":213,"value":985},{"type":208,"tag":669,"props":1054,"children":1055},{"style":762},[1056],{"type":213,"value":1057}," await",{"type":208,"tag":669,"props":1059,"children":1060},{"style":977},[1061],{"type":213,"value":1062}," ct",{"type":208,"tag":669,"props":1064,"children":1065},{"style":681},[1066],{"type":213,"value":1067},".",{"type":208,"tag":669,"props":1069,"children":1070},{"style":977},[1071],{"type":213,"value":1072},"orders",{"type":208,"tag":669,"props":1074,"children":1075},{"style":681},[1076],{"type":213,"value":1067},{"type":208,"tag":669,"props":1078,"children":1079},{"style":737},[1080],{"type":213,"value":1081},"create",{"type":208,"tag":669,"props":1083,"children":1084},{"style":681},[1085],{"type":213,"value":745},{"type":208,"tag":669,"props":1087,"children":1088},{"style":676},[1089],{"type":213,"value":1021},{"type":208,"tag":669,"props":1091,"children":1092},{"style":681},[1093],{"type":213,"value":1094},");\n",{"type":208,"tag":669,"props":1096,"children":1097},{"class":671,"line":758},[1098,1102,1107,1111,1116,1121],{"type":208,"tag":669,"props":1099,"children":1100},{"style":762},[1101],{"type":213,"value":1043},{"type":208,"tag":669,"props":1103,"children":1104},{"style":977},[1105],{"type":213,"value":1106}," url",{"type":208,"tag":669,"props":1108,"children":1109},{"style":982},[1110],{"type":213,"value":985},{"type":208,"tag":669,"props":1112,"children":1113},{"style":762},[1114],{"type":213,"value":1115}," new",{"type":208,"tag":669,"props":1117,"children":1118},{"style":737},[1119],{"type":213,"value":1120}," URL",{"type":208,"tag":669,"props":1122,"children":1123},{"style":681},[1124],{"type":213,"value":1125},"(\n",{"type":208,"tag":669,"props":1127,"children":1128},{"class":671,"line":773},[1129,1134,1139,1144,1148,1153,1158,1163],{"type":208,"tag":669,"props":1130,"children":1131},{"style":700},[1132],{"type":213,"value":1133},"    `/order/success?orderId=",{"type":208,"tag":669,"props":1135,"children":1136},{"style":762},[1137],{"type":213,"value":1138},"${",{"type":208,"tag":669,"props":1140,"children":1141},{"style":977},[1142],{"type":213,"value":1143},"order",{"type":208,"tag":669,"props":1145,"children":1146},{"style":681},[1147],{"type":213,"value":1067},{"type":208,"tag":669,"props":1149,"children":1150},{"style":676},[1151],{"type":213,"value":1152},"id",{"type":208,"tag":669,"props":1154,"children":1155},{"style":762},[1156],{"type":213,"value":1157},"}",{"type":208,"tag":669,"props":1159,"children":1160},{"style":700},[1161],{"type":213,"value":1162},"&redirect_status=succeeded`",{"type":208,"tag":669,"props":1164,"children":1165},{"style":681},[1166],{"type":213,"value":708},{"type":208,"tag":669,"props":1168,"children":1169},{"class":671,"line":790},[1170,1175,1179,1184],{"type":208,"tag":669,"props":1171,"children":1172},{"style":977},[1173],{"type":213,"value":1174},"    config",{"type":208,"tag":669,"props":1176,"children":1177},{"style":681},[1178],{"type":213,"value":1067},{"type":208,"tag":669,"props":1180,"children":1181},{"style":676},[1182],{"type":213,"value":1183},"origin",{"type":208,"tag":669,"props":1185,"children":1186},{"style":681},[1187],{"type":213,"value":708},{"type":208,"tag":669,"props":1189,"children":1190},{"class":671,"line":808},[1191],{"type":208,"tag":669,"props":1192,"children":1193},{"style":681},[1194],{"type":213,"value":1195},"  );\n",{"type":208,"tag":669,"props":1197,"children":1198},{"class":671,"line":817},[1199,1204,1208,1212,1217],{"type":208,"tag":669,"props":1200,"children":1201},{"style":762},[1202],{"type":213,"value":1203},"  return",{"type":208,"tag":669,"props":1205,"children":1206},{"style":977},[1207],{"type":213,"value":1106},{"type":208,"tag":669,"props":1209,"children":1210},{"style":681},[1211],{"type":213,"value":1067},{"type":208,"tag":669,"props":1213,"children":1214},{"style":737},[1215],{"type":213,"value":1216},"toString",{"type":208,"tag":669,"props":1218,"children":1219},{"style":681},[1220],{"type":213,"value":1221},"();\n",{"type":208,"tag":669,"props":1223,"children":1224},{"class":671,"line":826},[1225],{"type":208,"tag":669,"props":1226,"children":1227},{"style":681},[1228],{"type":213,"value":1229},"};\n",{"type":208,"tag":669,"props":1231,"children":1232},{"class":671,"line":835},[1233],{"type":208,"tag":669,"props":1234,"children":1235},{"emptyLinePlaceholder":8},[1236],{"type":213,"value":957},{"type":208,"tag":669,"props":1238,"children":1240},{"class":671,"line":1239},13,[1241,1246,1251,1256,1260],{"type":208,"tag":669,"props":1242,"children":1243},{"style":762},[1244],{"type":213,"value":1245},"export",{"type":208,"tag":669,"props":1247,"children":1248},{"style":762},[1249],{"type":213,"value":1250}," const",{"type":208,"tag":669,"props":1252,"children":1253},{"style":977},[1254],{"type":213,"value":1255}," config",{"type":208,"tag":669,"props":1257,"children":1258},{"style":982},[1259],{"type":213,"value":985},{"type":208,"tag":669,"props":1261,"children":1262},{"style":681},[1263],{"type":213,"value":770},{"type":208,"tag":669,"props":1265,"children":1267},{"class":671,"line":1266},14,[1268,1272,1276,1281],{"type":208,"tag":669,"props":1269,"children":1270},{"style":676},[1271],{"type":213,"value":692},{"type":208,"tag":669,"props":1273,"children":1274},{"style":681},[1275],{"type":213,"value":697},{"type":208,"tag":669,"props":1277,"children":1278},{"style":700},[1279],{"type":213,"value":1280},"\"@vsf-enterprise/adyen-commercetools-api/server\"",{"type":208,"tag":669,"props":1282,"children":1283},{"style":681},[1284],{"type":213,"value":708},{"type":208,"tag":669,"props":1286,"children":1288},{"class":671,"line":1287},15,[1289,1293],{"type":208,"tag":669,"props":1290,"children":1291},{"style":676},[1292],{"type":213,"value":717},{"type":208,"tag":669,"props":1294,"children":1295},{"style":681},[1296],{"type":213,"value":684},{"type":208,"tag":669,"props":1298,"children":1300},{"class":671,"line":1299},16,[1301],{"type":208,"tag":669,"props":1302,"children":1303},{"style":728},[1304],{"type":213,"value":731},{"type":208,"tag":669,"props":1306,"children":1308},{"class":671,"line":1307},17,[1309,1314],{"type":208,"tag":669,"props":1310,"children":1311},{"style":676},[1312],{"type":213,"value":1313},"    onRedirectBack",{"type":208,"tag":669,"props":1315,"children":1316},{"style":681},[1317],{"type":213,"value":708},{"type":208,"tag":669,"props":1319,"children":1321},{"class":671,"line":1320},18,[1322],{"type":208,"tag":669,"props":1323,"children":1324},{"style":681},[1325],{"type":213,"value":1326},"  },\n",{"type":208,"tag":669,"props":1328,"children":1330},{"class":671,"line":1329},19,[1331],{"type":208,"tag":669,"props":1332,"children":1333},{"style":681},[1334],{"type":213,"value":1229},{"type":208,"tag":215,"props":1336,"children":1337},{},[1338,1340,1345,1347,1353],{"type":213,"value":1339},"Feel free to adjust it and register own implementation using ",{"type":208,"tag":633,"props":1341,"children":1343},{"className":1342},[],[1344],{"type":213,"value":877},{"type":213,"value":1346}," property in ",{"type":208,"tag":633,"props":1348,"children":1350},{"className":1349},[],[1351],{"type":213,"value":1352},"storefront-middleware/integrations/adyen/config.ts",{"type":213,"value":1067},{"type":208,"tag":843,"props":1355,"children":1356},{},[1357],{"type":213,"value":847},{"title":6,"searchDepth":235,"depth":236,"links":1359},[],"adyen:integrations:adyen:_partials:redirect-back.md","integrations/adyen/_partials/redirect-back.md","integrations/adyen/_partials/redirect-back",{"_path":1364,"_dir":542,"_draft":7,"_partial":8,"_locale":6,"title":1365,"description":1366,"body":1367,"_type":238,"_id":2616,"_source":265,"_file":2617,"_stem":2618,"_extension":242,"layout":203},"/integrations/adyen/_partials/extend-ct-order-type","Extend Ct Order Type","In commercetools, a cart and an order share a single type because at some point cart is transformed to the order. The name of the shared type is order. We are going to extend this shared type because...",{"type":205,"children":1368,"toc":2613},[1369,1381,1386,1391,1413,1472,2479,2487,2494,2523,2609],{"type":208,"tag":215,"props":1370,"children":1371},{},[1372,1374,1379],{"type":213,"value":1373},"In commercetools, a cart and an order share a single type because at some point cart is transformed to the order. The name of the shared type is ",{"type":208,"tag":633,"props":1375,"children":1377},{"className":1376},[],[1378],{"type":213,"value":1143},{"type":213,"value":1380},". We are going to extend this shared type because...",{"type":208,"tag":215,"props":1382,"children":1383},{},[1384],{"type":213,"value":1385},"Adyen creates a wrapper for payment partials. To make it accessible after refresh of website or outside of user's session, we had to store it somewhere. Our pick is an extended commercetools' order type.",{"type":208,"tag":215,"props":1387,"children":1388},{},[1389],{"type":213,"value":1390},"Fortunately, you do not need to create every cart using this type, we will convert type of the cart when it's necessary (making partial payment).",{"type":208,"tag":215,"props":1392,"children":1393},{},[1394,1396,1403,1405,1411],{"type":213,"value":1395},"In order to register extended order type, use the ",{"type":208,"tag":572,"props":1397,"children":1400},{"href":1398,"rel":1399},"https://docs.commercetools.com/api/projects/types#create-type",[576],[1401],{"type":213,"value":1402},"commercetools API",{"type":213,"value":1404}," directly or the ",{"type":208,"tag":1406,"props":1407,"children":1408},"strong",{},[1409],{"type":213,"value":1410},"HTTP API Playground",{"type":213,"value":1412}," in the Merchant Center:",{"type":208,"tag":1414,"props":1415,"children":1416},"ol",{},[1417,1431,1443],{"type":208,"tag":556,"props":1418,"children":1419},{},[1420,1422,1429],{"type":213,"value":1421},"Open the ",{"type":208,"tag":572,"props":1423,"children":1426},{"href":1424,"rel":1425},"https://mc.commercetools.com/",[576],[1427],{"type":213,"value":1428},"Merchant Center",{"type":213,"value":1430}," and navigate to your project,",{"type":208,"tag":556,"props":1432,"children":1433},{},[1434,1436,1441],{"type":213,"value":1435},"Go to ",{"type":208,"tag":1406,"props":1437,"children":1438},{},[1439],{"type":213,"value":1440},"Settings → Developer settings → HTTP API Playground",{"type":213,"value":1442},",",{"type":208,"tag":556,"props":1444,"children":1445},{},[1446,1448,1454,1456,1462,1464,1470],{"type":213,"value":1447},"Set the request to ",{"type":208,"tag":633,"props":1449,"children":1451},{"className":1450},[],[1452],{"type":213,"value":1453},"POST",{"type":213,"value":1455}," against the ",{"type":208,"tag":633,"props":1457,"children":1459},{"className":1458},[],[1460],{"type":213,"value":1461},"Types",{"type":213,"value":1463}," endpoint, specify command ",{"type":208,"tag":633,"props":1465,"children":1467},{"className":1466},[],[1468],{"type":213,"value":1469},"Create Type",{"type":213,"value":1471}," and use the following payload:",{"type":208,"tag":659,"props":1473,"children":1477},{"className":1474,"code":1475,"language":1476,"meta":6,"style":6},"language-json shiki shiki-themes one-dark-pro","{\n  \"key\": \"ctcart-adyen-integration\",\n  \"name\": {\n    \"en\": \"commercetools Adyen integration cart custom type to support partial payments\"\n  },\n  \"resourceTypeIds\": [\"order\"],\n  \"fieldDefinitions\": [\n    {\n      \"name\": \"adyenOrderData\",\n      \"label\": {\n        \"en\": \"adyenOrderData\"\n      },\n      \"type\": {\n        \"name\": \"String\"\n      },\n      \"inputHint\": \"SingleLine\",\n      \"required\": false\n    },\n    {\n      \"name\": \"adyenOrderPspReference\",\n      \"label\": {\n        \"en\": \"adyenOrderPspReference\"\n      },\n      \"type\": {\n        \"name\": \"String\"\n      },\n      \"inputHint\": \"SingleLine\",\n      \"required\": false\n    },\n    {\n      \"name\": \"adyenOrderRemainingAmountValue\",\n      \"label\": {\n        \"en\": \"adyenOrderRemainingAmountValue\"\n      },\n      \"type\": {\n        \"name\": \"Number\"\n      },\n      \"inputHint\": \"SingleLine\",\n      \"required\": false\n    },\n    {\n      \"name\": \"adyenOrderRemainingAmountCurrency\",\n      \"label\": {\n        \"en\": \"adyenOrderRemainingAmountCurrency\"\n      },\n      \"type\": {\n        \"name\": \"String\"\n      },\n      \"inputHint\": \"SingleLine\",\n      \"required\": false\n    },\n    {\n      \"name\": \"adyenOrderTotalAmountValue\",\n      \"label\": {\n        \"en\": \"adyenOrderTotalAmountValue\"\n      },\n      \"type\": {\n        \"name\": \"Number\"\n      },\n      \"inputHint\": \"SingleLine\",\n      \"required\": false\n    },\n    {\n      \"name\": \"adyenOrderTotalAmountCurrency\",\n      \"label\": {\n        \"en\": \"adyenOrderTotalAmountCurrency\"\n      },\n      \"type\": {\n        \"name\": \"String\"\n      },\n      \"inputHint\": \"SingleLine\",\n      \"required\": false\n    }\n  ]\n}\n","json",[1478],{"type":208,"tag":633,"props":1479,"children":1480},{"__ignoreMap":6},[1481,1489,1510,1522,1539,1546,1569,1582,1590,1611,1623,1640,1648,1660,1677,1684,1705,1723,1731,1738,1759,1771,1788,1796,1808,1824,1832,1852,1868,1876,1884,1905,1917,1934,1942,1954,1971,1979,1999,2015,2023,2031,2052,2064,2081,2089,2101,2117,2125,2145,2161,2169,2177,2198,2210,2227,2235,2247,2263,2271,2291,2307,2315,2323,2344,2356,2373,2381,2393,2409,2417,2437,2453,2461,2470],{"type":208,"tag":669,"props":1482,"children":1483},{"class":671,"line":672},[1484],{"type":208,"tag":669,"props":1485,"children":1486},{"style":681},[1487],{"type":213,"value":1488},"{\n",{"type":208,"tag":669,"props":1490,"children":1491},{"class":671,"line":236},[1492,1497,1501,1506],{"type":208,"tag":669,"props":1493,"children":1494},{"style":676},[1495],{"type":213,"value":1496},"  \"key\"",{"type":208,"tag":669,"props":1498,"children":1499},{"style":681},[1500],{"type":213,"value":697},{"type":208,"tag":669,"props":1502,"children":1503},{"style":700},[1504],{"type":213,"value":1505},"\"ctcart-adyen-integration\"",{"type":208,"tag":669,"props":1507,"children":1508},{"style":681},[1509],{"type":213,"value":708},{"type":208,"tag":669,"props":1511,"children":1512},{"class":671,"line":711},[1513,1518],{"type":208,"tag":669,"props":1514,"children":1515},{"style":676},[1516],{"type":213,"value":1517},"  \"name\"",{"type":208,"tag":669,"props":1519,"children":1520},{"style":681},[1521],{"type":213,"value":684},{"type":208,"tag":669,"props":1523,"children":1524},{"class":671,"line":724},[1525,1530,1534],{"type":208,"tag":669,"props":1526,"children":1527},{"style":676},[1528],{"type":213,"value":1529},"    \"en\"",{"type":208,"tag":669,"props":1531,"children":1532},{"style":681},[1533],{"type":213,"value":697},{"type":208,"tag":669,"props":1535,"children":1536},{"style":700},[1537],{"type":213,"value":1538},"\"commercetools Adyen integration cart custom type to support partial payments\"\n",{"type":208,"tag":669,"props":1540,"children":1541},{"class":671,"line":235},[1542],{"type":208,"tag":669,"props":1543,"children":1544},{"style":681},[1545],{"type":213,"value":1326},{"type":208,"tag":669,"props":1547,"children":1548},{"class":671,"line":758},[1549,1554,1559,1564],{"type":208,"tag":669,"props":1550,"children":1551},{"style":676},[1552],{"type":213,"value":1553},"  \"resourceTypeIds\"",{"type":208,"tag":669,"props":1555,"children":1556},{"style":681},[1557],{"type":213,"value":1558},": [",{"type":208,"tag":669,"props":1560,"children":1561},{"style":700},[1562],{"type":213,"value":1563},"\"order\"",{"type":208,"tag":669,"props":1565,"children":1566},{"style":681},[1567],{"type":213,"value":1568},"],\n",{"type":208,"tag":669,"props":1570,"children":1571},{"class":671,"line":773},[1572,1577],{"type":208,"tag":669,"props":1573,"children":1574},{"style":676},[1575],{"type":213,"value":1576},"  \"fieldDefinitions\"",{"type":208,"tag":669,"props":1578,"children":1579},{"style":681},[1580],{"type":213,"value":1581},": [\n",{"type":208,"tag":669,"props":1583,"children":1584},{"class":671,"line":790},[1585],{"type":208,"tag":669,"props":1586,"children":1587},{"style":681},[1588],{"type":213,"value":1589},"    {\n",{"type":208,"tag":669,"props":1591,"children":1592},{"class":671,"line":808},[1593,1598,1602,1607],{"type":208,"tag":669,"props":1594,"children":1595},{"style":676},[1596],{"type":213,"value":1597},"      \"name\"",{"type":208,"tag":669,"props":1599,"children":1600},{"style":681},[1601],{"type":213,"value":697},{"type":208,"tag":669,"props":1603,"children":1604},{"style":700},[1605],{"type":213,"value":1606},"\"adyenOrderData\"",{"type":208,"tag":669,"props":1608,"children":1609},{"style":681},[1610],{"type":213,"value":708},{"type":208,"tag":669,"props":1612,"children":1613},{"class":671,"line":817},[1614,1619],{"type":208,"tag":669,"props":1615,"children":1616},{"style":676},[1617],{"type":213,"value":1618},"      \"label\"",{"type":208,"tag":669,"props":1620,"children":1621},{"style":681},[1622],{"type":213,"value":684},{"type":208,"tag":669,"props":1624,"children":1625},{"class":671,"line":826},[1626,1631,1635],{"type":208,"tag":669,"props":1627,"children":1628},{"style":676},[1629],{"type":213,"value":1630},"        \"en\"",{"type":208,"tag":669,"props":1632,"children":1633},{"style":681},[1634],{"type":213,"value":697},{"type":208,"tag":669,"props":1636,"children":1637},{"style":700},[1638],{"type":213,"value":1639},"\"adyenOrderData\"\n",{"type":208,"tag":669,"props":1641,"children":1642},{"class":671,"line":835},[1643],{"type":208,"tag":669,"props":1644,"children":1645},{"style":681},[1646],{"type":213,"value":1647},"      },\n",{"type":208,"tag":669,"props":1649,"children":1650},{"class":671,"line":1239},[1651,1656],{"type":208,"tag":669,"props":1652,"children":1653},{"style":676},[1654],{"type":213,"value":1655},"      \"type\"",{"type":208,"tag":669,"props":1657,"children":1658},{"style":681},[1659],{"type":213,"value":684},{"type":208,"tag":669,"props":1661,"children":1662},{"class":671,"line":1266},[1663,1668,1672],{"type":208,"tag":669,"props":1664,"children":1665},{"style":676},[1666],{"type":213,"value":1667},"        \"name\"",{"type":208,"tag":669,"props":1669,"children":1670},{"style":681},[1671],{"type":213,"value":697},{"type":208,"tag":669,"props":1673,"children":1674},{"style":700},[1675],{"type":213,"value":1676},"\"String\"\n",{"type":208,"tag":669,"props":1678,"children":1679},{"class":671,"line":1287},[1680],{"type":208,"tag":669,"props":1681,"children":1682},{"style":681},[1683],{"type":213,"value":1647},{"type":208,"tag":669,"props":1685,"children":1686},{"class":671,"line":1299},[1687,1692,1696,1701],{"type":208,"tag":669,"props":1688,"children":1689},{"style":676},[1690],{"type":213,"value":1691},"      \"inputHint\"",{"type":208,"tag":669,"props":1693,"children":1694},{"style":681},[1695],{"type":213,"value":697},{"type":208,"tag":669,"props":1697,"children":1698},{"style":700},[1699],{"type":213,"value":1700},"\"SingleLine\"",{"type":208,"tag":669,"props":1702,"children":1703},{"style":681},[1704],{"type":213,"value":708},{"type":208,"tag":669,"props":1706,"children":1707},{"class":671,"line":1307},[1708,1713,1717],{"type":208,"tag":669,"props":1709,"children":1710},{"style":676},[1711],{"type":213,"value":1712},"      \"required\"",{"type":208,"tag":669,"props":1714,"children":1715},{"style":681},[1716],{"type":213,"value":697},{"type":208,"tag":669,"props":1718,"children":1720},{"style":1719},"--shiki-default:#D19A66",[1721],{"type":213,"value":1722},"false\n",{"type":208,"tag":669,"props":1724,"children":1725},{"class":671,"line":1320},[1726],{"type":208,"tag":669,"props":1727,"children":1728},{"style":681},[1729],{"type":213,"value":1730},"    },\n",{"type":208,"tag":669,"props":1732,"children":1733},{"class":671,"line":1329},[1734],{"type":208,"tag":669,"props":1735,"children":1736},{"style":681},[1737],{"type":213,"value":1589},{"type":208,"tag":669,"props":1739,"children":1741},{"class":671,"line":1740},20,[1742,1746,1750,1755],{"type":208,"tag":669,"props":1743,"children":1744},{"style":676},[1745],{"type":213,"value":1597},{"type":208,"tag":669,"props":1747,"children":1748},{"style":681},[1749],{"type":213,"value":697},{"type":208,"tag":669,"props":1751,"children":1752},{"style":700},[1753],{"type":213,"value":1754},"\"adyenOrderPspReference\"",{"type":208,"tag":669,"props":1756,"children":1757},{"style":681},[1758],{"type":213,"value":708},{"type":208,"tag":669,"props":1760,"children":1762},{"class":671,"line":1761},21,[1763,1767],{"type":208,"tag":669,"props":1764,"children":1765},{"style":676},[1766],{"type":213,"value":1618},{"type":208,"tag":669,"props":1768,"children":1769},{"style":681},[1770],{"type":213,"value":684},{"type":208,"tag":669,"props":1772,"children":1774},{"class":671,"line":1773},22,[1775,1779,1783],{"type":208,"tag":669,"props":1776,"children":1777},{"style":676},[1778],{"type":213,"value":1630},{"type":208,"tag":669,"props":1780,"children":1781},{"style":681},[1782],{"type":213,"value":697},{"type":208,"tag":669,"props":1784,"children":1785},{"style":700},[1786],{"type":213,"value":1787},"\"adyenOrderPspReference\"\n",{"type":208,"tag":669,"props":1789,"children":1791},{"class":671,"line":1790},23,[1792],{"type":208,"tag":669,"props":1793,"children":1794},{"style":681},[1795],{"type":213,"value":1647},{"type":208,"tag":669,"props":1797,"children":1799},{"class":671,"line":1798},24,[1800,1804],{"type":208,"tag":669,"props":1801,"children":1802},{"style":676},[1803],{"type":213,"value":1655},{"type":208,"tag":669,"props":1805,"children":1806},{"style":681},[1807],{"type":213,"value":684},{"type":208,"tag":669,"props":1809,"children":1811},{"class":671,"line":1810},25,[1812,1816,1820],{"type":208,"tag":669,"props":1813,"children":1814},{"style":676},[1815],{"type":213,"value":1667},{"type":208,"tag":669,"props":1817,"children":1818},{"style":681},[1819],{"type":213,"value":697},{"type":208,"tag":669,"props":1821,"children":1822},{"style":700},[1823],{"type":213,"value":1676},{"type":208,"tag":669,"props":1825,"children":1827},{"class":671,"line":1826},26,[1828],{"type":208,"tag":669,"props":1829,"children":1830},{"style":681},[1831],{"type":213,"value":1647},{"type":208,"tag":669,"props":1833,"children":1835},{"class":671,"line":1834},27,[1836,1840,1844,1848],{"type":208,"tag":669,"props":1837,"children":1838},{"style":676},[1839],{"type":213,"value":1691},{"type":208,"tag":669,"props":1841,"children":1842},{"style":681},[1843],{"type":213,"value":697},{"type":208,"tag":669,"props":1845,"children":1846},{"style":700},[1847],{"type":213,"value":1700},{"type":208,"tag":669,"props":1849,"children":1850},{"style":681},[1851],{"type":213,"value":708},{"type":208,"tag":669,"props":1853,"children":1855},{"class":671,"line":1854},28,[1856,1860,1864],{"type":208,"tag":669,"props":1857,"children":1858},{"style":676},[1859],{"type":213,"value":1712},{"type":208,"tag":669,"props":1861,"children":1862},{"style":681},[1863],{"type":213,"value":697},{"type":208,"tag":669,"props":1865,"children":1866},{"style":1719},[1867],{"type":213,"value":1722},{"type":208,"tag":669,"props":1869,"children":1871},{"class":671,"line":1870},29,[1872],{"type":208,"tag":669,"props":1873,"children":1874},{"style":681},[1875],{"type":213,"value":1730},{"type":208,"tag":669,"props":1877,"children":1879},{"class":671,"line":1878},30,[1880],{"type":208,"tag":669,"props":1881,"children":1882},{"style":681},[1883],{"type":213,"value":1589},{"type":208,"tag":669,"props":1885,"children":1887},{"class":671,"line":1886},31,[1888,1892,1896,1901],{"type":208,"tag":669,"props":1889,"children":1890},{"style":676},[1891],{"type":213,"value":1597},{"type":208,"tag":669,"props":1893,"children":1894},{"style":681},[1895],{"type":213,"value":697},{"type":208,"tag":669,"props":1897,"children":1898},{"style":700},[1899],{"type":213,"value":1900},"\"adyenOrderRemainingAmountValue\"",{"type":208,"tag":669,"props":1902,"children":1903},{"style":681},[1904],{"type":213,"value":708},{"type":208,"tag":669,"props":1906,"children":1908},{"class":671,"line":1907},32,[1909,1913],{"type":208,"tag":669,"props":1910,"children":1911},{"style":676},[1912],{"type":213,"value":1618},{"type":208,"tag":669,"props":1914,"children":1915},{"style":681},[1916],{"type":213,"value":684},{"type":208,"tag":669,"props":1918,"children":1920},{"class":671,"line":1919},33,[1921,1925,1929],{"type":208,"tag":669,"props":1922,"children":1923},{"style":676},[1924],{"type":213,"value":1630},{"type":208,"tag":669,"props":1926,"children":1927},{"style":681},[1928],{"type":213,"value":697},{"type":208,"tag":669,"props":1930,"children":1931},{"style":700},[1932],{"type":213,"value":1933},"\"adyenOrderRemainingAmountValue\"\n",{"type":208,"tag":669,"props":1935,"children":1937},{"class":671,"line":1936},34,[1938],{"type":208,"tag":669,"props":1939,"children":1940},{"style":681},[1941],{"type":213,"value":1647},{"type":208,"tag":669,"props":1943,"children":1945},{"class":671,"line":1944},35,[1946,1950],{"type":208,"tag":669,"props":1947,"children":1948},{"style":676},[1949],{"type":213,"value":1655},{"type":208,"tag":669,"props":1951,"children":1952},{"style":681},[1953],{"type":213,"value":684},{"type":208,"tag":669,"props":1955,"children":1957},{"class":671,"line":1956},36,[1958,1962,1966],{"type":208,"tag":669,"props":1959,"children":1960},{"style":676},[1961],{"type":213,"value":1667},{"type":208,"tag":669,"props":1963,"children":1964},{"style":681},[1965],{"type":213,"value":697},{"type":208,"tag":669,"props":1967,"children":1968},{"style":700},[1969],{"type":213,"value":1970},"\"Number\"\n",{"type":208,"tag":669,"props":1972,"children":1974},{"class":671,"line":1973},37,[1975],{"type":208,"tag":669,"props":1976,"children":1977},{"style":681},[1978],{"type":213,"value":1647},{"type":208,"tag":669,"props":1980,"children":1982},{"class":671,"line":1981},38,[1983,1987,1991,1995],{"type":208,"tag":669,"props":1984,"children":1985},{"style":676},[1986],{"type":213,"value":1691},{"type":208,"tag":669,"props":1988,"children":1989},{"style":681},[1990],{"type":213,"value":697},{"type":208,"tag":669,"props":1992,"children":1993},{"style":700},[1994],{"type":213,"value":1700},{"type":208,"tag":669,"props":1996,"children":1997},{"style":681},[1998],{"type":213,"value":708},{"type":208,"tag":669,"props":2000,"children":2002},{"class":671,"line":2001},39,[2003,2007,2011],{"type":208,"tag":669,"props":2004,"children":2005},{"style":676},[2006],{"type":213,"value":1712},{"type":208,"tag":669,"props":2008,"children":2009},{"style":681},[2010],{"type":213,"value":697},{"type":208,"tag":669,"props":2012,"children":2013},{"style":1719},[2014],{"type":213,"value":1722},{"type":208,"tag":669,"props":2016,"children":2018},{"class":671,"line":2017},40,[2019],{"type":208,"tag":669,"props":2020,"children":2021},{"style":681},[2022],{"type":213,"value":1730},{"type":208,"tag":669,"props":2024,"children":2026},{"class":671,"line":2025},41,[2027],{"type":208,"tag":669,"props":2028,"children":2029},{"style":681},[2030],{"type":213,"value":1589},{"type":208,"tag":669,"props":2032,"children":2034},{"class":671,"line":2033},42,[2035,2039,2043,2048],{"type":208,"tag":669,"props":2036,"children":2037},{"style":676},[2038],{"type":213,"value":1597},{"type":208,"tag":669,"props":2040,"children":2041},{"style":681},[2042],{"type":213,"value":697},{"type":208,"tag":669,"props":2044,"children":2045},{"style":700},[2046],{"type":213,"value":2047},"\"adyenOrderRemainingAmountCurrency\"",{"type":208,"tag":669,"props":2049,"children":2050},{"style":681},[2051],{"type":213,"value":708},{"type":208,"tag":669,"props":2053,"children":2055},{"class":671,"line":2054},43,[2056,2060],{"type":208,"tag":669,"props":2057,"children":2058},{"style":676},[2059],{"type":213,"value":1618},{"type":208,"tag":669,"props":2061,"children":2062},{"style":681},[2063],{"type":213,"value":684},{"type":208,"tag":669,"props":2065,"children":2067},{"class":671,"line":2066},44,[2068,2072,2076],{"type":208,"tag":669,"props":2069,"children":2070},{"style":676},[2071],{"type":213,"value":1630},{"type":208,"tag":669,"props":2073,"children":2074},{"style":681},[2075],{"type":213,"value":697},{"type":208,"tag":669,"props":2077,"children":2078},{"style":700},[2079],{"type":213,"value":2080},"\"adyenOrderRemainingAmountCurrency\"\n",{"type":208,"tag":669,"props":2082,"children":2084},{"class":671,"line":2083},45,[2085],{"type":208,"tag":669,"props":2086,"children":2087},{"style":681},[2088],{"type":213,"value":1647},{"type":208,"tag":669,"props":2090,"children":2092},{"class":671,"line":2091},46,[2093,2097],{"type":208,"tag":669,"props":2094,"children":2095},{"style":676},[2096],{"type":213,"value":1655},{"type":208,"tag":669,"props":2098,"children":2099},{"style":681},[2100],{"type":213,"value":684},{"type":208,"tag":669,"props":2102,"children":2104},{"class":671,"line":2103},47,[2105,2109,2113],{"type":208,"tag":669,"props":2106,"children":2107},{"style":676},[2108],{"type":213,"value":1667},{"type":208,"tag":669,"props":2110,"children":2111},{"style":681},[2112],{"type":213,"value":697},{"type":208,"tag":669,"props":2114,"children":2115},{"style":700},[2116],{"type":213,"value":1676},{"type":208,"tag":669,"props":2118,"children":2120},{"class":671,"line":2119},48,[2121],{"type":208,"tag":669,"props":2122,"children":2123},{"style":681},[2124],{"type":213,"value":1647},{"type":208,"tag":669,"props":2126,"children":2128},{"class":671,"line":2127},49,[2129,2133,2137,2141],{"type":208,"tag":669,"props":2130,"children":2131},{"style":676},[2132],{"type":213,"value":1691},{"type":208,"tag":669,"props":2134,"children":2135},{"style":681},[2136],{"type":213,"value":697},{"type":208,"tag":669,"props":2138,"children":2139},{"style":700},[2140],{"type":213,"value":1700},{"type":208,"tag":669,"props":2142,"children":2143},{"style":681},[2144],{"type":213,"value":708},{"type":208,"tag":669,"props":2146,"children":2148},{"class":671,"line":2147},50,[2149,2153,2157],{"type":208,"tag":669,"props":2150,"children":2151},{"style":676},[2152],{"type":213,"value":1712},{"type":208,"tag":669,"props":2154,"children":2155},{"style":681},[2156],{"type":213,"value":697},{"type":208,"tag":669,"props":2158,"children":2159},{"style":1719},[2160],{"type":213,"value":1722},{"type":208,"tag":669,"props":2162,"children":2164},{"class":671,"line":2163},51,[2165],{"type":208,"tag":669,"props":2166,"children":2167},{"style":681},[2168],{"type":213,"value":1730},{"type":208,"tag":669,"props":2170,"children":2172},{"class":671,"line":2171},52,[2173],{"type":208,"tag":669,"props":2174,"children":2175},{"style":681},[2176],{"type":213,"value":1589},{"type":208,"tag":669,"props":2178,"children":2180},{"class":671,"line":2179},53,[2181,2185,2189,2194],{"type":208,"tag":669,"props":2182,"children":2183},{"style":676},[2184],{"type":213,"value":1597},{"type":208,"tag":669,"props":2186,"children":2187},{"style":681},[2188],{"type":213,"value":697},{"type":208,"tag":669,"props":2190,"children":2191},{"style":700},[2192],{"type":213,"value":2193},"\"adyenOrderTotalAmountValue\"",{"type":208,"tag":669,"props":2195,"children":2196},{"style":681},[2197],{"type":213,"value":708},{"type":208,"tag":669,"props":2199,"children":2201},{"class":671,"line":2200},54,[2202,2206],{"type":208,"tag":669,"props":2203,"children":2204},{"style":676},[2205],{"type":213,"value":1618},{"type":208,"tag":669,"props":2207,"children":2208},{"style":681},[2209],{"type":213,"value":684},{"type":208,"tag":669,"props":2211,"children":2213},{"class":671,"line":2212},55,[2214,2218,2222],{"type":208,"tag":669,"props":2215,"children":2216},{"style":676},[2217],{"type":213,"value":1630},{"type":208,"tag":669,"props":2219,"children":2220},{"style":681},[2221],{"type":213,"value":697},{"type":208,"tag":669,"props":2223,"children":2224},{"style":700},[2225],{"type":213,"value":2226},"\"adyenOrderTotalAmountValue\"\n",{"type":208,"tag":669,"props":2228,"children":2230},{"class":671,"line":2229},56,[2231],{"type":208,"tag":669,"props":2232,"children":2233},{"style":681},[2234],{"type":213,"value":1647},{"type":208,"tag":669,"props":2236,"children":2238},{"class":671,"line":2237},57,[2239,2243],{"type":208,"tag":669,"props":2240,"children":2241},{"style":676},[2242],{"type":213,"value":1655},{"type":208,"tag":669,"props":2244,"children":2245},{"style":681},[2246],{"type":213,"value":684},{"type":208,"tag":669,"props":2248,"children":2250},{"class":671,"line":2249},58,[2251,2255,2259],{"type":208,"tag":669,"props":2252,"children":2253},{"style":676},[2254],{"type":213,"value":1667},{"type":208,"tag":669,"props":2256,"children":2257},{"style":681},[2258],{"type":213,"value":697},{"type":208,"tag":669,"props":2260,"children":2261},{"style":700},[2262],{"type":213,"value":1970},{"type":208,"tag":669,"props":2264,"children":2266},{"class":671,"line":2265},59,[2267],{"type":208,"tag":669,"props":2268,"children":2269},{"style":681},[2270],{"type":213,"value":1647},{"type":208,"tag":669,"props":2272,"children":2274},{"class":671,"line":2273},60,[2275,2279,2283,2287],{"type":208,"tag":669,"props":2276,"children":2277},{"style":676},[2278],{"type":213,"value":1691},{"type":208,"tag":669,"props":2280,"children":2281},{"style":681},[2282],{"type":213,"value":697},{"type":208,"tag":669,"props":2284,"children":2285},{"style":700},[2286],{"type":213,"value":1700},{"type":208,"tag":669,"props":2288,"children":2289},{"style":681},[2290],{"type":213,"value":708},{"type":208,"tag":669,"props":2292,"children":2294},{"class":671,"line":2293},61,[2295,2299,2303],{"type":208,"tag":669,"props":2296,"children":2297},{"style":676},[2298],{"type":213,"value":1712},{"type":208,"tag":669,"props":2300,"children":2301},{"style":681},[2302],{"type":213,"value":697},{"type":208,"tag":669,"props":2304,"children":2305},{"style":1719},[2306],{"type":213,"value":1722},{"type":208,"tag":669,"props":2308,"children":2310},{"class":671,"line":2309},62,[2311],{"type":208,"tag":669,"props":2312,"children":2313},{"style":681},[2314],{"type":213,"value":1730},{"type":208,"tag":669,"props":2316,"children":2318},{"class":671,"line":2317},63,[2319],{"type":208,"tag":669,"props":2320,"children":2321},{"style":681},[2322],{"type":213,"value":1589},{"type":208,"tag":669,"props":2324,"children":2326},{"class":671,"line":2325},64,[2327,2331,2335,2340],{"type":208,"tag":669,"props":2328,"children":2329},{"style":676},[2330],{"type":213,"value":1597},{"type":208,"tag":669,"props":2332,"children":2333},{"style":681},[2334],{"type":213,"value":697},{"type":208,"tag":669,"props":2336,"children":2337},{"style":700},[2338],{"type":213,"value":2339},"\"adyenOrderTotalAmountCurrency\"",{"type":208,"tag":669,"props":2341,"children":2342},{"style":681},[2343],{"type":213,"value":708},{"type":208,"tag":669,"props":2345,"children":2347},{"class":671,"line":2346},65,[2348,2352],{"type":208,"tag":669,"props":2349,"children":2350},{"style":676},[2351],{"type":213,"value":1618},{"type":208,"tag":669,"props":2353,"children":2354},{"style":681},[2355],{"type":213,"value":684},{"type":208,"tag":669,"props":2357,"children":2359},{"class":671,"line":2358},66,[2360,2364,2368],{"type":208,"tag":669,"props":2361,"children":2362},{"style":676},[2363],{"type":213,"value":1630},{"type":208,"tag":669,"props":2365,"children":2366},{"style":681},[2367],{"type":213,"value":697},{"type":208,"tag":669,"props":2369,"children":2370},{"style":700},[2371],{"type":213,"value":2372},"\"adyenOrderTotalAmountCurrency\"\n",{"type":208,"tag":669,"props":2374,"children":2376},{"class":671,"line":2375},67,[2377],{"type":208,"tag":669,"props":2378,"children":2379},{"style":681},[2380],{"type":213,"value":1647},{"type":208,"tag":669,"props":2382,"children":2384},{"class":671,"line":2383},68,[2385,2389],{"type":208,"tag":669,"props":2386,"children":2387},{"style":676},[2388],{"type":213,"value":1655},{"type":208,"tag":669,"props":2390,"children":2391},{"style":681},[2392],{"type":213,"value":684},{"type":208,"tag":669,"props":2394,"children":2396},{"class":671,"line":2395},69,[2397,2401,2405],{"type":208,"tag":669,"props":2398,"children":2399},{"style":676},[2400],{"type":213,"value":1667},{"type":208,"tag":669,"props":2402,"children":2403},{"style":681},[2404],{"type":213,"value":697},{"type":208,"tag":669,"props":2406,"children":2407},{"style":700},[2408],{"type":213,"value":1676},{"type":208,"tag":669,"props":2410,"children":2412},{"class":671,"line":2411},70,[2413],{"type":208,"tag":669,"props":2414,"children":2415},{"style":681},[2416],{"type":213,"value":1647},{"type":208,"tag":669,"props":2418,"children":2420},{"class":671,"line":2419},71,[2421,2425,2429,2433],{"type":208,"tag":669,"props":2422,"children":2423},{"style":676},[2424],{"type":213,"value":1691},{"type":208,"tag":669,"props":2426,"children":2427},{"style":681},[2428],{"type":213,"value":697},{"type":208,"tag":669,"props":2430,"children":2431},{"style":700},[2432],{"type":213,"value":1700},{"type":208,"tag":669,"props":2434,"children":2435},{"style":681},[2436],{"type":213,"value":708},{"type":208,"tag":669,"props":2438,"children":2440},{"class":671,"line":2439},72,[2441,2445,2449],{"type":208,"tag":669,"props":2442,"children":2443},{"style":676},[2444],{"type":213,"value":1712},{"type":208,"tag":669,"props":2446,"children":2447},{"style":681},[2448],{"type":213,"value":697},{"type":208,"tag":669,"props":2450,"children":2451},{"style":1719},[2452],{"type":213,"value":1722},{"type":208,"tag":669,"props":2454,"children":2456},{"class":671,"line":2455},73,[2457],{"type":208,"tag":669,"props":2458,"children":2459},{"style":681},[2460],{"type":213,"value":823},{"type":208,"tag":669,"props":2462,"children":2464},{"class":671,"line":2463},74,[2465],{"type":208,"tag":669,"props":2466,"children":2467},{"style":681},[2468],{"type":213,"value":2469},"  ]\n",{"type":208,"tag":669,"props":2471,"children":2473},{"class":671,"line":2472},75,[2474],{"type":208,"tag":669,"props":2475,"children":2476},{"style":681},[2477],{"type":213,"value":2478},"}\n",{"type":208,"tag":1414,"props":2480,"children":2481},{"start":724},[2482],{"type":208,"tag":556,"props":2483,"children":2484},{},[2485],{"type":213,"value":2486},"Send the request.",{"type":208,"tag":2488,"props":2489,"children":2491},"h3",{"id":2490},"did-you-already-extended-commercetools-order-type",[2492],{"type":213,"value":2493},"Did you already extended commercetools' order type?",{"type":208,"tag":215,"props":2495,"children":2496},{},[2497,2499,2505,2507,2513,2515,2521],{"type":213,"value":2498},"It is possible that your application is already extending order type and you cannot stop using it. In that case, we recommend adding fields from our type and add them to your custom type. Then in ",{"type":208,"tag":633,"props":2500,"children":2502},{"className":2501},[],[2503],{"type":213,"value":2504},"middleware config",{"type":213,"value":2506}," add type's ",{"type":208,"tag":633,"props":2508,"children":2510},{"className":2509},[],[2511],{"type":213,"value":2512},"key",{"type":213,"value":2514}," as a value of ",{"type":208,"tag":633,"props":2516,"children":2518},{"className":2517},[],[2519],{"type":213,"value":2520},"customOrderType",{"type":213,"value":2522}," optional property.",{"type":208,"tag":659,"props":2524,"children":2526},{"className":661,"code":2525,"language":663,"meta":6,"style":6},"adyen: {\n  location: '@vsf-enterprise/adyen-commercetools-api/server',\n  configuration: {\n    // ...\n    customOrderType: 'keyOfMyCustomType'\n  }\n},\n",[2527],{"type":208,"tag":633,"props":2528,"children":2529},{"__ignoreMap":6},[2530,2541,2560,2571,2578,2595,2602],{"type":208,"tag":669,"props":2531,"children":2532},{"class":671,"line":672},[2533,2537],{"type":208,"tag":669,"props":2534,"children":2535},{"style":676},[2536],{"type":213,"value":265},{"type":208,"tag":669,"props":2538,"children":2539},{"style":681},[2540],{"type":213,"value":684},{"type":208,"tag":669,"props":2542,"children":2543},{"class":671,"line":236},[2544,2548,2552,2556],{"type":208,"tag":669,"props":2545,"children":2546},{"style":676},[2547],{"type":213,"value":692},{"type":208,"tag":669,"props":2549,"children":2550},{"style":681},[2551],{"type":213,"value":697},{"type":208,"tag":669,"props":2553,"children":2554},{"style":700},[2555],{"type":213,"value":703},{"type":208,"tag":669,"props":2557,"children":2558},{"style":681},[2559],{"type":213,"value":708},{"type":208,"tag":669,"props":2561,"children":2562},{"class":671,"line":711},[2563,2567],{"type":208,"tag":669,"props":2564,"children":2565},{"style":676},[2566],{"type":213,"value":717},{"type":208,"tag":669,"props":2568,"children":2569},{"style":681},[2570],{"type":213,"value":684},{"type":208,"tag":669,"props":2572,"children":2573},{"class":671,"line":724},[2574],{"type":208,"tag":669,"props":2575,"children":2576},{"style":728},[2577],{"type":213,"value":731},{"type":208,"tag":669,"props":2579,"children":2580},{"class":671,"line":235},[2581,2586,2590],{"type":208,"tag":669,"props":2582,"children":2583},{"style":676},[2584],{"type":213,"value":2585},"    customOrderType",{"type":208,"tag":669,"props":2587,"children":2588},{"style":681},[2589],{"type":213,"value":697},{"type":208,"tag":669,"props":2591,"children":2592},{"style":700},[2593],{"type":213,"value":2594},"'keyOfMyCustomType'\n",{"type":208,"tag":669,"props":2596,"children":2597},{"class":671,"line":758},[2598],{"type":208,"tag":669,"props":2599,"children":2600},{"style":681},[2601],{"type":213,"value":832},{"type":208,"tag":669,"props":2603,"children":2604},{"class":671,"line":773},[2605],{"type":208,"tag":669,"props":2606,"children":2607},{"style":681},[2608],{"type":213,"value":841},{"type":208,"tag":843,"props":2610,"children":2611},{},[2612],{"type":213,"value":847},{"title":6,"searchDepth":235,"depth":236,"links":2614},[2615],{"id":2490,"depth":711,"text":2493},"adyen:integrations:adyen:_partials:extend-ct-order-type.md","integrations/adyen/_partials/extend-ct-order-type.md","integrations/adyen/_partials/extend-ct-order-type",{"_path":2620,"_dir":542,"_draft":7,"_partial":8,"_locale":6,"title":2621,"description":2622,"body":2623,"_type":238,"_id":2884,"_source":265,"_file":2885,"_stem":2886,"_extension":242,"layout":203},"/integrations/adyen/_partials/setup-webhook","Setup Webhook","Unfinished partial payments expire after some time. To elegantly handle it, we need to setup webhook to shoot in adyen integration's endpoint prepared for it.",{"type":205,"children":2624,"toc":2881},[2625,2639,2644,2660,2680,2734,2739,2745,2750,2755,2877],{"type":208,"tag":215,"props":2626,"children":2627},{},[2628,2630,2637],{"type":213,"value":2629},"Unfinished partial payments expire after ",{"type":208,"tag":572,"props":2631,"children":2634},{"href":2632,"rel":2633},"https://docs.adyen.com/api-explorer/Checkout/71/post/orders#request-expiresAt",[576],[2635],{"type":213,"value":2636},"some time",{"type":213,"value":2638},". To elegantly handle it, we need to setup webhook to shoot in adyen integration's endpoint prepared for it.",{"type":208,"tag":215,"props":2640,"children":2641},{},[2642],{"type":213,"value":2643},"Start from registering new webhook in Adyen's dashboard. URL should be equal:",{"type":208,"tag":659,"props":2645,"children":2649},{"className":2646,"code":2647,"language":2648,"meta":6,"style":6},"language-sh shiki shiki-themes one-dark-pro","https://my-alokai-frontend.local/api/adyen/webhookCancelOrder\n","sh",[2650],{"type":208,"tag":633,"props":2651,"children":2652},{"__ignoreMap":6},[2653],{"type":208,"tag":669,"props":2654,"children":2655},{"class":671,"line":672},[2656],{"type":208,"tag":669,"props":2657,"children":2658},{"style":737},[2659],{"type":213,"value":2647},{"type":208,"tag":215,"props":2661,"children":2662},{},[2663,2665,2670,2672,2678],{"type":213,"value":2664},"Where ",{"type":208,"tag":633,"props":2666,"children":2668},{"className":2667},[],[2669],{"type":213,"value":265},{"type":213,"value":2671}," is equal a value of ",{"type":208,"tag":633,"props":2673,"children":2675},{"className":2674},[],[2676],{"type":213,"value":2677},"integrationName",{"type":213,"value":2679}," property from middleware config.",{"type":208,"tag":215,"props":2681,"children":2682},{},[2683,2688,2690,2694,2699,2701,2704,2709,2711,2717,2718,2721,2726,2727,2733],{"type":208,"tag":1406,"props":2684,"children":2685},{},[2686],{"type":213,"value":2687},"Method",{"type":213,"value":2689}," - JSON.",{"type":208,"tag":2691,"props":2692,"children":2693},"br",{},[],{"type":208,"tag":1406,"props":2695,"children":2696},{},[2697],{"type":213,"value":2698},"Encryption protocol",{"type":213,"value":2700}," - TLSv1.3.",{"type":208,"tag":2691,"props":2702,"children":2703},{},[],{"type":208,"tag":1406,"props":2705,"children":2706},{},[2707],{"type":213,"value":2708},"Events",{"type":213,"value":2710}," - select only ",{"type":208,"tag":633,"props":2712,"children":2714},{"className":2713},[],[2715],{"type":213,"value":2716},"ORDER_CANCEL",{"type":213,"value":1067},{"type":208,"tag":2691,"props":2719,"children":2720},{},[],{"type":208,"tag":1406,"props":2722,"children":2723},{},[2724],{"type":213,"value":2725},"Additional settings",{"type":213,"value":2710},{"type":208,"tag":633,"props":2728,"children":2730},{"className":2729},[],[2731],{"type":213,"value":2732},"Include a success boolean for the payments listed in an ORDER_CLOSED event",{"type":213,"value":1067},{"type":208,"tag":215,"props":2735,"children":2736},{},[2737],{"type":213,"value":2738},"Save configuration.",{"type":208,"tag":2488,"props":2740,"children":2742},{"id":2741},"verifying-hmac-signature",[2743],{"type":213,"value":2744},"Verifying HMAC signature",{"type":208,"tag":215,"props":2746,"children":2747},{},[2748],{"type":213,"value":2749},"In order to prevent fraud requests to the endpoint, it is recommended to enable verifying HMAC signature. To do that, edit created webhook in Adyen's dashboard, Generate a new HMAC key, save configuration and copy generated key, as we will need it soon.",{"type":208,"tag":215,"props":2751,"children":2752},{},[2753],{"type":213,"value":2754},"Then adjust a middleware config:",{"type":208,"tag":659,"props":2756,"children":2758},{"className":661,"code":2757,"language":663,"meta":6,"style":6},"// ...\nadyen: {\n  location: '@vsf-enterprise/adyen-commercetools-api/server',\n  configuration: {\n    // ...\n    enableHmacSignature: true,\n    secretHmacKey: '\u003CPASTE_HMAC_KEY_COPIED_FROM_ADYEN_DASHBOARD>'\n  }\n},\n// ...\n",[2759],{"type":208,"tag":633,"props":2760,"children":2761},{"__ignoreMap":6},[2762,2770,2781,2800,2811,2818,2839,2856,2863,2870],{"type":208,"tag":669,"props":2763,"children":2764},{"class":671,"line":672},[2765],{"type":208,"tag":669,"props":2766,"children":2767},{"style":728},[2768],{"type":213,"value":2769},"// ...\n",{"type":208,"tag":669,"props":2771,"children":2772},{"class":671,"line":236},[2773,2777],{"type":208,"tag":669,"props":2774,"children":2775},{"style":676},[2776],{"type":213,"value":265},{"type":208,"tag":669,"props":2778,"children":2779},{"style":681},[2780],{"type":213,"value":684},{"type":208,"tag":669,"props":2782,"children":2783},{"class":671,"line":711},[2784,2788,2792,2796],{"type":208,"tag":669,"props":2785,"children":2786},{"style":676},[2787],{"type":213,"value":692},{"type":208,"tag":669,"props":2789,"children":2790},{"style":681},[2791],{"type":213,"value":697},{"type":208,"tag":669,"props":2793,"children":2794},{"style":700},[2795],{"type":213,"value":703},{"type":208,"tag":669,"props":2797,"children":2798},{"style":681},[2799],{"type":213,"value":708},{"type":208,"tag":669,"props":2801,"children":2802},{"class":671,"line":724},[2803,2807],{"type":208,"tag":669,"props":2804,"children":2805},{"style":676},[2806],{"type":213,"value":717},{"type":208,"tag":669,"props":2808,"children":2809},{"style":681},[2810],{"type":213,"value":684},{"type":208,"tag":669,"props":2812,"children":2813},{"class":671,"line":235},[2814],{"type":208,"tag":669,"props":2815,"children":2816},{"style":728},[2817],{"type":213,"value":731},{"type":208,"tag":669,"props":2819,"children":2820},{"class":671,"line":758},[2821,2826,2830,2835],{"type":208,"tag":669,"props":2822,"children":2823},{"style":676},[2824],{"type":213,"value":2825},"    enableHmacSignature",{"type":208,"tag":669,"props":2827,"children":2828},{"style":681},[2829],{"type":213,"value":697},{"type":208,"tag":669,"props":2831,"children":2832},{"style":1719},[2833],{"type":213,"value":2834},"true",{"type":208,"tag":669,"props":2836,"children":2837},{"style":681},[2838],{"type":213,"value":708},{"type":208,"tag":669,"props":2840,"children":2841},{"class":671,"line":773},[2842,2847,2851],{"type":208,"tag":669,"props":2843,"children":2844},{"style":676},[2845],{"type":213,"value":2846},"    secretHmacKey",{"type":208,"tag":669,"props":2848,"children":2849},{"style":681},[2850],{"type":213,"value":697},{"type":208,"tag":669,"props":2852,"children":2853},{"style":700},[2854],{"type":213,"value":2855},"'\u003CPASTE_HMAC_KEY_COPIED_FROM_ADYEN_DASHBOARD>'\n",{"type":208,"tag":669,"props":2857,"children":2858},{"class":671,"line":790},[2859],{"type":208,"tag":669,"props":2860,"children":2861},{"style":681},[2862],{"type":213,"value":832},{"type":208,"tag":669,"props":2864,"children":2865},{"class":671,"line":808},[2866],{"type":208,"tag":669,"props":2867,"children":2868},{"style":681},[2869],{"type":213,"value":841},{"type":208,"tag":669,"props":2871,"children":2872},{"class":671,"line":817},[2873],{"type":208,"tag":669,"props":2874,"children":2875},{"style":728},[2876],{"type":213,"value":2769},{"type":208,"tag":843,"props":2878,"children":2879},{},[2880],{"type":213,"value":847},{"title":6,"searchDepth":235,"depth":236,"links":2882},[2883],{"id":2741,"depth":711,"text":2744},"adyen:integrations:adyen:_partials:setup-webhook.md","integrations/adyen/_partials/setup-webhook.md","integrations/adyen/_partials/setup-webhook",{"_path":2888,"_dir":542,"_draft":7,"_partial":8,"_locale":6,"title":2889,"description":2890,"body":2891,"_type":238,"_id":3072,"_source":265,"_file":3073,"_stem":3074,"_extension":242,"layout":203},"/integrations/adyen/_partials/setup-ct-cart-api-extension","Setup Ct Cart Api Extension","Register commercetools API Extension that triggers on cart's update. It's URL should match the following pattern https://your-shop-url.local/api/adyen/webhookOnCartUpdate.",{"type":205,"children":2892,"toc":3070},[2893,2905,3066],{"type":208,"tag":215,"props":2894,"children":2895},{},[2896,2898,2904],{"type":213,"value":2897},"Register commercetools API Extension that triggers on cart's update. It's URL should match the following pattern ",{"type":208,"tag":633,"props":2899,"children":2901},{"className":2900},[],[2902],{"type":213,"value":2903},"https://your-shop-url.local/api/adyen/webhookOnCartUpdate",{"type":213,"value":1067},{"type":208,"tag":659,"props":2906,"children":2908},{"className":1474,"code":2907,"language":1476,"meta":6,"style":6},"{\n  \"destination\" : {\n    \"type\" : \"HTTP\",\n    \"url\" : \"https://your-shop-url.local/api/adyen/webhookOnCartUpdate\"\n  },\n  \"triggers\" : [ {\n    \"resourceTypeId\" : \"cart\",\n    \"actions\" : [ \"Update\" ]\n  } ],\n  \"key\" : \"ct-adyen-partial-payments-cart-ext\"\n}\n",[2909],{"type":208,"tag":633,"props":2910,"children":2911},{"__ignoreMap":6},[2912,2919,2932,2954,2971,2978,2991,3012,3035,3043,3059],{"type":208,"tag":669,"props":2913,"children":2914},{"class":671,"line":672},[2915],{"type":208,"tag":669,"props":2916,"children":2917},{"style":681},[2918],{"type":213,"value":1488},{"type":208,"tag":669,"props":2920,"children":2921},{"class":671,"line":236},[2922,2927],{"type":208,"tag":669,"props":2923,"children":2924},{"style":676},[2925],{"type":213,"value":2926},"  \"destination\"",{"type":208,"tag":669,"props":2928,"children":2929},{"style":681},[2930],{"type":213,"value":2931}," : {\n",{"type":208,"tag":669,"props":2933,"children":2934},{"class":671,"line":711},[2935,2940,2945,2950],{"type":208,"tag":669,"props":2936,"children":2937},{"style":676},[2938],{"type":213,"value":2939},"    \"type\"",{"type":208,"tag":669,"props":2941,"children":2942},{"style":681},[2943],{"type":213,"value":2944}," : ",{"type":208,"tag":669,"props":2946,"children":2947},{"style":700},[2948],{"type":213,"value":2949},"\"HTTP\"",{"type":208,"tag":669,"props":2951,"children":2952},{"style":681},[2953],{"type":213,"value":708},{"type":208,"tag":669,"props":2955,"children":2956},{"class":671,"line":724},[2957,2962,2966],{"type":208,"tag":669,"props":2958,"children":2959},{"style":676},[2960],{"type":213,"value":2961},"    \"url\"",{"type":208,"tag":669,"props":2963,"children":2964},{"style":681},[2965],{"type":213,"value":2944},{"type":208,"tag":669,"props":2967,"children":2968},{"style":700},[2969],{"type":213,"value":2970},"\"https://your-shop-url.local/api/adyen/webhookOnCartUpdate\"\n",{"type":208,"tag":669,"props":2972,"children":2973},{"class":671,"line":235},[2974],{"type":208,"tag":669,"props":2975,"children":2976},{"style":681},[2977],{"type":213,"value":1326},{"type":208,"tag":669,"props":2979,"children":2980},{"class":671,"line":758},[2981,2986],{"type":208,"tag":669,"props":2982,"children":2983},{"style":676},[2984],{"type":213,"value":2985},"  \"triggers\"",{"type":208,"tag":669,"props":2987,"children":2988},{"style":681},[2989],{"type":213,"value":2990}," : [ {\n",{"type":208,"tag":669,"props":2992,"children":2993},{"class":671,"line":773},[2994,2999,3003,3008],{"type":208,"tag":669,"props":2995,"children":2996},{"style":676},[2997],{"type":213,"value":2998},"    \"resourceTypeId\"",{"type":208,"tag":669,"props":3000,"children":3001},{"style":681},[3002],{"type":213,"value":2944},{"type":208,"tag":669,"props":3004,"children":3005},{"style":700},[3006],{"type":213,"value":3007},"\"cart\"",{"type":208,"tag":669,"props":3009,"children":3010},{"style":681},[3011],{"type":213,"value":708},{"type":208,"tag":669,"props":3013,"children":3014},{"class":671,"line":790},[3015,3020,3025,3030],{"type":208,"tag":669,"props":3016,"children":3017},{"style":676},[3018],{"type":213,"value":3019},"    \"actions\"",{"type":208,"tag":669,"props":3021,"children":3022},{"style":681},[3023],{"type":213,"value":3024}," : [ ",{"type":208,"tag":669,"props":3026,"children":3027},{"style":700},[3028],{"type":213,"value":3029},"\"Update\"",{"type":208,"tag":669,"props":3031,"children":3032},{"style":681},[3033],{"type":213,"value":3034}," ]\n",{"type":208,"tag":669,"props":3036,"children":3037},{"class":671,"line":808},[3038],{"type":208,"tag":669,"props":3039,"children":3040},{"style":681},[3041],{"type":213,"value":3042},"  } ],\n",{"type":208,"tag":669,"props":3044,"children":3045},{"class":671,"line":817},[3046,3050,3054],{"type":208,"tag":669,"props":3047,"children":3048},{"style":676},[3049],{"type":213,"value":1496},{"type":208,"tag":669,"props":3051,"children":3052},{"style":681},[3053],{"type":213,"value":2944},{"type":208,"tag":669,"props":3055,"children":3056},{"style":700},[3057],{"type":213,"value":3058},"\"ct-adyen-partial-payments-cart-ext\"\n",{"type":208,"tag":669,"props":3060,"children":3061},{"class":671,"line":826},[3062],{"type":208,"tag":669,"props":3063,"children":3064},{"style":681},[3065],{"type":213,"value":2478},{"type":208,"tag":843,"props":3067,"children":3068},{},[3069],{"type":213,"value":847},{"title":6,"searchDepth":235,"depth":236,"links":3071},[],"adyen:integrations:adyen:_partials:setup-ct-cart-api-extension.md","integrations/adyen/_partials/setup-ct-cart-api-extension.md","integrations/adyen/_partials/setup-ct-cart-api-extension",{"_path":3076,"_dir":542,"_draft":7,"_partial":8,"_locale":6,"title":3077,"description":3078,"body":3079,"_type":238,"_id":3120,"_source":265,"_file":3121,"_stem":3122,"_extension":242,"layout":203},"/integrations/adyen/_partials/commercetools-payment-to-order-processor","Commercetools Payment To Order Processor","Some payment methods, like Klarna, certain 3DS authenticated cards, and Sofort, are redirect-based. This means there's a chance the user might lose connection or accidentally close the tab after payment but before returning to the return url. In such scenarios, a payment is successful, but no order is placed.",{"type":205,"children":3080,"toc":3118},[3081,3085,3106],{"type":208,"tag":215,"props":3082,"children":3083},{},[3084],{"type":213,"value":3078},{"type":208,"tag":215,"props":3086,"children":3087},{},[3088,3090,3096,3098,3104],{"type":213,"value":3089},"To address this issue, use the ",{"type":208,"tag":572,"props":3091,"children":3093},{"href":611,"rel":3092},[576],[3094],{"type":213,"value":3095},"commercetools-payment-to-order-processor",{"type":213,"value":3097}," provided by commercetools. This service checks for the aforementioned situations at set intervals. If it identifies any matches, it will call a URL you specify, with the ",{"type":208,"tag":633,"props":3099,"children":3101},{"className":3100},[],[3102],{"type":213,"value":3103},"cartId",{"type":213,"value":3105}," attached as a query parameter. You must then set up an endpoint to create an order and provide the appropriate HTTP response. To understand this further, review the documentation in their repository.",{"type":208,"tag":3107,"props":3108,"children":3109},"tip",{},[3110,3113],{"type":208,"tag":226,"props":3111,"children":3112},{"v-slot:title":6},[],{"type":208,"tag":215,"props":3114,"children":3115},{},[3116],{"type":213,"value":3117},"Consider enhancing our middleware by adding an endpoint to create orders. Alternatively, you could design a straightforward Node.js service and deploy it as an auxiliary application in our cloud. Choose whichever approach you prefer, but ensure the endpoint is shielded from unauthorized access.",{"title":6,"searchDepth":235,"depth":236,"links":3119},[],"adyen:integrations:adyen:_partials:commercetools-payment-to-order-processor.md","integrations/adyen/_partials/commercetools-payment-to-order-processor.md","integrations/adyen/_partials/commercetools-payment-to-order-processor",{"nav":3124,"sidebarRoot":3126},[3125],{"title":267,"_path":3126,"children":3127,"_id":268,"layout":3131,"sidebarRoot":8,"icon":258},"/integrations/adyen",[3128,3132,3143,3163,3192],{"title":3129,"_path":3126,"_id":3130,"layout":3131},"Welcome!","adyen:integrations:adyen:1.index.md","fullscreen",{"title":22,"_path":3133,"children":3134,"_id":3142,"layout":203},"/integrations/adyen/introduction",[3135,3138],{"title":3136,"_path":3133,"_id":3137,"layout":203},"Commercetools: Quickstart","adyen:integrations:adyen:1.introduction:1.index.md",{"title":3139,"_path":3140,"_id":3141,"layout":203},"Commercetools: Configuration","/integrations/adyen/introduction/configuration","adyen:integrations:adyen:1.introduction:2.configuration.md","adyen:integrations:adyen:1.introduction:_dir.yml",{"title":63,"_path":3144,"children":3145,"_id":3162},"/integrations/adyen/guides",[3146,3150,3154,3158],{"title":3147,"_path":3148,"_id":3149,"layout":203},"Basics","/integrations/adyen/guides/basics","adyen:integrations:adyen:2.guides:1.basics.md",{"title":3151,"_path":3152,"_id":3153,"layout":203},"Payment Methods Guide","/integrations/adyen/guides/paymentmethods","adyen:integrations:adyen:2.guides:2.paymentMethods.md",{"title":3155,"_path":3156,"_id":3157,"layout":203},"Extend Get Payment Methods Request","/integrations/adyen/guides/extendgetpaymentmethodsrequest","adyen:integrations:adyen:2.guides:3.extendGetPaymentMethodsRequest.md",{"title":3159,"_path":3160,"_id":3161,"layout":203},"Extend Payment Request","/integrations/adyen/guides/extendpaymentrequest","adyen:integrations:adyen:2.guides:4.extendPaymentRequest.md","adyen:integrations:adyen:2.guides:_dir.yml",{"title":3164,"_path":3165,"children":3166,"_id":3191},"References","/integrations/adyen/references",[3167,3171,3175],{"title":3168,"_path":3169,"_id":3170,"layout":203},"FAQ","/integrations/adyen/references/faq","adyen:integrations:adyen:3.references:1.faq.md",{"title":3172,"_path":3173,"_id":3174,"layout":203},"Compatibility","/integrations/adyen/references/compatibility","adyen:integrations:adyen:3.references:2.compatibility.md",{"title":3176,"_path":3177,"children":3178},"Changelogs","/integrations/adyen/references/changelogs",[3179,3183,3187],{"title":3180,"_path":3181,"_id":3182,"layout":203},"@vsf-enterprise/adyen-commercetools-api","/integrations/adyen/references/changelogs/vsf-enterprise-adyen-commercetools-api","adyen:integrations:adyen:3.references:changelogs:vsf-enterprise-adyen-commercetools-api.md",{"title":3184,"_path":3185,"_id":3186,"layout":203},"@vsf-enterprise/adyen-commercetools-sdk","/integrations/adyen/references/changelogs/vsf-enterprise-adyen-commercetools-sdk","adyen:integrations:adyen:3.references:changelogs:vsf-enterprise-adyen-commercetools-sdk.md",{"title":3188,"_path":3189,"_id":3190,"layout":203},"@vsf-enterprise/adyen-commercetools-types","/integrations/adyen/references/changelogs/vsf-enterprise-adyen-commercetools-types","adyen:integrations:adyen:3.references:changelogs:vsf-enterprise-adyen-commercetools-types.md","adyen:integrations:adyen:3.references:_dir.yml",{"title":3193,"_path":3194,"children":3195},"Migration Guides","/integrations/adyen/migration-guides",[3196,3200,3204],{"title":3197,"_path":3198,"_id":3199,"layout":203},"Legacy Adyen commercetools to SDK v2","/integrations/adyen/migration-guides/legacy-adyen-commercetool-to-sdk-v2","adyen:integrations:adyen:5.migration-guides:1.legacy-adyen-commercetool-to-sdk-v2.md",{"title":3201,"_path":3202,"_id":3203,"layout":203},"Adyen commercetools SDK v1 -> v2","/integrations/adyen/migration-guides/adyen-commercetools-sdk-v1-v2","adyen:integrations:adyen:5.migration-guides:2.adyen-commercetools-sdk-v1-v2.md",{"title":3205,"_path":3206,"_id":3207,"layout":203},"Adyen commercetools API v2 -> v3","/integrations/adyen/migration-guides/adyen-commercetools-api-v2-v3","adyen:integrations:adyen:5.migration-guides:3.adyen-commercetools-api-v2-v3.md",[3209,3222,3233,3246,3255,3266,3275],{"_path":3210,"_dir":320,"_draft":7,"_partial":8,"_locale":6,"versions":3211,"_id":3218,"_type":13,"title":3219,"_source":320,"_file":3220,"_stem":3221,"_extension":18},"/integrations/commercetools/_versions",[3212,3215],{"title":3213,"path":3214,"latest":8},"current","/",{"title":3216,"path":3217},"SDK v2","/v2","commercetools:integrations:commercetools:_versions.yml","Versions","integrations/commercetools/_versions.yml","integrations/commercetools/_versions",{"_path":3223,"_dir":379,"_draft":7,"_partial":8,"_locale":6,"versions":3224,"_id":3230,"_type":13,"title":3219,"_source":379,"_file":3231,"_stem":3232,"_extension":18},"/integrations/sapcc/_versions",[3225,3227],{"title":3226,"path":3214,"latest":8},"v8.x",{"title":3228,"path":3229},"v7.x and earlier","/v7","sapcc:integrations:sapcc:_versions.yml","integrations/sapcc/_versions.yml","integrations/sapcc/_versions",{"_path":3234,"_dir":431,"_draft":7,"_partial":8,"_locale":6,"versions":3235,"_id":3243,"_type":13,"title":3219,"_source":431,"_file":3244,"_stem":3245,"_extension":18},"/middleware/_versions",[3236,3238,3241],{"title":3237,"path":3214,"latest":8},"connect v2",{"title":3239,"path":3240},"connect v1","/v1",{"title":454,"path":3242},"/legacy","middleware:middleware:_versions.yml","middleware/_versions.yml","middleware/_versions",{"_path":3247,"_dir":446,"_draft":7,"_partial":8,"_locale":6,"versions":3248,"_id":3252,"_type":13,"title":3219,"_source":446,"_file":3253,"_stem":3254,"_extension":18},"/sdk/_versions",[3249,3250,3251],{"title":3237,"path":3214,"latest":8},{"title":3239,"path":3240},{"title":454,"path":3242},"sdk:sdk:_versions.yml","sdk/_versions.yml","sdk/_versions",{"_path":3256,"_dir":467,"_draft":7,"_partial":8,"_locale":6,"versions":3257,"_id":3263,"_type":13,"title":3219,"_source":467,"_file":3264,"_stem":3265,"_extension":18},"/storefront/_versions",[3258,3259,3261],{"title":39,"path":3214,"latest":8},{"title":513,"path":3260},"/v0.1",{"title":520,"path":3262},"/v0.2","storefront:storefront:_versions.yml","storefront/_versions.yml","storefront/_versions",{"_path":3267,"_dir":475,"_draft":7,"_partial":8,"_locale":6,"versions":3268,"_id":3272,"_type":13,"title":3219,"_source":475,"_file":3273,"_stem":3274,"_extension":18},"/storefront/modules/_versions",[3269,3270],{"title":39,"path":3214,"latest":8},{"title":500,"path":3271},"/v0","modules:storefront:modules:_versions.yml","storefront/modules/_versions.yml","storefront/modules/_versions",{"_path":3276,"_dir":527,"_draft":7,"_partial":8,"_locale":6,"versions":3277,"_id":3280,"_type":13,"title":3219,"_source":531,"_file":3281,"_stem":3282,"_extension":18},"/unified-data-layer/_versions",[3278,3279],{"title":3237,"path":3214,"latest":8},{"title":3239,"path":3240},"unified:unified-data-layer:_versions.yml","unified-data-layer/_versions.yml","unified-data-layer/_versions",1782903537877]