mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-08-07 10:01:47 -04:00
35 lines
1.5 KiB
PHP
35 lines
1.5 KiB
PHP
@extends('portal.ninja2020.layout.payments', ['gateway_title' => 'iDeal', 'card_title' => 'iDeal'])
|
|
|
|
@section('gateway_head')
|
|
@if($gateway->company_gateway->getConfigField('account_id'))
|
|
<meta name="stripe-account-id" content="{{ $gateway->company_gateway->getConfigField('account_id') }}">
|
|
<meta name="stripe-publishable-key" content="{{ config('ninja.ninja_stripe_publishable_key') }}">
|
|
@else
|
|
<meta name="stripe-publishable-key" content="{{ $gateway->company_gateway->getPublishableKey() }}">
|
|
@endif
|
|
<meta name="return-url" content="{{ $return_url }}">
|
|
<meta name="amount" content="{{ $stripe_amount }}">
|
|
<meta name="country" content="{{ $country }}">
|
|
<meta name="customer" content="{{ $customer }}">
|
|
<meta name="pi-client-secret" content="{{ $pi_client_secret }}">
|
|
|
|
<meta name="translation-name-required" content="{{ ctrans('texts.missing_account_holder_name') }}">
|
|
@endsection
|
|
|
|
@section('gateway_content')
|
|
<div class="alert alert-failure mb-4" hidden id="errors"></div>
|
|
|
|
@include('portal.ninja2020.gateways.includes.payment_details')
|
|
|
|
@component('portal.ninja2020.components.general.card-element', ['title' => ctrans('texts.payment_type')])
|
|
{{ ctrans('texts.ideal') }} ({{ ctrans('texts.bank_transfer') }})
|
|
@endcomponent
|
|
@include('portal.ninja2020.gateways.stripe.ideal.ideal')
|
|
@include('portal.ninja2020.gateways.includes.pay_now')
|
|
@endsection
|
|
|
|
@push('footer')
|
|
<script src="https://js.stripe.com/v3/"></script>
|
|
@vite('resources/js/clients/payments/stripe-ideal.js')
|
|
@endpush
|