@php $hasResponse = isset($paymentResponse) && $paymentResponse === true; $hasMsg = isset($msg) && !empty($msg); @endphp @if($hasResponse || $hasMsg) @else @endif @push('scripts') @endpush