ashoksarande3/ASHOK_HACK_STORE_BOTPublic · Bot Template

AIThis bot operates as a commercial storefront for selling Free Fire game hacks and cheats via UPI QR code payments. It features a dynamic pricing system with separate normal and reseller prices, product plans with flexible durations (days, hours, minutes), and a reseller program requiring a one-time upgrade fee. The bot handles payment verification through QR code generation and expiry tracking, user verification via Telegram contact sharing, and admin tools for stock management, plan creation, and ownership transfer. It includes a balance system, maintenance mode, and Telegram Stars payment fallback. The codebase uses TeleBotHost's TBL JavaScript APIs (Bot, Api, HTTP, db properties, Libs) for all logic.

Commercefreefiregame-hacksupi-paymentsqr-codesreseller-systemdynamic-pricing
ProfileTelegram
102 commands0 envUpdated 16d agoCreated Aug 22, 2026
Back to folder

commands/_check_buy.js

javascript · 42 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 = "FAM_eb2237ad31516f7245aec065a681ecdd05aa742dad2e2bba";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=" + encodeURIComponent(orderId) + "&api_key=" + encodeURIComponent(apiKey);33 34  HTTP.get({35    url: verifyUrl,36    success: "/onBuyCheck",37    error: "/onBuyCheck"38  });39 40} catch (err) {41  Bot.sendMessage("⚠️ <b>Error:</b> " + err.message, { parse_mode: "HTML" });42}