@php $appId = (string) \App\Models\SystemSetting::get('waba_app_id', ''); $configId = (string) \App\Models\SystemSetting::get('waba_config_id', ''); $missing = $appId === '' || $configId === ''; $cred = $existing && $existing->provider === 'waba' ? $existing->creds() : []; // Embedded Signup version + coexistence config — same admin settings the // /devices launcher reads, so both connect surfaces behave identically. $esVersion = (string) \App\Models\SystemSetting::get('waba_es_version', 'v2'); $coexConfigId = (string) \App\Models\SystemSetting::get('waba_coex_config_id', ''); $coexEnabled = (bool) \App\Models\SystemSetting::get('waba_coexistence', false); $graphVersion = \App\Models\SystemSetting::get('waba_graph_api_version', 'v23.0'); @endphp
{{ __("Sign in to Meta, pick the WhatsApp number to connect, and we'll provision the rest — webhook subscription, phone register, catalog link.") }}
@if ($missing){{ __("We'll never see your Meta password. You pick which WhatsApp number we get access to.") }}
{{ __('Requires a Meta Business account, a verified business, and a phone not already on the consumer WhatsApp app.') }}