<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Payment Cancelled</title>
    <style>
      body {
        font-family: Arial, sans-serif;
        text-align: center;
      }
      .container {
        margin-top: 100px;
      }
      h1 {
        color: #f37254;
      }
    </style>
  </head>
  <body>
    <div class="container">
      <h1>Payment Cancelled</h1>
      <p>Sorry, your payment was cancelled.</p>
      <p>
        Please try again or contact customer support if you need assistance.
      </p>
    </div>
  </body>
  <script>
    let callbackUrl = "<%- callbackURL %>";
    if (callbackUrl) {
      setTimeout(() => {
        window.location.href = callbackUrl;
      }, 6000);
    }
  </script>
</html>
