The command exited with code 0. Output: 362: const qrMsg = await ctx.replyWithPhoto({ source: qrBuffer }, { 363- caption: caption, 364- parse_mode: 'HTML', 365- ...Markup.inlineKeyboard([ 366- [{ text: 'Cancel Payment', callback_data: 'CANCEL_PAY_ACTION', style: 'danger' }] 367- ]) 368- }); 369- 370- // Set a timer of 3 minutes (180,000 ms) to expire the QR code 371- setTimeout(async () => { 372- const currentSession = sessions[userId]; 373- if (currentSession && currentSession.orderId === orderId && currentSession.step === 'WAITING_FOR_UTR') { 374- // Delete the QR message 375- await ctx.telegram.deleteMessage(ctx.chat.id, qrMsg.message_id).catch(() => { }); 376- 377- // Do NOT delete the session, keep it active so UTR can still be processed! 378- // Notify the user with Order ID, Serial Number, and Action Buttons 379- const expiredMsg = `⚠️ Payment QR Expired / क्यूआर कोड समाप्त हो गया\n\n` + 380- `
🚫 The 3-minute payment window has expired. Please generate a new payment QR if you want to proceed.\n\n` +
381- `━━━━━━━━━━━━━━━━━━━━━━━━━━\n` +
382- `🆔 Order ID: ${orderId}\n` +