-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsuccess.html
26 lines (25 loc) · 869 Bytes
/
success.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Pago Completado</title>
<link rel="stylesheet" href="styles2.css">
</head>
<body>
<div class="container">
<h1 class="success-message">Pago Completado</h1>
<p>Gracias por su compra. Su pedido ha sido completado con éxito.</p>
<p>Identificador de Pedido: <span id="order-id"></span></p>
</div>
<script>
document.addEventListener('DOMContentLoaded', function () {
const params = new URLSearchParams(window.location.search);
const orderId = params.get('orderId');
if (orderId) {
document.getElementById('order-id').innerText = orderId;
}
});
</script>
</body>
</html>