<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Payment Successful</title>
    <style>
      body {
        font-family: Arial, sans-serif;
        text-align: center;
      }
      .container {
        margin-top: 100px;
      }
      h1 {
        color: #4caf50;
      }
    </style>
  </head>
  <body>
    <div class="container">
      <h1>Payment Successful</h1>
      <p>Thank you for your payment!</p>
      <p>Your transaction was successful.</p>
    </div>
  </body>
  <script>
    let callbackUrl = "<%- callbackURL %>";
    if (callbackUrl) {
      setTimeout(() => {
        window.location.href = callbackUrl;
      }, 6000);
    }
  </script>
</html>
