diff --git a/resources/js/clients/payments/stripe-alipay.js b/resources/js/clients/payments/stripe-alipay.js
index a806b4c06da8..6a00310fcae9 100644
--- a/resources/js/clients/payments/stripe-alipay.js
+++ b/resources/js/clients/payments/stripe-alipay.js
@@ -8,6 +8,8 @@
* @license https://www.elastic.co/licensing/elastic-license
*/
+import { wait, instant } from '../wait';
+
class ProcessAlipay {
constructor(key, stripeConnect) {
this.key = key;
@@ -70,7 +72,7 @@ class ProcessAlipay {
}
}
-wait('#stripe-alipay-payment').then(() => {
+function boot() {
const publishableKey =
document.querySelector('meta[name="stripe-publishable-key"]')
?.content ?? '';
@@ -79,4 +81,6 @@ wait('#stripe-alipay-payment').then(() => {
document.querySelector('meta[name="stripe-account-id"]')?.content ?? '';
new ProcessAlipay(publishableKey, stripeConnect).setupStripe().handle();
-});
+}
+
+instant() ? boot() : wait('#stripe-alipay-payment').then(() => boot());
diff --git a/resources/js/clients/payments/stripe-applepay.js b/resources/js/clients/payments/stripe-applepay.js
index 944c7ed879d8..9be472625dc3 100644
--- a/resources/js/clients/payments/stripe-applepay.js
+++ b/resources/js/clients/payments/stripe-applepay.js
@@ -8,7 +8,7 @@
* @license https://www.elastic.co/licensing/elastic-license
*/
-import { wait } from '../wait';
+import { instant, wait } from '../wait';
/**
* @typedef {Object} ApplePayOptions
@@ -21,7 +21,7 @@ import { wait } from '../wait';
* @property {string} client_secret
*/
-wait('#stripe-applepay-payment', () => {
+function boot() {
applePay({
publishable_key: document.querySelector(
'meta[name="stripe-publishable-key"]'
@@ -40,7 +40,9 @@ wait('#stripe-applepay-payment', () => {
'meta[name="stripe-client-secret"]'
)?.content,
});
-});
+}
+
+instant() ? boot() : wait('#stripe-applepay-payment').then(() => boot());
/**
* @param {ApplePayOptions} options
diff --git a/resources/js/clients/payments/stripe-bacs.js b/resources/js/clients/payments/stripe-bacs.js
index 36a6c783ef2c..22add898100d 100644
--- a/resources/js/clients/payments/stripe-bacs.js
+++ b/resources/js/clients/payments/stripe-bacs.js
@@ -8,7 +8,7 @@
* @license https://www.elastic.co/licensing/elastic-license
*/
-import { wait } from '../wait';
+import { instant, wait } from '../wait';
class ProcessBACS {
constructor(key, stripeConnect) {
@@ -77,7 +77,7 @@ class ProcessBACS {
}
}
-wait('#stripe-bacs-payment').then(() => {
+function boot() {
const publishableKey = document.querySelector(
'meta[name="stripe-publishable-key"]'
)?.content ?? '';
@@ -88,4 +88,6 @@ wait('#stripe-bacs-payment').then(() => {
document.querySelector('meta[name="only-authorization"]')?.content ?? '';
new ProcessBACS(publishableKey, stripeConnect).setupStripe().handle();
-});
+}
+
+instant() ? boot() : wait('#stripe-bacs-payment').then(() => boot());
diff --git a/resources/js/clients/payments/stripe-bancontact.js b/resources/js/clients/payments/stripe-bancontact.js
index c4a2afdf6435..46b4409b1b07 100644
--- a/resources/js/clients/payments/stripe-bancontact.js
+++ b/resources/js/clients/payments/stripe-bancontact.js
@@ -8,7 +8,7 @@
* @license https://www.elastic.co/licensing/elastic-license
*/
-import { wait } from '../wait';
+import { wait, instant } from '../wait';
class ProcessBANCONTACTPay {
constructor(key, stripeConnect) {
@@ -65,8 +65,7 @@ class ProcessBANCONTACTPay {
};
}
-wait('#stripe-bancontact-payment').then(() => {
-
+function boot() {
const publishableKey = document.querySelector(
'meta[name="stripe-publishable-key"]'
)?.content ?? '';
@@ -75,4 +74,6 @@ wait('#stripe-bancontact-payment').then(() => {
document.querySelector('meta[name="stripe-account-id"]')?.content ?? '';
new ProcessBANCONTACTPay(publishableKey, stripeConnect).setupStripe().handle();
-});
+}
+
+instant() ? boot() : wait('#stripe-bancontact-payment').then(() => boot());
diff --git a/resources/js/clients/payments/stripe-bank-transfer.js b/resources/js/clients/payments/stripe-bank-transfer.js
index 10b570a0b812..99a1015f1763 100644
--- a/resources/js/clients/payments/stripe-bank-transfer.js
+++ b/resources/js/clients/payments/stripe-bank-transfer.js
@@ -8,9 +8,9 @@
* @license https://www.elastic.co/licensing/elastic-license
*/
-import { wait } from '../wait';
+import { wait, instant } from '../wait';
-wait('#stripe-bank-transfer-payment').then(() => bankTransfer());
+instant() ? bankTransfer() : wait('#stripe-bank-transfer-payment').then(() => bankTransfer());
function bankTransfer() {
const secret = document.querySelector('meta[name="stripe-client-secret"]')?.content;
diff --git a/resources/js/clients/payments/stripe-becs.js b/resources/js/clients/payments/stripe-becs.js
index 573995e031af..6fe41a3d051d 100644
--- a/resources/js/clients/payments/stripe-becs.js
+++ b/resources/js/clients/payments/stripe-becs.js
@@ -8,7 +8,7 @@
* @license https://www.elastic.co/licensing/elastic-license
*/
-import { wait } from '../wait';
+import { wait, instant } from '../wait';
class ProcessBECS {
constructor(key, stripeConnect) {
@@ -137,7 +137,7 @@ class ProcessBECS {
}
}
-wait('#stripe-becs-payment').then(() => {
+function boot() {
const publishableKey = document.querySelector(
'meta[name="stripe-publishable-key"]'
)?.content ?? '';
@@ -146,4 +146,6 @@ wait('#stripe-becs-payment').then(() => {
document.querySelector('meta[name="stripe-account-id"]')?.content ?? '';
new ProcessBECS(publishableKey, stripeConnect).setupStripe().handle();
-});
+}
+
+instant() ? boot() : wait('#stripe-becs-payment').then(() => boot());
diff --git a/resources/js/clients/payments/stripe-browserpay.js b/resources/js/clients/payments/stripe-browserpay.js
index afdec08afb42..2ed4675c8cf0 100644
--- a/resources/js/clients/payments/stripe-browserpay.js
+++ b/resources/js/clients/payments/stripe-browserpay.js
@@ -8,7 +8,7 @@
* @license https://www.elastic.co/licensing/elastic-license
*/
-import { wait } from '../wait';
+import { wait, instant } from '../wait';
class StripeBrowserPay {
constructor() {
@@ -144,4 +144,8 @@ class StripeBrowserPay {
}
}
-wait('#stripe-browserpay-payment').then(() => new StripeBrowserPay().handle())
+function boot() {
+ new StripeBrowserPay().handle()
+}
+
+instant() ? boot() : wait('#stripe-browserpay-payment').then(() => boot())
diff --git a/resources/js/clients/payments/stripe-credit-card.js b/resources/js/clients/payments/stripe-credit-card.js
index 659067200fbe..eb60acde543d 100644
--- a/resources/js/clients/payments/stripe-credit-card.js
+++ b/resources/js/clients/payments/stripe-credit-card.js
@@ -8,7 +8,7 @@
* @license https://www.elastic.co/licensing/elastic-license
*/
-import { wait } from '../wait';
+import { wait, instant } from '../wait';
class StripeCreditCard {
constructor(key, secret, onlyAuthorization, stripeConnect) {
@@ -225,7 +225,7 @@ class StripeCreditCard {
}
}
-wait('#stripe-credit-card-payment').then(() => {
+function boot() {
const publishableKey =
document.querySelector('meta[name="stripe-publishable-key"]')
?.content ?? '';
@@ -248,4 +248,6 @@ wait('#stripe-credit-card-payment').then(() => {
);
s.handle();
-});
+}
+
+instant() ? boot() : wait('#stripe-credit-card-payment').then(() => boot());
diff --git a/resources/js/clients/payments/stripe-eps.js b/resources/js/clients/payments/stripe-eps.js
index 24eab60b9fc4..d1e9ecf6eadd 100644
--- a/resources/js/clients/payments/stripe-eps.js
+++ b/resources/js/clients/payments/stripe-eps.js
@@ -8,7 +8,7 @@
* @license https://www.elastic.co/licensing/elastic-license
*/
-import { wait } from '../wait';
+import { wait, instant } from '../wait';
class ProcessEPSPay {
constructor(key, stripeConnect) {
@@ -82,7 +82,7 @@ class ProcessEPSPay {
};
}
-wait('#stripe-eps-payment').then(() => {
+function boot() {
const publishableKey = document.querySelector(
'meta[name="stripe-publishable-key"]'
)?.content ?? '';
@@ -91,4 +91,6 @@ wait('#stripe-eps-payment').then(() => {
document.querySelector('meta[name="stripe-account-id"]')?.content ?? '';
new ProcessEPSPay(publishableKey, stripeConnect).setupStripe().handle();
-});
+}
+
+instant() ? boot() : wait('#stripe-eps-payment').then(() => boot());
diff --git a/resources/js/clients/payments/stripe-fpx.js b/resources/js/clients/payments/stripe-fpx.js
index 1c5430d3a678..d493d999d04e 100644
--- a/resources/js/clients/payments/stripe-fpx.js
+++ b/resources/js/clients/payments/stripe-fpx.js
@@ -8,7 +8,7 @@
* @license https://www.elastic.co/licensing/elastic-license
*/
-import { wait } from '../wait';
+import { wait, instant } from '../wait';
class ProcessFPXPay {
constructor(key, stripeConnect) {
@@ -83,7 +83,7 @@ class ProcessFPXPay {
}
}
-wait('#stripe-fpx-payment').then(() => {
+function boot() {
const publishableKey = document.querySelector(
'meta[name="stripe-publishable-key"]'
)?.content ?? '';
@@ -92,4 +92,6 @@ wait('#stripe-fpx-payment').then(() => {
document.querySelector('meta[name="stripe-account-id"]')?.content ?? '';
new ProcessFPXPay(publishableKey, stripeConnect).setupStripe().handle();
-});
+}
+
+instant() ? boot() : wait('#stripe-fpx-payment').then(() => boot());
diff --git a/resources/js/clients/payments/stripe-giropay.js b/resources/js/clients/payments/stripe-giropay.js
index 7c0650bf0fe7..ed36de0a220b 100644
--- a/resources/js/clients/payments/stripe-giropay.js
+++ b/resources/js/clients/payments/stripe-giropay.js
@@ -8,7 +8,7 @@
* @license https://www.elastic.co/licensing/elastic-license
*/
-import { wait } from '../wait';
+import { wait, instant } from '../wait';
class ProcessGiroPay {
constructor(key, stripeConnect) {
@@ -66,7 +66,7 @@ class ProcessGiroPay {
};
}
-wait('#stripe-giropay-payment').then(() => {
+function boot() {
const publishableKey = document.querySelector(
'meta[name="stripe-publishable-key"]'
)?.content ?? '';
@@ -75,4 +75,6 @@ wait('#stripe-giropay-payment').then(() => {
document.querySelector('meta[name="stripe-account-id"]')?.content ?? '';
new ProcessGiroPay(publishableKey, stripeConnect).setupStripe().handle();
-});
+}
+
+instant() ? boot() : wait('#stripe-giropay-payment').then(() => boot());
diff --git a/resources/js/clients/payments/stripe-ideal.js b/resources/js/clients/payments/stripe-ideal.js
index 084bfec36404..4073f31a0942 100644
--- a/resources/js/clients/payments/stripe-ideal.js
+++ b/resources/js/clients/payments/stripe-ideal.js
@@ -8,7 +8,7 @@
* @license https://www.elastic.co/licensing/elastic-license
*/
-import { wait } from '../wait';
+import { wait, instant } from '../wait';
class ProcessIDEALPay {
constructor(key, stripeConnect) {
@@ -83,7 +83,7 @@ class ProcessIDEALPay {
};
}
-wait('#stripe-ideal-payment').then(() => {
+function boot() {
const publishableKey = document.querySelector(
'meta[name="stripe-publishable-key"]'
)?.content ?? '';
@@ -92,4 +92,6 @@ wait('#stripe-ideal-payment').then(() => {
document.querySelector('meta[name="stripe-account-id"]')?.content ?? '';
new ProcessIDEALPay(publishableKey, stripeConnect).setupStripe().handle();
-});
+}
+
+instant() ? boot() : wait('#stripe-ideal-payment').then(() => boot());
diff --git a/resources/js/clients/payments/stripe-klarna.js b/resources/js/clients/payments/stripe-klarna.js
index dbe99fd90c72..412e1665602b 100644
--- a/resources/js/clients/payments/stripe-klarna.js
+++ b/resources/js/clients/payments/stripe-klarna.js
@@ -8,7 +8,7 @@
* @license https://www.elastic.co/licensing/elastic-license
*/
-import { wait } from '../wait';
+import { wait, instant } from '../wait';
class ProcessKlarna {
constructor(key, stripeConnect) {
@@ -93,7 +93,7 @@ class ProcessKlarna {
};
}
-wait('#stripe-klarna-payment').then(() => {
+function boot() {
const publishableKey = document.querySelector(
'meta[name="stripe-publishable-key"]'
)?.content ?? '';
@@ -102,4 +102,6 @@ wait('#stripe-klarna-payment').then(() => {
document.querySelector('meta[name="stripe-account-id"]')?.content ?? '';
new ProcessKlarna(publishableKey, stripeConnect).setupStripe().handle();
-});
+}
+
+instant() ? boot() : wait('#stripe-klarna-payment').then(() => boot());
diff --git a/resources/js/clients/payments/stripe-przelewy24.js b/resources/js/clients/payments/stripe-przelewy24.js
index 6069b9939aa7..7564b6fa0d29 100644
--- a/resources/js/clients/payments/stripe-przelewy24.js
+++ b/resources/js/clients/payments/stripe-przelewy24.js
@@ -8,7 +8,7 @@
* @license https://www.elastic.co/licensing/elastic-license
*/
-import { wait } from '../wait';
+import { wait, instant } from '../wait';
class ProcessPRZELEWY24 {
constructor(key, stripeConnect) {
@@ -115,7 +115,7 @@ class ProcessPRZELEWY24 {
};
}
-wait('#stripe-przelewy24-payment').then(() => {
+function boot() {
const publishableKey = document.querySelector(
'meta[name="stripe-publishable-key"]'
)?.content ?? '';
@@ -124,4 +124,6 @@ wait('#stripe-przelewy24-payment').then(() => {
document.querySelector('meta[name="stripe-account-id"]')?.content ?? '';
new ProcessPRZELEWY24(publishableKey, stripeConnect).setupStripe().handle();
-});
+}
+
+instant() ? boot() : wait('#stripe-przelewy24-payment').then(() => boot());
diff --git a/resources/js/clients/payments/stripe-sepa.js b/resources/js/clients/payments/stripe-sepa.js
index e7048c420cb3..c421a6937bd7 100644
--- a/resources/js/clients/payments/stripe-sepa.js
+++ b/resources/js/clients/payments/stripe-sepa.js
@@ -8,7 +8,7 @@
* @license https://www.elastic.co/licensing/elastic-license
*/
-import { wait } from '../wait';
+import { wait, instant } from '../wait';
class ProcessSEPA {
constructor(key, stripeConnect) {
@@ -235,7 +235,7 @@ class ProcessSEPA {
}
}
-wait('#stripe-sepa-payment').then(() => {
+function boot() {
const publishableKey =
document.querySelector('meta[name="stripe-publishable-key"]')?.content ??
'';
@@ -244,4 +244,6 @@ wait('#stripe-sepa-payment').then(() => {
document.querySelector('meta[name="stripe-account-id"]')?.content ?? '';
new ProcessSEPA(publishableKey, stripeConnect).setupStripe().handle();
-});
+}
+
+instant() ? boot() : wait('#stripe-sepa-payment').then(() => boot());
diff --git a/resources/js/clients/payments/stripe-sofort.js b/resources/js/clients/payments/stripe-sofort.js
index 0fe1711dcf24..2c39c0c4a654 100644
--- a/resources/js/clients/payments/stripe-sofort.js
+++ b/resources/js/clients/payments/stripe-sofort.js
@@ -8,7 +8,7 @@
* @license https://www.elastic.co/licensing/elastic-license
*/
-import { wait } from '../wait';
+import { wait, instant } from '../wait';
class ProcessSOFORT {
constructor(key, stripeConnect) {
@@ -60,7 +60,7 @@ class ProcessSOFORT {
};
}
-wait('#stripe-sofort-payment').then(() => {
+function boot() {
const publishableKey = document.querySelector(
'meta[name="stripe-publishable-key"]'
)?.content ?? '';
@@ -69,4 +69,6 @@ wait('#stripe-sofort-payment').then(() => {
document.querySelector('meta[name="stripe-account-id"]')?.content ?? '';
new ProcessSOFORT(publishableKey, stripeConnect).setupStripe().handle();
-});
+}
+
+instant() ? boot() : wait('#stripe-sofort-payment').then(() => boot());
diff --git a/resources/views/portal/ninja2020/gateways/stripe/alipay/pay.blade.php b/resources/views/portal/ninja2020/gateways/stripe/alipay/pay.blade.php
index 91df047a272f..3a6eb09734e6 100644
--- a/resources/views/portal/ninja2020/gateways/stripe/alipay/pay.blade.php
+++ b/resources/views/portal/ninja2020/gateways/stripe/alipay/pay.blade.php
@@ -7,9 +7,10 @@
@else
@endif
+
-
+
@endsection
@section('gateway_content')
diff --git a/resources/views/portal/ninja2020/gateways/stripe/applepay/pay.blade.php b/resources/views/portal/ninja2020/gateways/stripe/applepay/pay.blade.php
index 76e72631df7c..86d7ce25292e 100644
--- a/resources/views/portal/ninja2020/gateways/stripe/applepay/pay.blade.php
+++ b/resources/views/portal/ninja2020/gateways/stripe/applepay/pay.blade.php
@@ -1,7 +1,7 @@
@extends('portal.ninja2020.layout.payments', ['gateway_title' => 'Apple Pay', 'card_title' => 'Apple Pay'])
@section('gateway_head')
-
+
@endsection
@section('gateway_content')
diff --git a/resources/views/portal/ninja2020/gateways/stripe/bacs/pay.blade.php b/resources/views/portal/ninja2020/gateways/stripe/bacs/pay.blade.php
index 40e57f291cce..bcba5932da74 100644
--- a/resources/views/portal/ninja2020/gateways/stripe/bacs/pay.blade.php
+++ b/resources/views/portal/ninja2020/gateways/stripe/bacs/pay.blade.php
@@ -9,6 +9,7 @@
@endif
+
@endsection
@section('gateway_content')
diff --git a/resources/views/portal/ninja2020/gateways/stripe/bancontact/pay.blade.php b/resources/views/portal/ninja2020/gateways/stripe/bancontact/pay.blade.php
index 91ea5ee9cc58..4d9e56fc8466 100644
--- a/resources/views/portal/ninja2020/gateways/stripe/bancontact/pay.blade.php
+++ b/resources/views/portal/ninja2020/gateways/stripe/bancontact/pay.blade.php
@@ -17,6 +17,8 @@
+
+
@endsection
@section('gateway_content')
diff --git a/resources/views/portal/ninja2020/gateways/stripe/bank_transfer/pay.blade.php b/resources/views/portal/ninja2020/gateways/stripe/bank_transfer/pay.blade.php
index 22ee4a045e03..96546a645427 100644
--- a/resources/views/portal/ninja2020/gateways/stripe/bank_transfer/pay.blade.php
+++ b/resources/views/portal/ninja2020/gateways/stripe/bank_transfer/pay.blade.php
@@ -8,7 +8,7 @@
@endif
-
+
@endsection
@section('gateway_content')
diff --git a/resources/views/portal/ninja2020/gateways/stripe/becs/pay.blade.php b/resources/views/portal/ninja2020/gateways/stripe/becs/pay.blade.php
index 82f23cea9d77..cf3bb0ecfa34 100644
--- a/resources/views/portal/ninja2020/gateways/stripe/becs/pay.blade.php
+++ b/resources/views/portal/ninja2020/gateways/stripe/becs/pay.blade.php
@@ -17,6 +17,8 @@
+
+
@endsection
@section('gateway_content')
diff --git a/resources/views/portal/ninja2020/gateways/stripe/browser_pay/pay.blade.php b/resources/views/portal/ninja2020/gateways/stripe/browser_pay/pay.blade.php
index 7bbae14bb70a..4d4006948553 100644
--- a/resources/views/portal/ninja2020/gateways/stripe/browser_pay/pay.blade.php
+++ b/resources/views/portal/ninja2020/gateways/stripe/browser_pay/pay.blade.php
@@ -11,6 +11,8 @@
+
+
@endsection
@section('gateway_content')
diff --git a/resources/views/portal/ninja2020/gateways/stripe/credit_card/pay.blade.php b/resources/views/portal/ninja2020/gateways/stripe/credit_card/pay.blade.php
index 4b693f89d15e..4b2fa1895fca 100644
--- a/resources/views/portal/ninja2020/gateways/stripe/credit_card/pay.blade.php
+++ b/resources/views/portal/ninja2020/gateways/stripe/credit_card/pay.blade.php
@@ -27,6 +27,8 @@
+
+
@endsection
@section('gateway_content')
diff --git a/resources/views/portal/ninja2020/gateways/stripe/eps/pay.blade.php b/resources/views/portal/ninja2020/gateways/stripe/eps/pay.blade.php
index 80995e0653c8..c8597ffa1d83 100644
--- a/resources/views/portal/ninja2020/gateways/stripe/eps/pay.blade.php
+++ b/resources/views/portal/ninja2020/gateways/stripe/eps/pay.blade.php
@@ -16,6 +16,7 @@
+
@endsection
@section('gateway_content')
diff --git a/resources/views/portal/ninja2020/gateways/stripe/fpx/pay.blade.php b/resources/views/portal/ninja2020/gateways/stripe/fpx/pay.blade.php
index a1ea200ab23d..bc6c6e1d2055 100644
--- a/resources/views/portal/ninja2020/gateways/stripe/fpx/pay.blade.php
+++ b/resources/views/portal/ninja2020/gateways/stripe/fpx/pay.blade.php
@@ -14,6 +14,8 @@
+
+
@endsection
@section('gateway_content')
diff --git a/resources/views/portal/ninja2020/gateways/stripe/giropay/pay.blade.php b/resources/views/portal/ninja2020/gateways/stripe/giropay/pay.blade.php
index f4996bb3db36..840da07f0e65 100644
--- a/resources/views/portal/ninja2020/gateways/stripe/giropay/pay.blade.php
+++ b/resources/views/portal/ninja2020/gateways/stripe/giropay/pay.blade.php
@@ -14,6 +14,7 @@
+
@endsection
@section('gateway_content')
diff --git a/resources/views/portal/ninja2020/gateways/stripe/ideal/pay.blade.php b/resources/views/portal/ninja2020/gateways/stripe/ideal/pay.blade.php
index b0ac53a3e19e..df9dd614fe71 100644
--- a/resources/views/portal/ninja2020/gateways/stripe/ideal/pay.blade.php
+++ b/resources/views/portal/ninja2020/gateways/stripe/ideal/pay.blade.php
@@ -14,6 +14,7 @@
+
@endsection
@section('gateway_content')
diff --git a/resources/views/portal/ninja2020/gateways/stripe/klarna/pay.blade.php b/resources/views/portal/ninja2020/gateways/stripe/klarna/pay.blade.php
index 2d6d9de448f5..8f37c8de1fdd 100644
--- a/resources/views/portal/ninja2020/gateways/stripe/klarna/pay.blade.php
+++ b/resources/views/portal/ninja2020/gateways/stripe/klarna/pay.blade.php
@@ -19,6 +19,7 @@
+
@endsection
@section('gateway_content')
diff --git a/resources/views/portal/ninja2020/gateways/stripe/przelewy24/pay.blade.php b/resources/views/portal/ninja2020/gateways/stripe/przelewy24/pay.blade.php
index dc5194b1a788..d0f86186c263 100644
--- a/resources/views/portal/ninja2020/gateways/stripe/przelewy24/pay.blade.php
+++ b/resources/views/portal/ninja2020/gateways/stripe/przelewy24/pay.blade.php
@@ -16,6 +16,7 @@
+
@endsection
@section('gateway_content')
diff --git a/resources/views/portal/ninja2020/gateways/stripe/sepa/pay.blade.php b/resources/views/portal/ninja2020/gateways/stripe/sepa/pay.blade.php
index 9dbdca625c49..ea06ccf0f42d 100644
--- a/resources/views/portal/ninja2020/gateways/stripe/sepa/pay.blade.php
+++ b/resources/views/portal/ninja2020/gateways/stripe/sepa/pay.blade.php
@@ -18,6 +18,8 @@
+
+
@endsection
@section('gateway_content')
diff --git a/resources/views/portal/ninja2020/gateways/stripe/sofort/pay.blade.php b/resources/views/portal/ninja2020/gateways/stripe/sofort/pay.blade.php
index 312b9242ddd4..02dab2c565e4 100644
--- a/resources/views/portal/ninja2020/gateways/stripe/sofort/pay.blade.php
+++ b/resources/views/portal/ninja2020/gateways/stripe/sofort/pay.blade.php
@@ -15,6 +15,7 @@
+
@endsection
@section('gateway_content')