@php $cred = $existing && $existing->provider === 'baileys' ? $existing->creds() : []; $sharedUrl = (string) \App\Models\SystemSetting::get('baileys_server_url', env('SERVER_URL', '')); @endphp

{{ __('Pair your') }} {{ __('phone') }}.

{{ __("Enter the WhatsApp number you want to use. We'll generate a QR — open WhatsApp on that phone → Settings → Linked Devices → Link a device → scan.") }}

{{ __('Enter your phone number, then click Generate QR.') }}
{{ __('How it works') }}
{{ __('Once paired, your phone runs in the background — every send goes out from this WhatsApp account. Keep the phone online with internet for sends to fly.') }}
@if ($existing && $existing->provider === 'baileys' && $existing->isConnected())
{{ __("You're connected ✓") }}
{{ __('Phone:') }} {{ $existing->phone_number }} · Paired {{ optional($existing->connected_at)->diffForHumans() }}
Go to store
@endif