feat: notify supplier and client after payment is done

This commit is contained in:
2023-07-19 21:01:35 +02:00
parent b426a36570
commit e80e75cb8c
9 changed files with 161 additions and 39 deletions

View File

@@ -1 +1,51 @@
TODO:
<!DOCTYPE html>
<html>
<head>
<style>
body {
font-family: Arial, sans-serif;
padding: 20px;
color: #333;
}
.container {
border-radius: 5px;
background-color: #f2f2f2;
padding: 20px;
}
.header {
text-align: center;
padding: 10px;
color: white;
background-color: #4CAF50;
}
.content {
margin: 20px 0;
}
.footer {
text-align: center;
padding: 10px;
color: white;
background-color: #333;
}
</style>
</head>
<body>
<div class="container">
<div class="header">
<h2>Payment Confirmation</h2>
</div>
<div class="content">
<p>Dear Customer,</p>
<p>We are pleased to inform you that we have received your Bitcoin payment. Here are the details of the transaction:</p>
<p><strong>Transaction ID:</strong> {{tx}}</p>
<p><strong>Block ID:</strong> {{block}}</p>
<p><strong>Timestamp:</strong> {{timestamp}}</p>
<p>You can view the transaction details at the following URL: <a href="{{explorer_url}}">{{explorer_url}}</a></p>
<p>Thank you for your payment!</p>
</div>
<div class="footer">
<p>© 2023 Bitcoin Payment Checker. All rights reserved.</p>
</div>
</div>
</body>
</html>