<html>
  <head>
    <meta charset="utf-8" />
    <link rel="icon" href="https://bukza.com/icons/favicon.ico" />
    <meta
      name="viewport"
      content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, viewport-fit=cover"
    />
    <title>Payment</title>
    <link rel="stylesheet" href="/public/style.css" />
    <script src="/public/pay.js"></script>
    {{#if redirect}}
      <script src="https://app.bukza.com/static/js/bukzaCheckState.js"></script>
      <script src="/bindCheckState.js"></script>
    {{/if}}
  </head>
  <body>
    <h1 class="title">Bukza Payment API Example</h1>
    {{#if amount}}
      <button
        class="pay_button"
        onclick="pay({{userId}}, '{{orderNumber}}', {{amount}})"
      >Pay {{amount}}</button>
    {{/if}}
  </body>
</html>