{"File":"/root/aadharbot/gateways.js","LineNumber":6,"LineContent":" * Decrypts AES-128-ECB zero-padded payloads from India-Pay gateway."} {"File":"/root/aadharbot/gateways.js","LineNumber":44,"LineContent":" * @returns {Promise\u003c{ qrBuffer: Buffer, orderId: string, nonce: string|null, expectedDate: string|null, isGoldgo: boolean, isRynpp: boolean, isIndiaPay: boolean, isEwalletPay: boolean, tenantId: string|null, gatewayHost: string, gatewayApiUrl: string }\u003e}"} {"File":"/root/aadharbot/gateways.js","LineNumber":68,"LineContent":" const gatewayHost = parsedUrl.host;"} {"File":"/root/aadharbot/gateways.js","LineNumber":69,"LineContent":" const isDirectUpi = parsedUrl.searchParams.has('pa') || requestUrl.startsWith('upi://') || gatewayHost.includes('honeycombpro.io');"} {"File":"/root/aadharbot/gateways.js","LineNumber":70,"LineContent":" const isGoldgo = gatewayHost.includes('goldgo.cc') || gatewayHost.includes('goldgo68.com') || gatewayHost.includes('goldgo');"} {"File":"/root/aadharbot/gateways.js","LineNumber":71,"LineContent":" const isRynpp = gatewayHost.includes('rynpp.net');"} {"File":"/root/aadharbot/gateways.js","LineNumber":72,"LineContent":" const isKivoPay = gatewayHost.includes('kivopay.top') || gatewayHost.includes('kivopay.com');"} {"File":"/root/aadharbot/gateways.js","LineNumber":73,"LineContent":" const isIndiaPay = gatewayHost.includes('india-pay.net');"} {"File":"/root/aadharbot/gateways.js","LineNumber":74,"LineContent":" const isEwalletPay = gatewayHost.includes('ewallet-pay.com');"} {"File":"/root/aadharbot/gateways.js","LineNumber":75,"LineContent":" const isBluePay = gatewayHost.includes('blue-pay.vip');"} {"File":"/root/aadharbot/gateways.js","LineNumber":76,"LineContent":" const isUpiPayments = gatewayHost.includes('upi-payments.com') || gatewayHost.includes('plan2wtion.com');"} {"File":"/root/aadharbot/gateways.js","LineNumber":77,"LineContent":" const isZippay = gatewayHost.includes('zippay') || gatewayHost.includes('nine99pay');"} {"File":"/root/aadharbot/gateways.js","LineNumber":78,"LineContent":" const isPayflow = gatewayHost.includes('payflowinr.com') || gatewayHost.includes('payflow');"} {"File":"/root/aadharbot/gateways.js","LineNumber":79,"LineContent":" const isPlayBridge = gatewayHost.includes('play-bridge.in') || gatewayHost.includes('play-bridge');"} {"File":"/root/aadharbot/gateways.js","LineNumber":80,"LineContent":" const isBifrostPay = gatewayHost.includes('bifrost-pay.com') || gatewayHost.includes('bifrost');"} {"File":"/root/aadharbot/gateways.js","LineNumber":85,"LineContent":" let gatewayApiUrl = `https://${gatewayHost}`;"} {"File":"/root/aadharbot/gateways.js","LineNumber":95,"LineContent":" console.log(`[GATEWAY] Direct UPI gateway detected (${gatewayHost}). Order ID: ${orderId}, UPI: ${upiUrl}`);"} {"File":"/root/aadharbot/gateways.js","LineNumber":109,"LineContent":" const payRes = await fetch(`https://${gatewayHost}/api/v1/payin/payment`, {"} {"File":"/root/aadharbot/gateways.js","LineNumber":113,"LineContent":" 'Origin': `https://${gatewayHost}`,"} {"File":"/root/aadharbot/gateways.js","LineNumber":114,"LineContent":" 'Referer': `https://${gatewayHost}/`,"} {"File":"/root/aadharbot/gateways.js","LineNumber":149,"LineContent":" 'Origin': `https://${gatewayHost}`,"} {"File":"/root/aadharbot/gateways.js","LineNumber":150,"LineContent":" 'Referer': `https://${gatewayHost}/`,"} {"File":"/root/aadharbot/gateways.js","LineNumber":184,"LineContent":" const payRes = await fetch(`https://${gatewayHost}/pay/gateway/getPaymentUrl?orderId=${orderId}`, {"} {"File":"/root/aadharbot/gateways.js","LineNumber":187,"LineContent":" 'Origin': `https://${gatewayHost}`,"} {"File":"/root/aadharbot/gateways.js","LineNumber":188,"LineContent":" 'Referer': `https://${gatewayHost}/`,"} {"File":"/root/aadharbot/gateways.js","LineNumber":219,"LineContent":" 'Origin': `https://${gatewayHost}`,"} {"File":"/root/aadharbot/gateways.js","LineNumber":220,"LineContent":" 'Referer': `https://${gatewayHost}/`,"} {"File":"/root/aadharbot/gateways.js","LineNumber":266,"LineContent":" // Formulate API Host from prefix in gatewayHost"} {"File":"/root/aadharbot/gateways.js","LineNumber":267,"LineContent":" const parts = gatewayHost.split('.');"} {"File":"/root/aadharbot/gateways.js","LineNumber":269,"LineContent":" gatewayApiUrl = `https://${parts[0]}api.${parts.slice(1).join('.')}`;"} {"File":"/root/aadharbot/gateways.js","LineNumber":271,"LineContent":" gatewayApiUrl = `https://inipaypayapi.india-pay.net`; // Fallback"} {"File":"/root/aadharbot/gateways.js","LineNumber":273,"LineContent":" console.log(`[GATEWAY] India-Pay API URL: ${gatewayApiUrl}`);"} {"File":"/root/aadharbot/gateways.js","LineNumber":275,"LineContent":" const payRes = await fetch(`${gatewayApiUrl}/safePay`, {"} {"File":"/root/aadharbot/gateways.js","LineNumber":279,"LineContent":" 'Origin': `https://${gatewayHost}`,"} {"File":"/root/aadharbot/gateways.js","LineNumber":280,"LineContent":" 'Referer': `https://${gatewayHost}/`,"} {"File":"/root/aadharbot/gateways.js","LineNumber":334,"LineContent":" gatewayApiUrl = `https://cashierapi.mosspays.com`;"} {"File":"/root/aadharbot/gateways.js","LineNumber":336,"LineContent":" const payRes = await fetch(`${gatewayApiUrl}/v2/payment?orderId=${orderId}`, {"} {"File":"/root/aadharbot/gateways.js","LineNumber":339,"LineContent":" 'Origin': `https://${gatewayHost}`,"} {"File":"/root/aadharbot/gateways.js","LineNumber":340,"LineContent":" 'Referer': `https://${gatewayHost}/`,"} {"File":"/root/aadharbot/gateways.js","LineNumber":371,"LineContent":" const targetHost = gatewayHost.includes('pay.') ? gatewayHost : `pay.${gatewayHost.replace('cashiernew.', '')}`;"} {"File":"/root/aadharbot/gateways.js","LineNumber":372,"LineContent":" gatewayApiUrl = `https://${targetHost}`;"} {"File":"/root/aadharbot/gateways.js","LineNumber":380,"LineContent":" const payRes = await fetch(`${gatewayApiUrl}/findRealChannel?type=5\u0026orderId=${orderId}\u0026queryQR=1`, {"} {"File":"/root/aadharbot/gateways.js","LineNumber":383,"LineContent":" 'Origin': `https://${gatewayHost}`,"} {"File":"/root/aadharbot/gateways.js","LineNumber":384,"LineContent":" 'Referer': `https://${gatewayHost}/`,"} {"File":"/root/aadharbot/gateways.js","LineNumber":428,"LineContent":" gatewayApiUrl = `https://${gatewayHost}`;"} {"File":"/root/aadharbot/gateways.js","LineNumber":430,"LineContent":" const payRes = await fetch(`${gatewayApiUrl}/trade/cashier/info?userIdentify=null\u0026orderId=${orderId}`, {"} {"File":"/root/aadharbot/gateways.js","LineNumber":433,"LineContent":" 'Origin': `https://${gatewayHost}`,"} {"File":"/root/aadharbot/gateways.js","LineNumber":482,"LineContent":" gatewayApiUrl = `https://${gatewayHost}`;"} {"File":"/root/aadharbot/gateways.js","LineNumber":495,"LineContent":" const buildRes = await fetch(`${gatewayApiUrl}/prod-checkout-api/build/v2/buildInfo?payOrderId=${encodeURIComponent(encryptedOrderId)}\u0026os=Windows\u0026osVersion=10\u0026deviceType=PC\u0026browser=Chrome\u0026browserVersion=120.0.0.0`, {"} {"File":"/root/aadharbot/gateways.js","LineNumber":498,"LineContent":" 'Origin': `https://${gatewayHost}`,"} (...64 more results not shown)