@extends('dining.layouts.public') @section('title', 'Payment Response - The LaLiT Dining Program') @section('styles') @endsection @section('content')
@php $isSuccess = isset($response['order_status']) && $response['order_status'] === 'Success'; @endphp
@if($isSuccess) @else @endif

{{ $isSuccess ? 'Payment Successful!' : 'Payment Failed' }}

{{ $isSuccess ? 'Your payment has been processed successfully' : 'Your payment could not be processed' }}

Transaction Details
@if(isset($response['order_id']))
Order ID: {{ $response['order_id'] }}
@endif @if(isset($response['tracking_id']))
Tracking ID: {{ $response['tracking_id'] }}
@endif @if(isset($response['order_status']))
Status: {{ $response['order_status'] }}
@endif @if(isset($response['amount']))
Amount: ₹{{ number_format($response['amount'], 2) }}
@endif @if(isset($response['payment_mode']))
Payment Mode: {{ $response['payment_mode'] }}
@endif @if(isset($response['card_name']))
Card Name: {{ $response['card_name'] }}
@endif @if(isset($response['trans_date']))
Transaction Date: {{ $response['trans_date'] }}
@endif @if(isset($response['status_message']))
Message: {{ $response['status_message'] }}
@endif @if($isSuccess)
@if(isset($passwordExists) && $passwordExists) Go to Dining Dashboard Your payment was successful. Access your member dashboard now. @else Please complete your account setup to access member benefits @endif
@else @endif
View Full Response (Debug)
{{ print_r($response, true) }}
@endsection @section('scripts') @endsection