diff --git a/pinaxcon/templates/registrasion/stripe/credit_card_payment.html b/pinaxcon/templates/registrasion/stripe/credit_card_payment.html index d46d56caca05b42ab586bea487c5cd5c2ae8290a..0fb3f42901375ba7c22d1ae8b842d665d0e0c59d 100644 --- a/pinaxcon/templates/registrasion/stripe/credit_card_payment.html +++ b/pinaxcon/templates/registrasion/stripe/credit_card_payment.html @@ -55,9 +55,7 @@ // Submit the form: - $submit.prop('disabled', false); - $submit.click(); - $submit.prop('disabled', true); + $form.get(0).submit(); $form.append($('

').text("Processing your payment. Please do not refresh.")); } }; @@ -85,6 +83,6 @@ {% csrf_token %} {{form|bootstrap}} - + {% endblock %}