@extends('layouts.dashboard') @section('title', 'WhatsApp Gateway Trial') @section('page-title', 'WhatsApp Gateway Trial') @section('content')
@if(session('success')) @endif @if(session('error')) @endif
Connection Status
@if($status === 'connected')

Connected

Logged in as: +{{ $phoneNumber }}

@csrf
@elseif($status === 'qr' && $qrCode)
Scan QR Code

Open WhatsApp on your mobile, go to Linked Devices, and scan this QR code to authenticate the gateway.

WhatsApp QR Code
Waiting for connection...
@else

Disconnected

The gateway is not connected or initialized.

Checking status or service starting up...
@endif
Send Test Message
@csrf
Include country code (e.g. 91 for India) without '+' prefix or spaces.
Provide a direct link to the image/document file.
Recent Gateway Activity
Last 50 Logs
@forelse($logs as $log) @empty @endforelse
ID Recipient Type Template ID Status Response Detail Time
#{{ $log->id }} +{{ $log->mobile }} {{ $log->message_type }} {{ $log->template_id ?? '-' }} @if($log->status === 'sent') Sent @elseif($log->status === 'queued') Queued @else Failed @endif {{ $log->response }} {{ $log->inserted_on }}
No Logs Recorded

Gateway actions and send attempts will be displayed here.

@endsection