@extends('layouts.pay') @section('content') @php // Get transaction ID from the URL query string or session. URL is more reliable for client-side flows. $transactionId = request('transaction_id') ?? session('last_transaction_id'); $transaction = null; if ($transactionId) { $transaction = \App\Models\Transaction::with('brand')->find($transactionId); } @endphp
{{ __('Thank you! Your payment has been processed successfully.') }}
@if ($transaction)