From 42892ea3c84990f930f903dd9cdf0f1d723bbdd9 Mon Sep 17 00:00:00 2001 From: Christopher Neugebauer Date: Mon, 3 Oct 2016 16:42:50 -0700 Subject: [PATCH] Fixes payment behaviour. --- .../templates/registrasion/stripe/credit_card_payment.html | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/pinaxcon/templates/registrasion/stripe/credit_card_payment.html b/pinaxcon/templates/registrasion/stripe/credit_card_payment.html index 00174c39..c930dc56 100644 --- a/pinaxcon/templates/registrasion/stripe/credit_card_payment.html +++ b/pinaxcon/templates/registrasion/stripe/credit_card_payment.html @@ -56,9 +56,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.")); } }; @@ -97,7 +95,7 @@ {% include "_form_snippet.html" with form=form %}

- +