Changeset - c1fab4fcc263
[Not reviewed]
0 1 0
Christopher Neugebauer - 5 years ago 2016-10-03 23:42:03
chrisjrn@gmail.com
Fixes payment form behaviour.
1 file changed with 2 insertions and 4 deletions:
0 comments (0 inline, 0 general)
pinaxcon/templates/registrasion/stripe/credit_card_payment.html
Show inline comments
...
 
@@ -55,9 +55,7 @@
 

	
 
        // Submit the form:
 

	
 
        $submit.prop('disabled', false);
 
        $submit.click();
 
        $submit.prop('disabled', true);
 
        $form.get(0).submit();
 
        $form.append($('<p>').text("Processing your payment. Please do not refresh."));
 
      }
 
    };
...
 
@@ -85,6 +83,6 @@
 

	
 
    {% csrf_token %}
 
    {{form|bootstrap}}
 
    <input id="submit" class="btn btn-primary" type="submit" value="Pay {{ invoice.balance_due }}" />
 
    <input id="pay" class="btn btn-primary" type="submit" value="Pay {{ invoice.balance_due }}" />
 
  </form>
 
{% endblock %}
0 comments (0 inline, 0 general)