<?php
// config.php - centralized settings (bot, db, site, gateway, owner)
// NOTE: keep this file secret (don't commit to public repos). Replace the YOUR_... placeholders.

return [
    // BOT
    'bot_token' => '8575268341:AAHx1LBQwqW3sDcM3MyBpvNQz7TL9KsEKw4',
    
    //MAIL BOT
    'mail_userbot_id' => 7532582412, // <== Telegram user ID of your VPS Userbot
    'mail_userbot_chat_id' => 7532582412, // usually same as above (DM chat with your userbot)
    
    // OWNER DETAILS
    'owner_chat_id' => '6842239034',        // Telegram numeric user ID (string ok)
    'owner_username' => 'StationOwner',     // without @ (used for "Direct Purchase")

    // DB DETAILS
    'db' => [
        'host'    => 'localhost',
        'name'    => 'apitechs_store',
        'user'    => 'apitechs_store',
        'pass'    => 'apitechs_store',
        'charset' => 'utf8mb4'
    ],

    // BASE URL (used to build upload & callback URLs)
    'site_url' => 'https://api-tech.shop/bot',

    // SITE / MERCHANT DISPLAY NAME (used inside UPI payment 'pn' field)
    'site_name' => 'Bgmi iD Store',

    // PAYTM / UPI (fill these)
    // - paytm_upi_id is the UPI ID used to generate UPI QR (e.g. merchant@upi)
    // - PAYTM_MERCHANT_ID and PAYTM_MERCHANT_KEY are used to call Paytm merchant-status API
    // The webhook code will accept either uppercase or lowercase keys but prefer filling both for safety.
    'paytm_upi_id' => 'paytm.s1p4wde@pty',               // <-- replace with your UPI id
    'PAYTM_MERCHANT_ID' => 'IXQgjj66352412386638',        // <-- replace with your MID (production)
    'PAYTM_MERCHANT_KEY' => 'IXQgjj66352412386638',       // <-- replace with your merchant key (production)
    // duplicates in lowercase (some code variants check these names)
    'paytm_merchant_id' => 'IXQgjj66352412386638',
    'paytm_merchant_key' => 'IXQgjj66352412386638',

    // Paytm environment: 'production' or 'staging' (affects which endpoint you should call).
    // The webhook uses production endpoint by default; change to 'staging' if you want test flow.
    'paytm_env' => 'production',

    // CHANNEL BROADCASTING FOR SALE NOTIFICATIONS
    'notify_channels' => true,  // enable /disable channel broadcasting

    // UI / text options
    'currency' => '₹', // INR sign used in labels
];