PageSourceSearch

https://portal.safeos.de/assets/PaymentMethodReturn-C8bh_nPo.js

js safeos.de collected 2026-10-02 16:14:18 UTC 1,861 bytes, 1 lines download raw bytes

1import{dv as S,c as A,l as M,aa as w,n as C,o as V,V as b,t as I,_ as R}from"./index-c2PABjuS.js";import{l as x}from"./index-xFuvys3v.js";import{h as B,f as l,P as D,K as _,_ as E,n as f,L as g,u,a0 as v,$ as Z,a1 as q,M as d}from"./vue-datepicker-CpIdsRIT.js";import"./datefns-BAflKSlV.js";const L={class:"pm-return-wrap"},N={key:1,class:"pm-return-card"},z={class:"pm-return-title"},K={class:"pm-return-sub"},T=B({__name:"PaymentMethodReturn",setup(j){const n=A(),y=V(),k=S(),r=l(!0),s=l(!1),t=l("");return D(async()=>{const o=n.query.redirect_status,e=n.query.setup_intent,c=Array.isArray(e)?e.at(-1):e,i=n.query.setup_intent_client_secret,p=Array.isArray(i)?i.at(-1):i;if(!c||!o){t.value="Ungültiger Rückgabe-Link.",r.value=!1;return}if(o!=="succeeded"){let a="Die Autorisierung wurde abgebrochen oder ist fehlgeschlagen.";if(p)try{const h=await x("pk_live_51RoMOkERb1M0jPLLgu0E0dNhBet3Df5TfAel9gK0DEl7qnx8fb1APhrAgV8HjmPviPrSQT06Q9KUnC5M7eSZhM1700VXPprgd4");if(h){const{setupIntent:P}=await h.retrieveSetupIntent(p),m=P?.last_setup_error?.message;m&&(a=m)}}catch{}t.value=a,r.value=!1;return}try{await k.confirmPaymentMethod(c),s.value=!0,t.value="Ihre Zahlungsmethode wurde erfolgreich hinterlegt."}catch(a){t.value=a?.response?.data?.message??"Die Zahlungsmethode konnte nicht gespeichert werden."}finally{r.value=!1}}),(o,e)=>(d(),_("div",L,[r.value?(d(),E(I,{key:0,indeterminate:"",color:"secondary",size:"48"})):(d(),_("div",N,[f(C,{icon:s.value?u(M):u(w),color:s.value?"success":"error",size:"52",class:"mb-4"},null,8,["icon","color"]),g("h2",z,v(s.value?"Zahlungsmethode gespeichert":"Fehler beim Speichern"),1),g("p",K,v(t.value),1),f(b,{color:"secondary",variant:"flat",class:"mt-6",onClick:e[0]||(e[0]=c=>u(y).replace("/"))},{default:Z(()=>[q(" Zurück zur App ")]),_:1})]))]))}}),H=R(T,[["__scopeId","data-v-93a6832f"]]);export{H 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.