{{-- Header with Currency Selector --}}

Complete your order

{{-- Progress Steps --}}
{{-- Main Content --}}
{{-- Error Display --}} @if ($error)

{{ $error }}

@endif {{-- Step 1: Plan Selection --}} @if ($step === 1)

Choose your plan

{{-- Billing Cycle Toggle --}}
{{-- Package Cards --}}
@foreach ($this->packages as $package) @endforeach
@endif {{-- Step 2: Billing Details --}} @if ($step === 2)

Billing details

@error('billingName')

{{ $message }}

@enderror
@error('billingEmail')

{{ $message }}

@enderror
@error('billingAddressLine1')

{{ $message }}

@enderror
@error('billingCity')

{{ $message }}

@enderror
@error('billingPostalCode')

{{ $message }}

@enderror
@error('billingCountry')

{{ $message }}

@enderror

Enter your VAT number to potentially qualify for reverse charge

@endif {{-- Step 3: Payment --}} @if ($step === 3)

Choose payment method

{{-- BTCPay (Primary) --}} @if (config('commerce.gateways.btcpay.enabled')) @endif {{-- Stripe (Hidden by default) --}} @if (config('commerce.gateways.stripe.enabled')) @endif
@endif
{{-- Order Summary Sidebar --}}

Order summary

@if ($this->selectedPackage)
{{ $this->selectedPackage->name }} {{ $this->formatAmount($this->subtotal) }}
Billed {{ $billingCycle === 'yearly' ? 'annually' : 'monthly' }}
@if ($this->setupFee > 0)
Setup fee {{ $this->formatAmount($this->setupFee) }}
@endif @if ($this->discount > 0)
Discount -{{ $this->formatAmount($this->discount) }}
@endif @if ($this->taxAmount > 0)
Tax ({{ number_format($this->taxRate, 0) }}%) {{ $this->formatAmount($this->taxAmount) }}
@endif
Total {{ $this->formatAmount($this->total) }}
@if ($displayCurrency !== $this->baseCurrency)

Approx. {{ app(\Core\Mod\Commerce\Services\CurrencyService::class)->format($this->baseTotal, $this->baseCurrency) }} at current rates

@endif
{{-- Coupon Code --}}
@if ($this->appliedCoupon)

{{ $this->appliedCoupon->code }}

{{ $couponSuccess }}

@else
@if ($couponError)

{{ $couponError }}

@endif @endif
@else

Select a plan to see pricing

@endif