@extends('layouts.app') @section('title', __('Pay order')) @section('content') @php $canPay = ! empty($paymentMethods) || $walletBalance >= $order->total; $selectedMethod = old('payment_method', array_key_first($paymentMethods) ?? ($walletBalance >= $order->total ? 'wallet' : null)); @endphp

{{ __('Complete your payment') }}

{{ __('Order') }} {{ $order->order_no }}

{{ __('Secure checkout') }}
@csrf

{{ __('Payment method') }}

{{ __('Choose how you want to pay') }}
@if(!empty($paymentMethods))
{{ __('Pay online') }}
@foreach($paymentMethods as $code => $method) @endforeach
@else
{{ __('No payment gateway is enabled. Please contact support.') }}
@endif
{{ __('Other ways to pay') }}
@if(isset($paymentMethods['manual'])) @include('checkout._manual-panel') @endif
{{ __('Amount due') }} {{ money($order->total) }}
{{ __('256-bit SSL encrypted') }} {{ __('Card details never touch our servers') }}
@endsection @push('scripts') @endpush