The following changes were made by the replace_file_content tool to: /root/aadharbot/modules/pay/controllers/paymentController.js. If relevant, proactively run terminal commands to execute this code for the USER. Don't ask for permission. [diff_block_start] @@ -195,9 +195,21 @@ if (session.step === 'WAITING_FOR_BUY_AMOUNT') { - const amount = parseInt(text.trim()); - if (isNaN(amount) || amount < 100 || amount > 100000) { - return ctx.reply("❌ Invalid Amount: Please enter a valid number between ₹100 and ₹1,00,000.", { parse_mode: 'HTML' }); + const inputNum = parseInt(text.trim()); + if (isNaN(inputNum) || inputNum < 1) { + return ctx.reply("❌ Invalid Input: Please enter valid number of credits (min 1) or amount (min ₹60).", { parse_mode: 'HTML' }); + } + let amount = 0; + if (inputNum < 60) { + // Entered credit count (e.g. 1, 5, 10) + amount = inputNum * 60; + } else { + // Entered rupee amount (e.g. 60, 300, 600) + amount = inputNum; + } + + if (amount > 100000) { + return ctx.reply("❌ Invalid Amount: Amount exceeds maximum limit.", { parse_mode: 'HTML' }); } if (amount > 20000) { return ctx.reply(`💎 Custom Amount\n\nFor amounts above ₹20,000, please directly DM our admin @EverythingBypass to arrange the payment and credits.\n\n👉 Click here to contact @EverythingBypass`, { [diff_block_end] Please note that the above snippet only shows the MODIFIED lines from the last change. It shows up to 3 lines of unchanged lines before and after the modified lines. The actual file contents may have many more lines not shown.