@if (! $paymentModeEnabled)
Subscription payment is not active yet.
@elseif (! $activeGateway)
Payment gateway is not available right now.
@else
Payments are active through {{ $activeGateway->name }} {{ $activeGateway->is_test_mode ? '(test mode)' : '(live mode)' }}.
@endif
@if (session('error'))
{{ session('error') }}
@endif
@forelse ($plans as $plan)
@if ($plan->is_recommended)
Recommended
@endif
{{ $plan->billing_period }}
{{ $plan->name }}
{{ $plan->currency }} {{ number_format((float) $plan->price, 2) }}
{{ $plan->duration_days }} days access
@if ($plan->features)
@foreach ($plan->features as $feature)
-
{{ $feature }}
@endforeach
@endif
@if ($paymentModeEnabled && $activeGateway)
@auth
@else
Login to Subscribe
@endauth
@else
@endif
@empty
No active subscription plans are available yet.
@endforelse
Current access settings
Payment Mode
{{ $paymentSettings['payment_mode_enabled'] === 'on' ? 'ON' : 'OFF' }}
Free Trial
{{ $paymentSettings['free_trial_days'] }} days
Grace Period
{{ $paymentSettings['subscription_grace_days'] }} days
Free Access
{{ $paymentSettings['allow_free_access'] === 'on' ? 'Allowed' : 'Disallowed' }}