diff --git a/pinaxcon/templates/registrasion/stripe/credit_card_payment.html b/pinaxcon/templates/registrasion/stripe/credit_card_payment.html index d46d56c..0fb3f42 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 %}