<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Payment Failed</title>
</head>
<body>
<h1>Payment Failed</h1>
<p>Dear {{ user.name }},</p>
<p>We regret to inform you that your recent payment of ${{ invoice.amount }} for your subscription has failed.</p>
<p>Invoice Details:</p>
<ul>
<li>Invoice ID: {{ invoice.id }}</li>
<li>Amount: ${{ invoice.amount }}</li>
<li>Due Date: {{ invoice.dueDate|date('Y-m-d') }}</li>
</ul>
<p>Please update your payment method or contact our support team for assistance. Your subscription may be affected if the payment is not completed soon.</p>
<p>Best regards,<br>Your App Team</p>
</body>
</html>