1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-13 22:54:25 +01:00

Change klarna integration according to Klarna's rules

This commit is contained in:
Lars Kusch 2022-12-08 08:56:48 +01:00 committed by GitHub
parent 07e83900c0
commit 80a7a7ce3f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,6 +12,12 @@
<meta name="country" content="{{ $country }}">
<meta name="customer" content="{{ $customer }}">
<meta name="email" content="{{ $gateway->client->present()->email() }}">
<meta name="name" content="{{ $gateway->client->present()->name() }}">
<meta name="address-2" content="{{ $gateway->client->address2 }}">
<meta name="address-1" content="{{ $gateway->client->address1 }}">
<meta name="city" content="{{ $gateway->client->city }}">
<meta name="state" content="{{ $gateway->client->state }}">
<meta name="plz" content="{{ $gateway->client->postal_code }}">
<meta name="pi-client-secret" content="{{ $pi_client_secret }}">
@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