{{ t('checkout') }}

{{ t("payment_confirm_message") }}

@if (session('error')) @endif

{{ t('Subscription Details') }}

@php $taxes = get_default_taxes(); $totalTaxAmount = 0; foreach ($taxes as $tax) { $totalTaxAmount += $plan->price * ($tax->rate / 100); } $finalAmount = $plan->price + $totalTaxAmount; $baseAmount = get_base_currency()->format($plan->price); $taxBreakdown = []; foreach($taxes as $tax) { $taxBreakdown[] = $tax->rate . '% ' . $tax->name; } @endphp

{{ t('plan_name') }}

{{ $plan->name }}

{{ t('base_amount') }}

{{ get_base_currency()->format($plan->price) }}

{{ t('billing_cycle') }}

{{ ucfirst($plan->billing_period) }}

{{ t('interval') }}

Per {{ $interval }}

{{ t('price_breakdown') }}

{{ $baseAmount }}
@foreach($taxBreakdown as $taxLine) + {{ $taxLine }} @endforeach
@if($taxes->count() > 0)

{{ t('tax_details') }}

@foreach($taxes as $tax) {{ $tax->name }} ({{ $tax->rate }}%): {{ get_base_currency()->format($plan->price * ($tax->rate / 100)) }} @endforeach
@endif
@if($taxes->count() > 0)

{{ t('total_amount') }}

{{ get_base_currency()->format($finalAmount) }}

@endif
@csrf

{{ t('payment_method') }}

@php $billingManager = app('billing.manager'); $gateways = $billingManager->getActiveGateways(); @endphp @foreach ($gateways as $name => $gateway)
first || old('payment_method') == $name ? 'checked' : '' }}>
@endforeach
@if ($plan->isFree())

{{ t('free_plan_no_payment') }}

@else

{{ t('redirect_to_payment_page') }}

@endif
{{ t('back_to_plans') }} @if ($plan->isFree()) {{ t('subscribe_now') }} @else {{ t('proceed_to_payment') }} @endif