@extends('voyager::master') @section('page_title', __('voyager::generic.viewing').' '.__('voyager::generic.settings')) @section('css') @stop @section('page_header')

{{ __('voyager::generic.settings') }}

@stop @section('content')
@if(isset($storageErrorMessage) && $storageErrorMessage !== false)
{{__("Warning!")}} {{__("The last storage settings you provided are invalid. Storage driver will reverted to local storage.")}}
{{__("Last error received:")}}
{{$storageErrorMessage}}
@endif @if(isset($emailsErrorMessage) && $emailsErrorMessage !== false)
{{__("Warning!")}} {{__("The email driver settings you provided are invalid. Email driver will reverted to logs.")}}
{{__("Last error received:")}}
{{$emailsErrorMessage}}
@endif
{{ method_field("PUT") }} {{ csrf_field() }}
@include('vendor.voyager.settings.lcode') @include('vendor.voyager.settings.colors') @foreach($settings as $group => $group_settings)
@if($group == 'Emails')
You can use any SMTP you have access to or mailgun API. Full info can be found over the documentation .
@endif
@if($group == 'Media')
@if(getSetting('storage.driver') == 'public')
{{__("Warning!")}} {{__("Coconut transcoding can only be used with a remote storage option. Local storage is not supported.")}}
@endif @if(!getSetting('websockets.pusher_app_id') && !getSetting('websockets.soketi_host_address'))
{{__("Warning!")}} {{__("Coconut transcoding requires websockets to be enabled. Please check the configure your Websockets area.")}}
@endif @if(getSetting('storage.driver') == 's3' && getSetting('storage.aws_cdn_enabled') && getSetting('storage.aws_cdn_presigned_urls_enabled'))
{{__("Warning!")}} {{__("Coconut transcoding cannot be used with CloudFront Pre-Signed URLs. However, you can still use it with S3 and CloudFront.")}}
@endif

Media settings

@endif @if($group == 'Payments')
@if(!file_exists(storage_path('logs/cronjobs.log')))
The payment system requires cronjobs so you can easily setup them by using the following line:
  • * * * * * cd {{base_path()}} && php artisan schedule:run >> /dev/null 2>&1
{{--
For cPanel based installations, you can remove the {root} username out of the command above.
--}}
Before setting up the payment processors, please also give the docs section a read.
@endif
In order to be able to receive payment updates from Paypal, please use these webhooks endpoints:
  • {{route('paypal.payment.update')}}
Before setting up the payment processors, please also give the docs section a read.
In order to be able to receive payment updates from Stripe, please use these webhooks endpoints:
  • {{route('stripe.payment.update')}}
Before setting up the payment processors, please also give the docs section a read.
In order to be able to receive payment updates from Coinbase, please use these webhooks endpoints:
  • {{route('coinbase.payment.update')}}
In order to use CCBill as payment provider you'll need the following endpoints:
  • Webhook URL: {{route('ccBill.payment.update')}}
  • Approval & Denial URL: {{route('payment.checkCCBillPaymentStatus')}}
In order to use Paystack as payment provider you'll need the following endpoints:
  • Webhook URL: {{route('paystack.payment.update')}}
  • Callback URL: {{route('payment.checkPaystackPaymentStatus')}}
In order to use Mercado as payment provider you'll need the following endpoint:
  • Webhook URL: {{route('mercado.payment.update')}}
In order to use NowPayments as payment provider you'll need the following endpoint:
  • IPN Callback URL: {{route('nowPayments.payment.update')}}
In order to use StripeConnect as payment option for withdrawals you'll need the following endpoint:
  • Webhook URL: {{route('stripeConnect.payment.update')}}
DAC7 (Directive on Administrative Cooperation 7) is an EU directive that requires digital platform operators to collect, verify, and report seller income and tax-related information to tax authorities. It aims to improve tax transparency and combat tax evasion by ensuring that sellers on digital marketplaces properly report their earnings.
In order to use Verotel as payment provider you'll need the following:
  • Flexpay postback URL: {{route('verotel.payment.update')}}
  • When using Verotel as a payment provider, please be aware of the following transaction amount limits:
    • Verotel: $2.95 – $125 USD per transaction
    • CardBilling: $2.95 – $500 USD per transaction
  • Transactions outside these ranges will be rejected.

Payment provider

Tax type

@endif @if($group == 'Security')

Security settings

@endif @if($group == 'Social')

Social media settings

@endif @if($group == 'Feed')

Feed settings

Widget

@endif @foreach($group_settings as $setting)
key}}>

{{ $setting->display_name }} @if(config('voyager.show_dev_tips'))getSetting('{{ $setting->key }}')@endif

key}}>
@if ($setting->type == "text") @elseif($setting->type == "text_area") @elseif($setting->type == "rich_text_box") @elseif($setting->type == "code_editor")
Warning: Undefined variable $setting in /var/www/lindinhas.net/resources/views/vendor/voyager/settings/index.blade.php on line 478

Warning: Attempt to read property "details" on null in /var/www/lindinhas.net/resources/views/vendor/voyager/settings/index.blade.php on line 478
{{ $setting->value ?? '' }}
@elseif($setting->type == "image" || $setting->type == "file") @if(isset( $setting->value ) && !empty( $setting->value ) /*&& Storage::disk(config('voyager.storage.disk'))->exists($setting->value)*/)
@php $imageUrl = null; $decodedValue = json_decode($setting->value, true); if (is_array($decodedValue) && isset($decodedValue[0]['download_link'])) { $imageUrl = Storage::disk(config('voyager.storage.disk'))->url($decodedValue[0]['download_link']); } elseif (filter_var($setting->value, FILTER_VALIDATE_URL)) { $imageUrl = Storage::disk(config('voyager.storage.disk'))->url($setting->value); } else { $imageUrl = Storage::disk(config('voyager.storage.disk'))->url($setting->value); } $imageUrl = urldecode($imageUrl); @endphp @if($imageUrl) @endif
@elseif($setting->type == "file" && isset( $setting->value )) @if(json_decode($setting->value) !== null) @foreach(json_decode($setting->value) as $file) @endforeach @endif @endif @elseif($setting->type == "select_dropdown")
Warning: Undefined variable $setting in /var/www/lindinhas.net/resources/views/vendor/voyager/settings/index.blade.php on line 517

Warning: Attempt to read property "details" on null in /var/www/lindinhas.net/resources/views/vendor/voyager/settings/index.blade.php on line 517
@elseif($setting->type == "radio_btn")
Warning: Undefined variable $setting in /var/www/lindinhas.net/resources/views/vendor/voyager/settings/index.blade.php on line 529

Warning: Attempt to read property "details" on null in /var/www/lindinhas.net/resources/views/vendor/voyager/settings/index.blade.php on line 529
    @if(isset($options->options)) @foreach($options->options as $index => $option)
  • @endforeach @endif
@elseif($setting->type == "checkbox")
Warning: Undefined variable $setting in /var/www/lindinhas.net/resources/views/vendor/voyager/settings/index.blade.php on line 545

Warning: Attempt to read property "details" on null in /var/www/lindinhas.net/resources/views/vendor/voyager/settings/index.blade.php on line 545
@if (isset($options->on) && isset($options->off)) @else @endif @endif

Warning: Undefined variable $setting in /var/www/lindinhas.net/resources/views/vendor/voyager/settings/index.blade.php on line 564

Warning: Attempt to read property "details" on null in /var/www/lindinhas.net/resources/views/vendor/voyager/settings/index.blade.php on line 564
@if($hasDescription)
key}}> {{$settingDetails->description}}
@endif @if(!$loop->last)
key}}> @endif @endforeach
@endforeach
@stop @section('javascript')
{{ csrf_field() }}
@stop