From 80a7a7ce3feab5c53a0da773d1c266b2e76601b7 Mon Sep 17 00:00:00 2001 From: Lars Kusch Date: Thu, 8 Dec 2022 08:56:48 +0100 Subject: [PATCH] Change klarna integration according to Klarna's rules --- .../ninja2020/gateways/stripe/klarna/pay.blade.php | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) 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 1995f020acc4..e42e078b2c2e 100644 --- a/resources/views/portal/ninja2020/gateways/stripe/klarna/pay.blade.php +++ b/resources/views/portal/ninja2020/gateways/stripe/klarna/pay.blade.php @@ -2,16 +2,22 @@ @section('gateway_head') @if($gateway->company_gateway->getConfigField('account_id')) - - + + @else - + @endif + + + + + + @endsection @@ -23,7 +29,6 @@ @component('portal.ninja2020.components.general.card-element', ['title' => ctrans('texts.payment_type')]) {{ ctrans('texts.klarna') }} ({{ ctrans('texts.bank_transfer') }}) @endcomponent - @include('portal.ninja2020.gateways.stripe.klarna.klarna') @include('portal.ninja2020.gateways.includes.pay_now') @endsection