You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

35 lines
809 B

  1. {% extends "templates/web.html" %}
  2. {% block title %}{{ _("Payment Success") }}{% endblock %}
  3. {%- block page_content -%}
  4. <div class='page-card'>
  5. <div class='page-card-head'>
  6. <span class='indicator green'>
  7. {{ _("Success") }}</span>
  8. </div>
  9. <p>{{ payment_message or _("Your payment was successfully accepted") }}</p>
  10. {% if not payment_message %}
  11. <div>
  12. <a
  13. href='{{ frappe.form_dict.redirect_to or "/" }}'
  14. class='btn btn-primary btn-sm'>
  15. {{ _("Continue") }}
  16. </a>
  17. </div>
  18. {% endif %}
  19. </div>
  20. <style>
  21. {% include "templates/styles/card_style.css" %}
  22. </style>
  23. <script>
  24. frappe.ready(function() {
  25. if('{{ frappe.form_dict.redirect_to or "" }}'){
  26. setTimeout(function(){
  27. window.location.href = '{{ frappe.form_dict.redirect_to }}';
  28. }, 4000);
  29. }
  30. })
  31. </script>
  32. {% endblock %}