@extends('layouts.app') @section('content')

Notification Settings

Configure notification channels for order tracking

@if(session('success'))
{{ session('success') }}
@endif @if($errors->any())
    @foreach($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif

Telegram Order Notifications

All orders will be sent to your Telegram group/channel for easy tracking and backup. Free and reliable!

@csrf @method('PUT')

Bot Configuration

Create a bot using @BotFather on Telegram

Get this from @BotFather after creating your bot

Use @userinfobot or @getidsbot to get your chat ID

Notification Settings

telegram_enabled ?? false) ? 'checked' : '' }} class="h-4 w-4 text-blue-600 focus:ring-blue-500 border-gray-300 rounded">
telegram_notify_on_order ?? true) ? 'checked' : '' }} class="h-4 w-4 text-blue-600 focus:ring-blue-500 border-gray-300 rounded">

Message Template

Customize your Telegram notification message using these variables:

Available Variables:

{order_number}
{global_order_id}
{seller_name}
{seller_short_name}
{customer_name}
{customer_phone}
{customer_email}
{customer_address}
{total}
{subtotal}
{shipping_total}
{discount_total}
{currency}
{product_list}
{order_source}
{order_status}
{order_date}
{order_url}
{tracking_number}
{courier}
{payment_method}

💡 Tip: You can use emojis, line breaks (\n), and rearrange the variables however you like!

Setup Instructions

  1. Create a Bot
    • Open Telegram and search for @BotFather
    • Send /newbot command
    • Follow instructions to create your bot
    • Copy the bot token provided by BotFather
  2. Get Chat ID
    • For group: Add your bot to the group, then use @getidsbot
    • For private chat: Message @userinfobot
    • Copy the chat ID (starts with - for groups)
  3. Configure Settings
    • Paste Bot Token and Chat ID in the fields above
    • Click "Test Connection" to verify
    • Enable notifications
    • Click "Save Settings"
Cancel
@endsection