<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>正在跳转到支付网关...</title>
<body>

  <form action="{{ form.action }}"  method="{{ form.method }}" name="form">

    {% for key, value in form.params %}
      <input type="hidden" name="{{ key }}" value="{{ value }}">
    {% endfor %}
  </form>

  <script>
    document.all.form.submit();
  </script>

</body>
</html>