@extends('settings.edit') @section('section')
@include('settings.setting_menu')

{{ __('messages.payment_method') }}

{{ Form::open(['route' => ['payment.method.update'], 'method' => 'post']) }}
{{ Form::label('stripe_key', __('messages.setting.stripe_key') . ':', ['class' => 'form-label mb-3']) }} {{ Form::text('stripe_key', $setting['stripe_key'], ['class' => 'form-control stripe-key ', 'placeholder' => __('messages.setting.stripe_key')]) }}
{{ Form::label('stripe_secret', __('messages.setting.stripe_secret') . ':', ['class' => 'form-label stripe-secret-label mb-3']) }} {{ Form::text('stripe_secret', $setting['stripe_secret'], ['class' => 'form-control stripe-secret ', 'placeholder' => __('messages.setting.stripe_secret')]) }}
{{ Form::label('paypal_client_id', __('messages.setting.paypal_client_id') . ':', ['class' => 'form-label paypal-client-id-label mb-3']) }} {{ Form::text('paypal_client_id', $setting['paypal_client_id'], ['class' => 'form-control paypal-client-id ', 'placeholder' => __('messages.setting.paypal_client_id')]) }}
{{ Form::label('paypal_secret', __('messages.setting.paypal_secret') . ':', ['class' => 'form-label paypal-secret-label mb-3']) }} {{ Form::text('paypal_secret', $setting['paypal_secret'], ['class' => 'form-control paypal-secret ', 'placeholder' => __('messages.setting.paypal_secret')]) }}
{{ Form::label('paypal_mode', __('messages.setting.paypal_mode') . ':', ['class' => 'form-label paypal-secret-label mb-3']) }} {{ Form::select('paypal_mode', $paypalMode, $setting['paypal_mode'], ['class' => 'form-control paypal-secret ', 'data-control' => 'select2', 'data-minimum-results-for-search' => 'Infinity']) }}
{{ Form::label('razorpay_key', __('messages.setting.razorpay_key') . ':', ['class' => 'form-label razorpay-key-label mb-3']) }} {{ Form::text('razorpay_key', $setting['razorpay_key'], ['class' => 'form-control razorpay-key ', 'placeholder' => __('messages.setting.razorpay_key')]) }}
{{ Form::label('razorpay_secret', __('messages.setting.razorpay_secret') . ':', ['class' => 'form-label razorpay-secret-label mb-3']) }} {{ Form::text('razorpay_secret', $setting['razorpay_secret'], ['class' => 'form-control razorpay-secret ', 'placeholder' => __('messages.setting.razorpay_secret')]) }}
{{ Form::label('paystack_key', __('messages.setting.paystack_key') . ':', ['class' => 'form-label mb-3']) }} {{ Form::text('paystack_key', $setting['paystack_key'], ['class' => 'form-control paystack-key ', 'placeholder' => __('messages.setting.paystack_key')]) }}
{{ Form::label('paystack_secret', __('messages.setting.paystack_secret') . ':', ['class' => 'form-label stripe-secret-label mb-3']) }} {{ Form::text('paystack_secret', $setting['paystack_secret'], ['class' => 'form-control paystack-secret ', 'placeholder' => __('messages.setting.paystack_secret')]) }}
{{ Form::submit(__('messages.common.save'), ['class' => 'btn btn-primary me-3', 'data-turbo' => 'false']) }}
{{ Form::close() }}
@endsection