1import{_ as r}from"./nuxt-link.Dmp1iV9N.js";import{k as l}from"./entry.2ehg4ZD6.js";import{l as u}from"./stripe.esm.BytsDmIO.js";import{a as d,C as _,G as p,L as m,_ as e,Q as h,P as g}from"./swiper-vue.iPC35nDh.js";const f={class:"failed-page"},y={class:"g-container"},v={class:"g-row"},w={class:"g-col g-col-xs-6"},b={class:"failed-page--empty d-flex flex-wrap flex-column justify-content-center align-items-center"},k=e("div",{class:"failed-page--empty__info el-heading el-heading--h3 h-center"},"Your purchase could not be processed.",-1),x=e("div",{class:"failed-page--empty__info el-heading el-heading--h3 h-center h-color--secondary"}," Please return to the previous page and try again. If you continue to experience issues, contact your bank or payment provider. ",-1),S=e("button",{type:"button",class:"el-button el-button--form-action"},"Try again",-1),N={__name:"failed",setup(P){let n=null;const t=d(null),o=l(),c=async()=>{n=await u(o.public.stripeKey);const a=new URLSearchParams(window.location.search).get("payment_intent_client_secret");if(!a)return;const{paymentIntent:s}=await n.retrievePaymentIntent(a);switch(console.log(s),console.log("payment status : ",s.status),s.status){case"succeeded":t.value="Payment succeeded!";break;case"processing":t.value="Your payment is processing.";break;case"requires_payment_method":t.value="Your payment was not successful, please try again.";break;default:t.value="Something went wrong.";break}};return _(async()=>{c()}),(a,s)=>{const i=r;return p(),m("div",f,[e("div",y,[e("div",v,[e("div",w,[e("div",b,[k,x,h(i,{to:"/store/checkout"},{default:g(()=>[S]),_:1})])])])])])}}};export{N as default};
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.