PageSourceSearch

https://www.florista.ph/_next/static/chunks/pages/payment-success/[slug]-da229295d3d4868b.js

js florista.ph collected 2026-10-08 21:59:52 UTC 7,544 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1866],{8933:function(n,l,e){(window.__NEXT_P=window.__NEXT_P||[]).push(["/payment-success/[slug]",function(){return e(2808)}])},2808:function(n,l,e){"use strict";e.r(l),e.d(l,{__N_SSP:function(){return _}});var i=e(5893),o=e(7294);e(5675);var d=e(9008),s=e.n(d),r=e(1664),c=e.n(r),t=e(9359),a=e(1163),u=e(9734);e(3299);var v=e(822),_=!0;l.default=function(n){var l,e,d;let{data:r}=n;(0,a.useRouter)();let[_,...p]=null==r?void 0:null===(l=r.result)||void 0===l?void 0:null===(e=l.order_result)||void 0===e?void 0:e.ship_name.split(" "),h=p.join(" ");return(0,o.useEffect)(()=>{(0,u.JG)("/get_cart_item_count")},[]),(0,o.useEffect)(()=>{(async function(){var n,l,e,i,o,d,s,c,t,a,u,p,m,j,x,y,g,f,w,b,E,P,I,S,A,L,T,Z,D,N,O,k,G;let M='\n    window.dataLayer = window.dataLayer || [];\n    dataLayer.push({ ecommerce: null });\n    dataLayer.push({\n      event: "purchase",\n      email: "'.concat(null==r?void 0:null===(n=r.result)||void 0===n?void 0:null===(l=n.order_result)||void 0===l?void 0:l.bill_email,'",\n      phone_number: "').concat(null==r?void 0:null===(e=r.result)||void 0===e?void 0:null===(i=e.order_result)||void 0===i?void 0:i.ship_mobile,'",\n      first_name: "').concat(_,'",\n      last_name: "').concat(h,'",\n      country: "').concat(null==r?void 0:null===(o=r.result)||void 0===o?void 0:null===(d=o.order_result)||void 0===d?void 0:d.ship_country,'",\n      postal_code: "').concat((null==r?void 0:null===(s=r.result)||void 0===s?void 0:null===(c=s.order_result)||void 0===c?void 0:c.ship_zip)||0,'", \n      city: "').concat(null==r?void 0:null===(t=r.result)||void 0===t?void 0:null===(a=t.order_result)||void 0===a?void 0:a.ship_city,'",\n      ecommerce: {\n        transaction_id: "').concat(null==r?void 0:null===(u=r.result)||void 0===u?void 0:null===(p=u.order_result)||void 0===p?void 0:p.order_reference,'",\n       \n       currency: "').concat(null==r?void 0:null===(m=r.result)||void 0===m?void 0:null===(j=m.order_result)||void 0===j?void 0:j.currency,'",\n        value: ').concat((null==r?void 0:null===(x=r.result)||void 0===x?void 0:null===(y=x.order_total)||void 0===y?void 0:y.total)||0,', \n        coupon: "').concat((null==r?void 0:null===(g=r.result)||void 0===g?void 0:null===(f=g.order_result)||void 0===f?void 0:null===(w=f.coupon_code_data)||void 0===w?void 0:w.promo_code)||"",'",\n        discount: ').concat((null==r?void 0:null===(b=r.result)||void 0===b?void 0:null===(E=b.order_total)||void 0===E?void 0:E.discount)||0,",\n        shipping: ").concat(null==r?void 0:null===(P=r.result)||void 0===P?void 0:null===(I=P.order_total)||void 0===I?void 0:I.del_amount,",\n        items: [\n          ").concat(null==r?void 0:null===(S=r.result)||void 0===S?void 0:null===(A=S.order_items)||void 0===A?void 0:A.map((n,l)=>{var e;return'\n              {\n                item_id: "'.concat((null==n?void 0:n.product_unique_id)||"",'",\n                item_name: "').concat((null==n?void 0:n.product_name)||"",'",\n                item_brand: "').concat("Florista.ph",'",\n                price: ').concat((null==n?void 0:n.total_price)||0,',\n                id: "').concat((null==n?void 0:n.product_unique_id)||"",'",\n                google_business_vertical: "retail"\n              }').concat(l<(null==r?void 0:null===(e=r.result)||void 0===e?void 0:e.order_items.length)-1?",":"","\n            ")}).join(""),"\n        ]\n      }\n    });\n\n  window.renderOptIn = function() {  \n  window.gapi.load('surveyoptin', \n      function() {\n      window.gapi.surveyoptin.render({\n          \"merchant_id\": ").concat("5592023908",',\n          "order_id": "').concat(null==r?void 0:null===(L=r.result)||void 0===L?void 0:null===(T=L.order_result)||void 0===T?void 0:T.order_no,'",\n          "email": "').concat(null==r?void 0:null===(Z=r.result)||void 0===Z?void 0:null===(D=Z.order_result)||void 0===D?void 0:D.bill_email,'",\n          "delivery_country": "').concat(null==r?void 0:null===(N=r.result)||void 0===N?void 0:null===(O=N.order_result)||void 0===O?void 0:O.ship_country_iso_code,'",\n          "estimated_delivery_date":"').concat(v.Z.formateDate({date:null==r?void 0:null===(k=r.result)||void 0===k?void 0:null===(G=k.order_result)||void 0===G?void 0:G.del_date,formate:"YYYY-MM-DD"}),'"\n          \n      });\n    });\n  }\n'),R=document.createElement("script");R.innerHTML=M,document.head.appendChild(R),()=>{document.head.removeChild(R)}})()},[r]),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(s(),{children:[(0,i.jsx)("title",{children:"Payment Success"}),(0,i.jsx)("script",{src:"https://apis.google.com/js/platform.js?onload=renderOptIn",async:!0,defer:!0})]}),(0,i.jsx)("div",{class:"payment-page-logo",children:(0,i.jsx)(c(),{href:"/",children:(0,i.jsx)("figure",{children:(0,i.jsx)("img",{alt:"logo",src:"".concat(t.Z.SITE_IMAGE_
1URL,"logo.webp"),width:"500",height:"105"})})})}),(0,i.jsx)("div",{class:"payment-success-page",children:(0,i.jsxs)("div",{class:"container",children:[(0,i.jsx)("div",{class:"row",children:(0,i.jsx)("div",{class:"col-md-12",children:(0,i.jsxs)("div",{class:"success-box",children:[(0,i.jsx)("div",{class:"checkmark",children:(0,i.jsx)("i",{class:"fa-solid fa-check"})}),(0,i.jsx)("p",{class:"success-text",children:"Payment Successful!"}),(0,i.jsx)("p",{class:"details",children:null==r?void 0:r.message})]})})}),(0,i.jsx)("div",{class:"row",children:(0,i.jsx)("div",{class:"col-md-12",children:(0,i.jsxs)("div",{class:"order-box-payment",children:[null==r?void 0:null===(d=r.result)||void 0===d?void 0:d.order_data.map((n,l)=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("div",{class:"info-row",children:[(0,i.jsxs)("div",{class:"left-payment-success",children:[(0,i.jsxs)("div",{class:"order-id",children:[(0,i.jsx)("span",{children:"Order ID:"}),null==n?void 0:n.order_no]}),(0,i.jsxs)("div",{class:"order-id",children:[(0,i.jsx)("span",{children:"Total Amount:"}),null===v.Z||void 0===v.Z?void 0:v.Z.getPriceAndCurrency({curency:null==n?void 0:n.payment_currency_code,value:null==n?void 0:n.pay_amount})]})]}),(0,i.jsxs)("div",{class:"right-payment-success",children:[(0,i.jsxs)("div",{class:"order-id",children:[(0,i.jsx)("span",{children:"Delivery Date:"}),null==n?void 0:n.delivery_date_label]}),(0,i.jsxs)("div",{class:"order-id",children:[(0,i.jsx)("span",{children:"Delivery Time:"}),null==n?void 0:n.del_time]})]})]}),null==n?void 0:n.order_items.map((n,l)=>(0,i.jsx)(i.Fragment,{children:(0,i.jsxs)("div",{class:"payment-product-row",children:[(0,i.jsx)("img",{src:"".concat(null==r?void 0:r.image_path).concat(null==n?void 0:n.item_image),width:"100",height:"100"}),(0,i.jsx)("h3",{children:null==n?void 0:n.item_name})]})}))]})),t.Z.HAS_APP>0&&(0,i.jsxs)("div",{class:"success-page-app-btn",children:[(0,i.jsx)("h4",{children:"Download Our App"}),(0,i.jsxs)("div",{class:"app-button-section",children:[(0,i.jsxs)("a",{class:"app-button",href:t.Z.PLAY_STORE_LINK,children:[(0,i.jsx)("img",{src:"".concat(t.Z.SITE_IMAGE_URL,"playstore-icon.png"),width:"25",height:"25",alt:"Play Store Icon"}),(0,i.jsxs)("p",{children:[(0,i.jsx)("span",{children:"Get it on"}),"Google Play"]})]}),(0,i.jsxs)(c(),{class:"app-button apple-icon",href:t.Z.APP_STORE_LINK,children:[(0,i.jsx)("img",{src:"".concat(t.Z.SITE_IMAGE_URL,"apple-logo.png"),width:"25",height:"25",alt:"Play Store Icon"}),(0,i.jsxs)("p",{children:[(0,i.jsx)("span",{children:"Download on the"}),"App Store"]})]})]})]})]})})})]})})]})}}},function(n){n.O(0,[9774,2888,179],function(){return n(n.s=8933)}),_N_E=n.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.