Stripe: Support for pretix.eu

This commit is contained in:
Raphael Michel
2018-08-11 12:31:44 +02:00
parent 85e9808550
commit e645a350f2

View File

@@ -157,6 +157,9 @@ $(function () {
$('.stripe-container').closest("form").submit(
function () {
if ($("input[name=card_new]").length && !$("input[name=card_new]").prop('checked')) {
return null;
}
if (($("input[name=payment][value=stripe]").prop('checked') || $("input[name=payment][type=radio]").length === 0)
&& $("#stripe_token").val() == "") {
if ($("#stripe-checkout").length) {