1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8069],{4126:function(a,b,c){(window.__NEXT_P=window.__NEXT_P||[]).push(["/pagos/wompi/respuesta",function(){return c(81471)}])},87078:function(a,b,c){"use strict";var d=c(26042),e=c(69396),f=c(99534),g=c(85893);c(67294);var h=c(41664),i=c.n(h),j=c(25675),k=c.n(j),l=c(62192),m=c(40086),n=function(a){var b=a.children,c=a.title,h=a.description,j=(0,f.Z)(a,["children","title","description"]);return(0,g.jsx)(l.Z,(0,e.Z)((0,d.Z)({title:c,description:h,noFooter:!0,loadWompi:!0,loadEpayco:!0,header:(0,g.jsx)("header",{className:"py-4 md:h-20 z-20 flex items-center border-b border-color",children:(0,g.jsx)(m.W2,{fullWidth:!0,children:(0,g.jsxs)("div",{className:"flex justify-between items-center",children:[(0,g.jsx)("div",{children:(0,g.jsx)("div",{className:"w-20 md:w-24",children:(0,g.jsx)(i(),{href:"/",children:(0,g.jsx)("a",{children:(0,g.jsx)(k(),{src:"https://static.roadtrip.travel/ui/logo.svg",alt:"Road Trip Logo",title:"Road Trip",className:"w-full",layout:"responsive",width:96,height:38.7})})})})}),(0,g.jsxs)("div",{className:"flex items-center justify-end",children:[(0,g.jsx)("i",{className:"mdi mdi-shield-check-outline text-rt-blue text-xl md:text-2xl mr-2"}),(0,g.jsx)("span",{className:"text-xs md:text-sm text-gray-500",children:"Compra 100% segura"})]})]})})})},j),{children:b}))};b.Z=n},81471:function(a,b,c){"use strict";c.r(b),c.d(b,{"__N_SSG":function(){return q}});var d=c(47568),e=c(34051),f=c.n(e),g=c(85893),h=c(67294),i=c(11163),j=c(41664),k=c.n(j),l=c(40086),m=c(87078),n=c(77946),o=c(22403),p=function(){var a=(0,h.useState)(!0),b=a[0],c=a[1],e=(0,h.useState)(!0),j=e[0],p=e[1],q=(0,i.useRouter)(),r=q.query.id;return(0,h.useEffect)(function(){var a,b=(a=(0,d.Z)(f().mark(function a(){var b;return f().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,(0,o.DN)(r);case 3:p((b=a.sent).data.data),a.next=11;break;case 7:a.prev=7,a.t0=a.catch(0),(0,n.dd)(a.t0),(0,o.cd)(a.t0);case 11:c(!1);case 12:case"end":return a.stop()}},a,null,[[0,7]])})),function(){return a.apply(this,arguments)});r&&b()},[r]),(0,g.jsx)(m.Z,{title:"Respuesta de la transacci\xf3n | Road Trip",description:"",children:(0,g.jsx)("section",{className:"py-16",children:(0,g.jsxs)(l.W2,{className:"max-w-screen-sm",children:[(0,g.jsx)("h1",{className:"font-semibold text-3xl tracking-wide mb-8 text-center",children:"Respuesta de la transacci\xf3n"}),b?(0,g.jsx)(l.$j,{}):(0,g.jsx)(g.Fragment,{children:r&&j.status?(0,g.jsxs)(g.Fragment,{children:["APPROVED"===j.status&&(0,g.jsx)("h2",{className:"confirmed-reservation font-semibold text-2xl tracking-wide mb-12 text-center text-rt-green",children:"Transaccion Aprobada"}),"DECLINED"===j.status&&(0,g.jsxs)("h2",{className:"font-semibold text-2xl tracking-wide mb-12 text-center text-rt-red",children:["Transaccion Rechazada"," ",(0,g.jsx)("i",{className:"mdi mdi-close-circle"})]}),"VOIDED"===j.status&&(0,g.jsxs)("h2",{className:"font-semibold text-2xl tracking-wide mb-12 text-center text-rt-red",children:["Transaccion anulada"," ",(0,g.jsx)("i",{className:"mdi mdi-close-circle"})]}),"ERROR"===j.status&&(0,g.jsxs)("h2",{className:"font-semibold text-2xl tracking-wide mb-12 text-center text-rt-red",children:["Transaccion Fallida"," ",(0,g.jsx)("i",{className:"mdi mdi-close-circle"})]}),(0,g.jsxs)("div",{className:"grid sm:grid-cols-2 gap-4 border border-color rounded-lg p-4 mb-6",children:[(0,g.jsx)("div",{className:"font-semibold",children:"Estado"}),(0,g.jsx)("div",{className:"sm:text-right",id:"wompi-response-status",children:n._G.lP[j.status]}),(0,g.jsx)("div",{className:"font-semibold",children:"Mensaje de estado"}),(0,g.jsx)("div",{className:"sm:text-right",children:j.status_message}),(0,g.jsx)("div",{className:"font-semibold",children:"Referencia"}),(0,g.jsx)("div",{className:"sm:text-right",id:"wompi-response-reference",children:j.reference}),(0,g.jsx)("div",{className:"font-semibold",children:"Transacci\xf3n #"}),(0,g.jsx)("div",{className:"sm:text-right",id:"wompi-response-transaction",children:j.id}),(0,g.jsx)("div",{className:"font-semibold",children:"Total"}),(0,g.jsxs)("div",{className:"sm:text-right",id:"wompi-response-amount",children:["COP"," ",(0,g.jsx)(l.A3,{value:j.amount_in_cents/100})]}),(0,g.jsx)("div",{className:"font-semibold",children:"M\xe9todo de pago"}),(0,g.jsx)("div",{className:"sm:text-right",children:"Transferencia Bancolombia"}),(0,g.jsx)("div",{className:"font-semibold",children:"Fecha"}),(0,g.jsx)("div",{className:"sm:text-right uppercase",children:(0,g.jsx)(l.t6,{date:j.created_at})})]})]}):(0,g.jsx)(l.bZ,{type:"error",show:!0,title:"Error de ID",body:"No es un ID de transacci\xf3n Wompi v\xe1lido, no se han encontrado datos sobre esta transacci\xf3n.",className:"mb-12"})}),(0,g.jsxs)("div",{className:"grid sm:grid-cols-2 justify-center items-center gap-4 mb-6",children:[(0,g.jsx)("div",{children:(0,g.jsx)("img",{src:"/img/logo-wompi.svg",className:"w-28 mx-auto
1sm:mx-0",alt:"Logo Wompi",title:"Wompi pagos en l\xednea"})}),(0,g.jsx)("div",{children:(0,g.jsx)("img",{src:"/img/logo-bancolombia.png",className:"w-44 sm:ml-auto mx-auto sm:mx-0",alt:"Logo Bancolombia",title:"Bancolombia"})})]}),(0,g.jsx)("div",{className:"text-center",children:(0,g.jsx)(k(),{href:"/",children:(0,g.jsx)("a",{children:(0,g.jsx)(l.zx,{className:"mt-4 focus:ring-0 focus:outline-none btn py-2 px-6 text-normal font-medium bg-rt-dark text-white hover:bg-opacity-90 mb-4",children:"Regresar"})})})})]})})})},q=!0;b.default=p}},function(a){a.O(0,[4885,8464,939,442,2812,2192,9774,2888,179],function(){var b;return a(a.s=4126)}),_N_E=a.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.