pnxh2371/Ankit_mods_store_botPublic · Bot Template

ProfileTelegram

AI𝐀ɴᴋɪᴛ 𝐌ᴏᴅꜱ 𝐒ᴛᴏʀᴇ 🛍 appears to be a Telegram automation bot. Commands include /*, /addbal, /addbal_all, /addbal_binance, /addbal_binance_approve, /addbal_binance_paid, /addbal_upi, /addcat_id. Observed in code: messaging, http, libs, keyboards, payments.

Utilityutility
133 commands0 envUpdated 8h agoCreated Sep 10, 2026
Back to folder

commands/_check_buy.js

javascript · 45 lines

Raw
1/**#command2name: /check_buy3answer: 4keyboard: 5parse_mode: markdown6aliases: 7allow_only_group: false8need_reply: false9is_web: 010#command**/11 12try {13  var orderId = User.getProperty("buy_pending_order_id");14  var apiKey = Bot.getProperty("payment_api_key") || "FAM_0d41dd7b1eea19ba43ac4193bbd8f1c23b0c26bb5f471192";15 16  if (!orderId) {17    Api.answerCallbackQuery({18      callback_query_id: String(request.id),19      text: "⚠️ No active order found!",20      show_alert: true21    });22    return;23  }24 25  Api.editMessageCaption({26    chat_id: chat.chatid,27    message_id: request.message.message_id,28    caption: "⏳ <tg-emoji emoji-id='6192822213486321961'>🔄</tg-emoji> <b>Payment verify ho raha hai, kripya wait karein...</b>",29    parse_mode: "HTML"30  });31 32  var verifyUrl = "https://fampay.anujbots.xyz/verify.php?order_id=" +33    encodeURIComponent(String(orderId).trim()) +34    "&api_key=" + encodeURIComponent(String(apiKey).trim()) +35    "&cb=" + new Date().getTime();36 37  HTTP.get({38    url: verifyUrl,39    success: "/onBuyCheck",40    error: "/onBuyCheck"41  });42 43} catch (err) {44  Bot.sendMessage("⚠️ <b>Error:</b> " + err.message, { parse_mode: "HTML" });45}