Fix stripe SCA redirect/sandboxing

This commit is contained in:
Richard Schreiber
2024-07-08 11:53:04 +02:00
parent 2aa989c293
commit 5997d3922c
@@ -295,6 +295,7 @@ var pretixstripe = {
let iframe = document.createElement('iframe');
iframe.src = payment_intent_next_action_redirect_url;
iframe.className = 'embed-responsive-item';
iframe.setAttribute('sandbox', 'allow-top-navigation');
$('#scacontainer').append(iframe);
$('#scacontainer iframe').on("load", function () {
waitingDialog.hide();
@@ -430,4 +431,4 @@ $(function () {
}
}
);
});
});