{{-- resources/views/partials/remvo-deposit-hero.blade.php โ v1.1 Changes from v1.0: โข Nigerian flag rendered as inline SVG (was emoji โ many browsers render ๐ณ๐ฌ as literal "NG" text fallback). Official colors: #008751 green / #FFFFFF white. โข Relaxed visibility rule โ catches KYC-verified Nigerians who registered without a phone in profile. Still excludes anyone with a clearly foreign phone (US/UK/SA/GH/KE/IN/CN/FR/DE/AU/JP/KR). โข CTA mark redesigned to three stacked rectangles (suggests "stacked digital value cards"), reads cleanly at 16px on the orange button. Coverage of the new rule: โข All 25,989 NG-phone users (high confidence โ show) โข KYC-verified users with empty mobile (give benefit of doubt โ show) โข Anyone with foreign phone prefix (definitely not NG โ hide) โข Other edge cases (no phone + no KYC โ hide; profile probably not ready) --}} @php /** @var \App\Models\User|null $remvoUser */ $remvoUser = auth()->user(); $remvoMobile = $remvoUser ? trim((string) ($remvoUser->mobile ?? '')) : ''; $remvoKyc = $remvoUser ? ((int) ($remvoUser->kyc_status ?? 0)) === 1 : false; // High-confidence Nigerian phone patterns $remvoHasNgPhone = $remvoMobile !== '' && ( str_starts_with($remvoMobile, '+234') || str_starts_with($remvoMobile, '234') || (str_starts_with($remvoMobile, '0') && strlen($remvoMobile) === 11) ); // Clearly foreign phone โ these are definitely NOT Nigerian users $remvoHasForeignPhone = $remvoMobile !== '' && ! $remvoHasNgPhone && ( str_starts_with($remvoMobile, '+1') // US / Canada || str_starts_with($remvoMobile, '+44') // UK || str_starts_with($remvoMobile, '+27') // South Africa || str_starts_with($remvoMobile, '+233') // Ghana || str_starts_with($remvoMobile, '+254') // Kenya || str_starts_with($remvoMobile, '+91') // India || str_starts_with($remvoMobile, '+86') // China || str_starts_with($remvoMobile, '+33') // France || str_starts_with($remvoMobile, '+49') // Germany || str_starts_with($remvoMobile, '+61') // Australia || str_starts_with($remvoMobile, '+81') // Japan || str_starts_with($remvoMobile, '+82') // South Korea ); // Beta allowlist โ only show to explicit testers when // REMVO_TEST_EMAILS env is set (comma-separated). Empty/unset = open to all. $remvoTestEmails = array_filter(array_map( 'trim', explode(',', (string) config('services.remvo.test_emails', '')) )); $remvoInBetaList = empty($remvoTestEmails) || in_array( strtolower((string) ($remvoUser->email ?? '')), array_map('strtolower', $remvoTestEmails), true ); // Cloudflare country signal (replaces KYC+empty-mobile fallback) $remvoCfCountry = strtoupper((string) request()->header('CF-IPCountry', '')); $remvoHasNgIp = $remvoCfCountry === 'NG'; $remvoHasForeignIp = $remvoCfCountry !== '' && $remvoCfCountry !== 'NG' && $remvoCfCountry !== 'XX' && $remvoCfCountry !== 'T1'; // Final render rule $remvoShouldRender = $remvoInBetaList && ! $remvoHasForeignPhone && ($remvoHasNgPhone || $remvoHasNgIp); @endphp @if ($remvoUser && $remvoShouldRender)
Bank transfer ยท best market rate ยท no crypto wallet needed
Powered by Remvo ยท credited automatically ยท no extra steps after payment