1"use strict";(self.webpackChunkapicheck_docs=self.webpackChunkapicheck_docs||[]).push([[5923],{2461:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>c,contentTitle:()=>s,default:()=>h,frontMatter:()=>r,metadata:()=>o,toc:()=>l});const o=JSON.parse('{"id":"integrations/magento2","title":"Magento 2","description":"The ApiCheck Magento 2 module enhances address validation during checkout, catching inaccurate address data before orders are processed.","source":"@site/docs/integrations/magento2.md","sourceDirName":"integrations","slug":"/integrations/magento2","permalink":"/docs/integrations/magento2","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"Magento 2"},"sidebar":"tutorialSidebar","previous":{"title":"Make (Integromat)","permalink":"/docs/integrations/make"},"next":{"title":"WooCommerce","permalink":"/docs/integrations/woocommerce"}}');var i=t(4848),a=t(8453);const r={title:"Magento 2"},s=void 0,c={},l=[{value:"Requirements",id:"requirements",level:2},{value:"Installation",id:"installation",level:2},{value:"Configuration",id:"configuration",level:2},{value:"How It Works",id:"how-it-works",level:2},{value:"License",id:"license",level:2}];function d(e){const n={a:"a",code:"code",h2:"h2",li:"li",ol:"ol",p:"p",pre:"pre",strong:"strong",ul:"ul",...(0,a.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("img",{src:"/img/integrations/magento.svg",alt:"Magento",style:{height:"120px",marginBottom:"1.5rem"}}),"\n",(0,i.jsx)(n.p,{children:"The ApiCheck Magento 2 module enhances address validation during checkout, catching inaccurate address data before orders are processed."}),"\n",(0,i.jsx)(n.h2,{id:"requirements",children:"Requirements"}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsx)(n.li,{children:"Magento 2.3 or later"}),"\n",(0,i.jsx)(n.li,{children:"Composer"}),"\n",(0,i.jsxs)(n.li,{children:["An ApiCheck API key (",(0,i.jsx)(n.a,{href:"https://app.apicheck.nl",children:"get one at app.apicheck.nl"}),")"]}),"\n"]}),"\n",(0,i.jsx)(n.h2,{id:"installation",children:"Installation"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-bash",children:"composer require api-check/magento2-module\nphp bin/magento setup:upgrade\nphp bin/magento setup:di:compile\nphp bin/magento cache:flush\n"})}),"\n",(0,i.jsx)(n.h2,{id:"configuration",children:"Configuration"}),"\n",(0,i.jsxs)(n.ol,{children:["\n",(0,i.jsxs)(n.li,{children:["In the Magento admin, go to ",(0,i.jsx)(n.strong,{children:"Stores > Configuration > ApiCheck"})]}),"\n",(0,i.jsx)(n.li,{children:"Enter your API key"}),"\n",(0,i.jsx)(n.li,{children:"Enable the module"}),"\n"]}),"\n",(0,i.jsx)(n.p,{children:"If you don't have an API key, sign up on the ApiCheck website to obtain one."}),"\n",(0,i.jsx)(n.h2,{id:"how-it-works",children:"How It Works"}),"\n",(0,i.jsx)(n.p,{children:"Once enabled, the module automatically validates customer addresses at checkout. Invalid or inaccurate addresses are flagged before the order is placed, helping maintain data quality throughout your order workflow."}),"\n",(0,i.jsx)(n.h2,{id:"license",children:"License"}),"\n",(0,i.jsx)(n.p,{children:"MIT License - open-source software available for use in commercial and personal projects."})]})}function h(e={}){const{wrapper:n}={...(0,a.R)(),...e.components};return n?(0,i.jsx)(n,{...e,children:(0,i.jsx)(d,{...e})}):d(e)}},8453:(e,n,t)=>{t.d(n,{R:()=>r,x:()=>s});var o=t(6540);const i={},a=o.createContext(i);function r(e){const n=o.useContext(a);return o.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function s(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:r(e.components),o.createElement(a.Provider,{value:n},e.children)}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.