@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 == 'Social login') @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

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')}}

Payment processor

@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 339

Warning: Attempt to read property "details" on null in /var/www/lindinhas.net/resources/views/vendor/voyager/settings/index.blade.php on line 339
{{ $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 378

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

Warning: Attempt to read property "details" on null in /var/www/lindinhas.net/resources/views/vendor/voyager/settings/index.blade.php on line 390
    @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 406

Warning: Attempt to read property "details" on null in /var/www/lindinhas.net/resources/views/vendor/voyager/settings/index.blade.php on line 406
@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 425

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