Enable stripe when retrying payments

This commit is contained in:
Raphael Michel
2016-04-10 17:56:11 +02:00
parent 63687d93cc
commit b653915a35
2 changed files with 2 additions and 2 deletions

View File

@@ -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() {