PageSourceSearch

https://accenthub.com.ph/assets/CancelledPayment-Bj21P_b8.js

js accenthub.com.ph collected 2026-10-06 04:24:05 UTC 1,139 bytes, 1 lines download raw bytes

1import{k as o,r,j as e,a8 as l,g as d}from"./index-Dw2ZczCm.js";const h=()=>{const{order_id:s}=o(),[i,n]=r.useState(),[m,a]=r.useState(!1);return r.useEffect(()=>{(async()=>{try{a(!0);const{data:t,message:c}=await d(`/Products/EcomOrderListByOrderId?order_id=${s}`);if(!t)throw c?new Error(c):new Error("No data returned from API");n(t[0]),a(!1)}catch(t){console.log("Error fetching data:",t)}})()},[s]),e.jsx("div",{className:"container d-flex align-items-center justify-content-center",style:{height:"100vh"},children:e.jsx("div",{className:"row align-items-center justify-content-center",children:e.jsxs("div",{className:"col-12 d-flex flex-column",children:[e.jsx(l,{size:100,color:"red",style:{margin:"auto"}}),e.jsx("h3",{className:"text-center",children:"Payment canceled"}),e.jsx("p",{className:"text-muted text-center",children:"You have canceled the payment process. No charges were made."}),e.jsx("div",{className:"d-flex flex-column flex-md-row gap-2 mt-3",children:e.jsx("button",{className:"btn btn-outline-danger w-100 w-md-50",onClick:()=>{window.close()},children:"Back to Checkout page"})})]})})})};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.