mirror of
https://github.com/pretix/pretix.git
synced 2026-05-09 15:54:03 +00:00
Enable stripe when retrying payments
This commit is contained in:
@@ -90,7 +90,7 @@ $(function () {
|
||||
if (!$("#stripe_number").length) // Not on the checkout page
|
||||
return;
|
||||
|
||||
if ($("input[name=payment][value=stripe]").is(':checked')) {
|
||||
if ($("input[name=payment][value=stripe]").is(':checked') || $(".payment-redo-form").length) {
|
||||
pretixstripe.load();
|
||||
} else {
|
||||
$("input[name=payment]").change(function() {
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
<form method="post" class="form-horizontal" href="">
|
||||
{% csrf_token %}
|
||||
<div class="form-horizontal">
|
||||
<div class="form-horizontal payment-redo-form">
|
||||
{{ form }}
|
||||
</div>
|
||||
<div class="row checkout-button-row">
|
||||
|
||||
Reference in New Issue
Block a user