{{-- PayPal Plugin Custom Configuration View --}} {{-- Available variables: $config (array), $pluginName (string), $pluginSlug (string) --}} {{-- API Credentials Section --}}

{{ __('admin.payment_gateways.api_credentials') }}

{{-- Client ID --}}

{{ __('admin.payment_gateways.paypal.client_id_help') }}

@error('config.client_id')

{{ $message }}

@enderror
{{-- Client Secret --}}

{{ __('admin.payment_gateways.paypal.client_secret_help') }}

@error('config.client_secret')

{{ $message }}

@enderror
{{-- Sandbox Mode Toggle --}}

{{ __('admin.payment_gateways.paypal.sandbox_mode_help') }}

{{-- Webhook Configuration Section --}}

{{ __('admin.payment_gateways.webhook_configuration') }}

{{-- Webhook URL Display --}}

{{ __('admin.payment_gateways.paypal.webhook_url_help') }}

{{-- Webhook ID --}}

{{ __('admin.payment_gateways.paypal.webhook_id_help') }}

@error('config.webhook_id')

{{ $message }}

@enderror
{{-- SSL Warning --}} @if(!request()->secure()) @endif
{{-- Required Events --}}

{{ __('admin.payment_gateways.required_webhook_events') }}

{{ __('admin.payment_gateways.paypal.events_help') }}