@if(isset($status))
@if ($status === 'success')
@elseif ($status === 'failure')
@elseif ($status === 'error')
@endif
@endif
Success
Order created successfully.
Failure
Failed to capture the payment.
Error
{{ $responseData['error'] }}
@if ($user && $user->userTypeId == 1)
@include('user-web.layouts.sidebar')
@else
@include('business.layouts.sidebar')
@endif
Item
-
@forelse($productImages as $productImage)@if(\Illuminate\Support\Facades\File::exists(public_path($productImage->imageUrl))) @else @endif@empty
{{$product->productName}}X 1
${{$product->productPrice ?? ''}}
{{$product->orderStatus}}
@php
$latitude = 32.7266016;
$longitude = 74.8570259;
if ($user && $user->userTypeId == 1){
$latitude = !empty($businessDetail->lat)? $businessDetail->lat: 32.7266016;
$longitude = !empty($businessDetail->long) ? $businessDetail->long: '74.8570259';
}else{
if(!empty($businessDetail->latitude)){
if($businessDetail->latitude == "0.0000000" || $businessDetail->latitude == 0.0000000){
$latitude = 32.7266016;
}else {
$latitude = $businessDetail->latitude;
}
}else{
$latitude = 32.7266016;
}
if(!empty($businessDetail->longitude)){
if($businessDetail->longitude == "0.0000000" || $businessDetail->longitude == 0.0000000){
$longitude = 74.8570259;
}else {
$longitude = $businessDetail->longitude;
}
}else{
$latitude = 74.8570259;
}
}
@endphp
Shipping Adress
Order Summary
Quantity: 1
${{$product->productPrice ?? ''}}Subtotal
${{$product->productPrice ?? ''}}Shipping fee
${{$product->productPrice ?? ''}}Total (Incl.GST)
${{$product->productPrice ?? ''}}