mirror of
https://github.com/pretix/pretix.git
synced 2026-05-05 15:14:04 +00:00
Stripe: Support for pretix.eu
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user