1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[99343],{64136:(e,i,s)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/Classes/BigCommerce/Checkout/Requirements_Notice",function(){return s(54189)}])},54189:(e,i,s)=>{"use strict";s.r(i),s.d(i,{default:()=>l,useTOC:()=>d});var n=s(74848),t=s(27849),h=s(40272),r=s(71355);function d(e){return[{value:"Constants",id:"constants",depth:2},{value:"Methods",id:"methods",depth:2},{value:"__construct",id:"__construct",depth:3},{value:"check_requirements",id:"check_requirements",depth:3},{value:"refresh_status",id:"refresh_status",depth:3},{value:"filter_embedded_checkout",id:"filter_embedded_checkout",depth:3},{value:"can_enable_embedded_checkout",id:"can_enable_embedded_checkout",depth:3}]}let l=(0,t.e)(function(e){let{toc:i=d(e)}=e,s={blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",h3:"h3",hr:"hr",li:"li",p:"p",pre:"pre",span:"span",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,r.R)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(s.hr,{}),"\n",(0,n.jsx)(s.h1,{children:"Requirements_Notice"}),"\n",(0,n.jsx)(s.p,{children:"Shows a notice if the required configuration for checkout is not complete"}),"\n",(0,n.jsxs)(s.ul,{children:["\n",(0,n.jsxs)(s.li,{children:["Full name: ",(0,n.jsx)(s.code,{children:"\\BigCommerce\\Checkout\\Requirements_Notice"})]}),"\n"]}),"\n",(0,n.jsx)(s.h2,{id:i[0].id,children:i[0].value}),"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",(0,n.jsxs)(s.table,{children:[(0,n.jsx)(s.thead,{children:(0,n.jsxs)(s.tr,{children:[(0,n.jsx)(s.th,{style:{textAlign:"left"},children:"Constant"}),(0,n.jsx)(s.th,{style:{textAlign:"left"},children:"Visibility"}),(0,n.jsx)(s.th,{style:{textAlign:"left"},children:"Type"}),(0,n.jsx)(s.th,{style:{textAlign:"left"},children:"Value"})]})}),(0,n.jsx)(s.tbody,{children:(0,n.jsxs)(s.tr,{children:[(0,n.jsx)(s.td,{style:{textAlign:"left"},children:(0,n.jsx)(s.code,{children:"REFRESH"})}),(0,n.jsx)(s.td,{style:{textAlign:"left"},children:"public"}),(0,n.jsx)(s.td,{style:{textAlign:"left"},children:"string"}),(0,n.jsx)(s.td,{style:{textAlign:"left"},children:"âbigcommerce_checkout_requirements_refreshâ"})]})})]}),"\n",(0,n.jsx)(s.h2,{id:i[1].id,children:i[1].value}),"\n",(0,n.jsx)(s.h3,{id:i[2].id,children:i[2].value}),"\n",(0,n.jsx)(s.p,{children:"Constructor to initialize the setup status."}),"\n",(0,n.jsx)(s.pre,{tabIndex:"0","data-language":"php","data-word-wrap":"",children:(0,n.jsx)(s.code,{children:(0,n.jsxs)(s.span,{children:[(0,n.jsx)(s.span,{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"},children:"public"}),(0,n.jsx)(s.span,{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"},children:" __construct"}),(0,n.jsx)(s.span,{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"},children:"(\\"}),(0,n.jsx)(s.span,{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"},children:"BigCommerce"}),(0,n.jsx)(s.span,{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"},children:"\\"}),(0,n.jsx)(s.span,{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"},children:"Merchant"}),(0,n.jsx)(s.span,{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"},children:"\\"}),(0,n.jsx)(s.span,{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"},children:"Setup_Status"}),(0,n.jsx)(s.span,{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"},children:" $status): "}),(0,n.jsx)(s.span,{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"},children:"mixed"})]})})}),"\n",(0,n.jsx)(s.p,{children:(0,n.jsx)(s.strong,{children:"Parameters:"})}),"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",(0,n.jsxs)(s.table,{children:[(0,n.jsx)(s.thead,{children:(0,n.jsxs)(s.tr,{children:[(0,n.jsx)(s.th,{children:"Parameter"}),(0,n.jsx)(s.th,{children:"Type"}),(0,n.jsx)(s.th,{children:"Description"})]})}),(0,n.jsx)(s.tbody,{children:(0,n.jsxs)(s.tr,{children:[(0,n.jsx)(s.td,{children:(0,n.jsx)(s.code,{children:"$status"})}),(0,n.jsx)(s.td,{children:(0,n.jsx)(s.strong,{children:"\\BigCommerce\\Merchant\\Setup_Status"})}),(0,n.jsx)(s.td,{children:"Instance of Setup_Status to manage the storeâs setup status."})]})})]}),"\n",(0,n.jsx)(s.hr,{}),"\n",(0,n.jsx)(s.h3,{id:i[3].id,children:i[3].value}),"\n",(0,n.jsx)(s.p,{children:"Checks the BigCommerce API to verify that checkout requirements\nhave been met. Displays admin notices if requirements are not satisfied."}),"\n",(0,n.jsx)(s.pre,{tabIndex:"0","data-language":"php","data-word-wrap":"",children:(0,n.jsx)(s.code,{children:(0,n.jsxs)(s.span,{children:[(0,n.jsx)(s.span,{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"},children:"public"}),(0,n.jsx)(s.span,{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"},children:" check_requirements"}),(0,n.jsx)(s.span,{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}
1,children:"(): "}),(0,n.jsx)(s.span,{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"},children:"void"})]})})}),"\n",(0,n.jsx)(s.hr,{}),"\n",(0,n.jsx)(s.h3,{id:i[4].id,children:i[4].value}),"\n",(0,n.jsx)(s.p,{children:"Admin post handler to refresh the checkout requirements status cache."}),"\n",(0,n.jsx)(s.pre,{tabIndex:"0","data-language":"php","data-word-wrap":"",children:(0,n.jsx)(s.code,{children:(0,n.jsxs)(s.span,{children:[(0,n.jsx)(s.span,{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"},children:"public"}),(0,n.jsx)(s.span,{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"},children:" refresh_status"}),(0,n.jsx)(s.span,{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"},children:"(): "}),(0,n.jsx)(s.span,{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"},children:"void"})]})})}),"\n",(0,n.jsx)(s.hr,{}),"\n",(0,n.jsx)(s.h3,{id:i[5].id,children:i[5].value}),"\n",(0,n.jsx)(s.p,{children:"Disables embedded checkout if SSL is not supported."}),"\n",(0,n.jsx)(s.pre,{tabIndex:"0","data-language":"php","data-word-wrap":"",children:(0,n.jsx)(s.code,{children:(0,n.jsxs)(s.span,{children:[(0,n.jsx)(s.span,{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"},children:"public"}),(0,n.jsx)(s.span,{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"},children:" filter_embedded_checkout"}),(0,n.jsx)(s.span,{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"},children:"("}),(0,n.jsx)(s.span,{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"},children:"int|bool"}),(0,n.jsx)(s.span,{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"},children:" $option): "}),(0,n.jsx)(s.span,{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"},children:"int|bool"})]})})}),"\n",(0,n.jsx)(s.p,{children:(0,n.jsx)(s.strong,{children:"Parameters:"})}),"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",(0,n.jsxs)(s.table,{children:[(0,n.jsx)(s.thead,{children:(0,n.jsxs)(s.tr,{children:[(0,n.jsx)(s.th,{children:"Parameter"}),(0,n.jsx)(s.th,{children:"Type"}),(0,n.jsx)(s.th,{children:"Description"})]})}),(0,n.jsx)(s.tbody,{children:(0,n.jsxs)(s.tr,{children:[(0,n.jsx)(s.td,{children:(0,n.jsx)(s.code,{children:"$option"})}),(0,n.jsx)(s.td,{children:(0,n.jsx)(s.strong,{children:"int|bool"})}),(0,n.jsx)(s.td,{children:"Current option value."})]})})]}),"\n",(0,n.jsx)(s.p,{children:(0,n.jsx)(s.strong,{children:"Return Value:"})}),"\n",(0,n.jsx)(s.p,{children:"Modified option value."}),"\n",(0,n.jsx)(s.hr,{}),"\n",(0,n.jsx)(s.h3,{id:i[6].id,children:i[6].value}),"\n",(0,n.jsx)(s.p,{children:"Determines if embedded checkout can be enabled."}),"\n",(0,n.jsx)(s.pre,{tabIndex:"0","data-language":"php","data-word-wrap":"",children:(0,n.jsx)(s.code,{children:(0,n.jsxs)(s.span,{children:[(0,n.jsx)(s.span,{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"},children:"public"}),(0,n.jsx)(s.span,{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"},children:" can_enable_embedded_checkout"}),(0,n.jsx)(s.span,{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"},children:"(): "}),(0,n.jsx)(s.span,{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"},children:"bool"})]})})}),"\n",(0,n.jsx)(s.p,{children:(0,n.jsx)(s.strong,{children:"Return Value:"})}),"\n",(0,n.jsx)(s.p,{children:"True if SSL is supported, false otherwise."}),"\n",(0,n.jsx)(s.hr,{}),"\n",(0,n.jsx)(s.hr,{}),"\n",(0,n.jsxs)(s.blockquote,{children:["\n",(0,n.jsx)(s.p,{children:"Automatically generated on 2025-01-21"}),"\n"]})]})},"/Classes/BigCommerce/Checkout/Requirements_Notice",{filePath:"pages/Classes/BigCommerce/Checkout/Requirements_Notice.md",timestamp:1737496368e3,pageMap:h.O,frontMatter:{},title:"Requirements_Notice"},"undefined"==typeof RemoteContent?d:RemoteContent.useTOC)}},e=>{var i=i=>e(e.s=i);e.O(0,[27849,40272,90636,46593,38792],()=>i(64136)),_N_E=e.O()}]);
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.