The command exited with code 0. Output: 79:async function generateQR(requestUrl, amount) { 80- if (requestUrl && requestUrl.includes('monepay.xyz')) { 81- try { 82- console.log(`[GATEWAY] Following monepay redirect for: ${requestUrl}`); 83- const redirRes = await fetch(requestUrl, { 84- method: 'GET', 85- redirect: 'manual', 86- headers: { 87- 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36' 88- } 89- }); 90- const location = redirRes.headers.get('location'); 91- if (location && location.startsWith('http') && !location.includes('expired') && !location.includes('does not exist')) { 92- console.log(`[GATEWAY] monepay redirected to: ${location}`); 93- requestUrl = location; 94- } 95- } catch (e) { 96- console.warn(`[GATEWAY] monepay redirect follow failed:`, e.message); 97- } 98- } 99- 100- const parsedUrl = new URL(requestUrl); 101- const gatewayHost = parsedUrl.host; 102- const isDirectUpi = parsedUrl.searchParams.has('pa') || requestUrl.startsWith('upi://') || gatewayHost.includes('honeycombpro.io'); 103- const isGoldgo = gatewayHost.includes('goldgo.cc') || gatewayHost.includes('goldgo68.com') || gatewayHost.includes('goldgo'); 104- const isRynpp = gatewayHost.includes('rynpp.net'); 105- const isKivoPay = gatewayHost.includes('kivopay.top') || gatewayHost.includes('kivopay.com'); 106- const isIndiaPay = gatewayHost.includes('india-pay.net'); 107- const isEwalletPay = gatewayHost.includes('ewallet-pay.com'); 108- const isBluePay = gatewayHost.includes('blue-pay.vip'); 109- const isUpiPayments = gatewayHost.includes('upi-payments.com') || gatewayHost.includes('plan2wtion.com'); 110- const isZippay = gatewayHost.includes('zippay') || gatewayHost.includes('nine99pay'); 111- const isPayflow = gatewayHost.includes('payflowinr.com') || gatewayHost.includes('payflow'); 112- const isPlayBridge = gatewayHost.includes('play-bridge.in') || gatewayHost.includes('play-bridge') || gatewayHost.includes('vishnurummy'); 113- const isSsbasePay = gatewayHost.includes('ssbase.net') || parsedUrl.pathname.includes('airpay'); 114- const isCashwaysPay = gatewayHost.includes('cashways.net') || gatewayHost.includes('eazypaytech'); 115- const isBifrostPay = gatewayHost.includes('bifrost-pay.com') || gatewayHost.includes('bifrost'); 116- const isXmdhPay = gatewayHost.includes('xmdh.link') || gatewayHost.includes('xmdh') || parsedUrl.pathname.includes('checkoutPage'); 117- const isCoinPay = gatewayHost.includes('coinsll.com') || gatewayHost.includes('coinpay'); 118- 119- let orderId = null; 120- let nonce = null; 121- let tenantId = null; 122- let gatewayApiUrl = `https://${gatewayHost}`; 123- let qrBuffer = null; 124- let expectedDate = null; 125- 126- if (isDirectUpi) { 127- let upiUrl = requestUrl.startsWith('upi://') ? requestUrl : ('upi://pay' + parsedUrl.search); 128- if (!upiUrl.startsWith('upi://pay?')) { 129- upiUrl = upiUrl.replace(/^upi:\/\/[^?]*\?/, 'upi://pay?'); -- 1145: generateQR, 1146- uploadUtr 1147-};