@if(isset($status)) @if ($status === 'success')

Success

The payment was successfully captured.

@elseif ($status === 'failure')

Failure

Failed to capture the payment.

@elseif ($status === 'error')

Error

{{ $responseData['error'] }}

@endif @endif
@if ($user && $user->userTypeId == 1) @include('user-web.layouts.sidebar') @else @include('business.layouts.sidebar') @endif

HapiMart

@foreach($products as $product) @php $url = ''; if(isset($product->productImage)){ if(!empty($product->productImage)){ if(isset($product->productImage[0])){ $url = $product->productImage[0]; }else { $url = ''; } } } @endphp @php $app_url = env('APPLICATION_URL'); if(Auth::user()->userTypeId==1){ $route= $app_url.'product-detail/'.$product->productId; }else{ $route= $app_url.'product-detail/'.$product->productId; // $route= $app_url.'orderDetail/'.$order->orderId; old line of code } @endphp @endforeach