From ed393d837f0329b7f41ec4bbea15d140a465be67 Mon Sep 17 00:00:00 2001 From: Lars Kusch Date: Sat, 9 Oct 2021 10:19:12 +0200 Subject: [PATCH] Adapt views --- resources/js/clients/payments/stripe-giropay.js | 2 +- .../gateways/stripe/giropay/giropay.blade.php | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 resources/views/portal/ninja2020/gateways/stripe/giropay/giropay.blade.php diff --git a/resources/js/clients/payments/stripe-giropay.js b/resources/js/clients/payments/stripe-giropay.js index 141a83acdebd..fc1c0a26977c 100644 --- a/resources/js/clients/payments/stripe-giropay.js +++ b/resources/js/clients/payments/stripe-giropay.js @@ -35,7 +35,7 @@ class ProcessGiroPay { { payment_method: { billing_details: { - name: "", + name: document.getElementById("giropay-name").value(), }, }, return_url: document.querySelector( diff --git a/resources/views/portal/ninja2020/gateways/stripe/giropay/giropay.blade.php b/resources/views/portal/ninja2020/gateways/stripe/giropay/giropay.blade.php new file mode 100644 index 000000000000..05a4d5c9e8e3 --- /dev/null +++ b/resources/views/portal/ninja2020/gateways/stripe/giropay/giropay.blade.php @@ -0,0 +1,11 @@ +
+ @component('portal.ninja2020.components.general.card-element', ['title' => ctrans('texts.name')]) + +
+ + +
+ @endcomponent +