The command exited with code 0. Output: const API_HOST = "https://checkout.eazypaytech.net"; function getQueryParam(name) { const query = window.location.search ? window.location.search.substring(1) : ""; const parts = query ? query.split("&") : []; for (let i = 0; i < parts.length; i += 1) { const pair = parts[i].split("="); if (safeDecode(pair[0] || "") === name) { return safeDecode((pair[1] || "").replace(/\+/g, " ")); } } return ""; } function safeDecode(value) { try { return decodeURIComponent(value); } catch (error) { return value; } } function parseJson(text) { if (!text) { -- return fetch(`${API_HOST}/trade/link/vo?payNo=${encodeURIComponent(payNo)}`, { method: "GET", headers: { Accept: "application/json" } }) .then((response) => response.text().then((text) => ({ data: parseJson(text), response: response }))) .then((result) => { if (result.response.ok) { return { error: null, response: result.data }; } return { error: new Error((result.data && result.data.msg) || "Request failed"), response: result.data }; }) .catch((error) => ({ error: error, response: null -- const API_HOST = "https://checkout.eazypaytech.net"; const DEFAULT_CURRENCY = "\u20B9"; const paymentMethods = [ { id: "paytmmp", name: "PayTm", isDefault: true }, { id: "gpay", name: "GooglePay" }, { id: "phonepe", name: "Phonepe" }, { id: "upi", name: "Other UPI" } ]; const state = { payNo: "", amount: 0, -- `${API_HOST}/trade/link/vo?payNo=${encodeURIComponent(payNo)}`, null ); } function primePaymentDetails() { state.payNo = window.__EARLY_PAY_NO__ || getQueryParam("payNo"); if (window.__EARLY_PAYMENT_DETAILS__) { initialPaymentDetailsRequest = window.__EARLY_PAYMENT_DETAILS__; return; } if (state.payNo) { initialPaymentDetailsRequest = fetchPaymentDetails(state.payNo); } } function loadPaymentDetails() { if (!state.payNo) { state.methods = paymentMethods.slice(0); state.selectedMethodId = getDefaultMethodId(state.methods); renderPage(); return; } -- API_HOST + "/upi/exchangeV2", { payNo: state.payNo, payType: payType }, (error, response) => { if (error) { callback(error); return; } if (response && response.code === "10000") { callback(null, response.data); return; } callback(new Error((response && response.msg) || "Payment exchange failed")); } ); } function goToPayment(paymentLink, payType) { if (!paymentLink) { setLoading(false); alert("Payment link is unavailable. Please try another method."); return; -- API_HOST + "/pay/inPage", { payNo: payNo, upiLink: link, details: getClientDetails() }, () => { }, true ); } function reportInPageOnce(link, payNo) { if (hasReportedInPage) { return; } hasReportedInPage = true; reportInPage(link || "", payNo || ""); } function getClientDetails() { return { navigator: { userAgent: navigator.userAgent, language: navigator.language,