27 lines
922 B
PHP
27 lines
922 B
PHP
<?php
|
|
declare(strict_types=1);
|
|
$sessionId = htmlspecialchars($_GET['session_id'] ?? '', ENT_QUOTES, 'UTF-8');
|
|
?><!doctype html>
|
|
<html lang="ca">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width,initial-scale=1">
|
|
<title>Pagament correcte</title>
|
|
<style>
|
|
body{font-family:Arial,Helvetica,sans-serif;background:#081221;color:#fff;margin:0;padding:40px}
|
|
.box{max-width:780px;margin:auto;background:#0f1d34;border:1px solid rgba(255,255,255,.12);border-radius:24px;padding:32px}
|
|
a{color:#7dd3fc}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="box">
|
|
<h1>Pagament correcte</h1>
|
|
<p>Hem rebut la teva compra. En breu revisarem la comanda i t'avisarem.</p>
|
|
<?php if ($sessionId): ?>
|
|
<p><strong>Stripe session:</strong> <?= $sessionId ?></p>
|
|
<?php endif; ?>
|
|
<p><a href="https://kapvoe-portfoli.treblarella.org/">Torna al catàleg</a></p>
|
|
</div>
|
|
</body>
|
|
</html>
|