@extends('emails.layout') @section('content')

Payment Confirmation

Dear {{ $userName }},

Thank you for your payment. We have successfully received your payment. Below are the details of your transaction:

@if(isset($paymentMethod)) @endif @if(isset($transactionId)) @endif
Invoice Number: {{ $invoiceNumber }}
Payment Date: {{ $paymentDate }}
Amount Paid: {{ $amount }} {{ strtoupper($currency) }}
Payment Method: {{ $paymentMethod }}
Transaction ID: {{ $transactionId }}
@if(isset($items) && count($items) > 0)

Items Purchased

@foreach($items as $item) @endforeach
{{ $item['name'] }}
@if(isset($item['description']))
{{ $item['description'] }}
@endif
{{ $item['amount'] }} {{ strtoupper($currency) }}
@endif

A receipt for this transaction has been saved to your account. You can view it anytime by logging into your dashboard.

If you have any questions about this payment, please don't hesitate to contact our support team.

@endsection