Created At: 2026-11-18T04:46:40Z
Completed At: 2026-11-18T04:46:40Z
Command exited with code 0.
Command output:
// Send QR Image to user
const caption = `đŗ DEPOSIT QR GENERATED đŗ\n` +
`ââââââââââââââââââââââââââ\n` +
`đĩ Amount to Pay: âš${amount}\n` +
`đ Order ID: ${orderId}\n` +
`đĸ Serial No: ${serialNumber}\n` +
`đ
Date & Time: ${depositTime}\n\n` +
`
â ī¸ IMPORTANT: Pay the exact amount shown above. Do not reuse this QR code.\n\n` + `đ After payment, please type & send your 12-digit UTR/Ref No here (and upload a payment screenshot if possible).\n\n` + `(ā¤āĨā¤ā¤¤ā¤žā¤¨ ā¤āĨ ā¤Ŧā¤žā¤Ļ, ⤠ā¤Ēā¤¨ā¤ž 12-⤠ā¤ā¤āĨ⤠ā¤ā¤ž UTR/Ref ⤍ā¤ā¤Ŧ⤰ ā¤¯ā¤šā¤žā¤ ā¤˛ā¤ŋā¤ā¤ā¤° ā¤āĨā¤āĨ⤠ā¤ā¤° ā¤šāĨ ⤏ā¤āĨ ⤤āĨ ā¤ĒāĨā¤ŽāĨā¤ā¤ ⤏āĨā¤āĨ⤰āĨ⤍ā¤ļāĨ⤠ā¤āĨ ⤠ā¤Ē⤞āĨā¤Ą ā¤ā¤°āĨā¤āĨ¤)\n` + `ââââââââââââââââââââââââââ\n` + `đĄ Send /cancel to abort the payment.`; const qrMsg = await ctx.replyWithPhoto({ source: qrBuffer }, { caption: caption, parse_mode: 'HTML', ...Markup.inlineKeyboard([ [{ text: 'Cancel Payment', callback_data: 'CANCEL_PAY_ACTION', style: 'danger' }] ]) }); // Set a timer of 3 minutes (180,000 ms) to expire the QR code setTimeout(async () => { const currentSession = sessions[userId]; if (currentSession && currentSession.orderId === orderId && currentSession.step === 'WAITING_FOR_UTR') { // Delete the QR message await ctx.telegram.deleteMessage(ctx.chat.id, qrMsg.message_id).catch(() => { }); // Do NOT delete the session, keep it active so UTR can still be processed! // Notify the user with Order ID, Serial Number, and Action Buttons const expiredMsg = `â ī¸ Payment QR Expired / ā¤āĨ⤝āĨā¤ā¤° ā¤āĨā¤Ą ā¤¸ā¤Žā¤žā¤ĒāĨ⤤ ā¤šāĨ ā¤ā¤¯ā¤ž\n\n` + `
đĢ The 3-minute payment window has expired. Please generate a new payment QR if you want to proceed.\n\n` + `ââââââââââââââââââââââââââ\n` + `đ Order ID:`; await ctx.reply(expiredMsg, { parse_mode: 'HTML', ...Markup.inlineKeyboard([ [ { text: 'Submit UTR', callback_data: `SUBMIT_UTR_BTN_${orderId}`, style: 'primary' }, { text: 'Check Payment', callback_data: `verify_${orderId}`, style: 'success' } ], [ { text: 'Cancel', callback_data: 'CANCEL_PAY_ACTION', style: 'danger' } ] ]) }); } }, 180000); console.log(`[PAYMENT SUCCESS] QR Code sent to user ${userId}. Session set to WAITING_FOR_UTR.`);${orderId}\n` + `đĸ Serial No:${serialNumber}\n` + `đĩ Expected Amount:âš${amount}\n` + `ââââââââââââââââââââââââââ\n` + `đ Agar aapne already pay kar diya hai (If already paid):\n` + `Niche diye gaye buttons se UTR submit karein ya payment status verify karein.