@extends(getTemplate('public')) @section('content') @push('custom-css') @endpush
@csrf
@if($checkout['module'] === 'Store') @include('payments.components.cart') @else @include('payments.components.'.$checkout['module'].'-items') @endif
@include('payments.components.billing-details') @include('payments.components.password-fields') @includeWhen($checkout['shipping'], 'payments.components.shipping-details') @if(count($checkout['gateways']) > 1) @include('payments.components.payment-gateways') @else @includeWhen($checkout['process'] === 'payment' && $checkout['gateway'] === 'Stripe', 'payments.components.gateways.stripe') @includeWhen($checkout['process'] === 'payment' && $checkout['gateway'] === 'Cash', 'payments.components.gateways.cash') @endif @includeWhen($checkout['process'] === 'free', 'payments.components.free-of-charge')
@push('custom-js') @endpush @endsection