@extends('layouts.app') @section('title') {{ __('messages.setting.payment_gateway') }} @endsection @section('content')
@include('flash::message')
{{ Form::open(['route' => 'payment-gateway.store', 'id'=>'UserCredentialsSettings', 'class'=>'form']) }}
{{--STRIPE --}}
{{ __('messages.setting.stripe') . ' :' }}
{{ Form::label('stripe_key', __('messages.setting.stripe_key').':', ['class' => 'form-label']) }} {{ Form::text('stripe_key',(!empty($setting['stripe_key'] )) ? $setting['stripe_key'] : null, ['class' => 'form-control' , 'id' => 'stripeKey' , 'placeholder' => __('messages.setting.stripe_key')]) }}
{{ Form::label('stripe_secret', __('messages.setting.stripe_secret').':', ['class' => 'form-label']) }} {{ Form::text('stripe_secret',!empty($setting['stripe_secret']) ? $setting['stripe_secret']: null, ['class' => 'form-control', 'id' => 'stripeSecret' , 'placeholder' => __('messages.setting.stripe_secret')]) }}
{{-- PAYPAL --}}
{{ __('messages.setting.paypal') . ' :' }}
{{ Form::label('paypal_client_id', __('messages.setting.paypal_client_id').':', ['class' => 'form-label']) }} {{ Form::text('paypal_client_id', !empty($setting['paypal_client_id'])?$setting['paypal_client_id'] : null, ['class' => 'form-control','id' => 'paypalKey' , 'placeholder' => __('messages.setting.paypal_client_id')]) }}
{{ Form::label('paypal_secret', __('messages.setting.paypal_secret').':', ['class' => 'form-label']) }} {{ Form::text('paypal_secret',!empty($setting['paypal_secret']) ? $setting['paypal_secret'] : null, ['class' => 'form-control','id' => 'paypalSecret' , 'placeholder' => __('messages.setting.paypal_secret')]) }}
{{ Form::label('paypal_mode', __('messages.setting.paypal_mode').':', ['class' => 'form-label']) }} {{ Form::text('paypal_mode',!empty($setting['paypal_mode']) ? $setting['paypal_mode'] : null, ['class' => 'form-control','id' => 'paypalMode' , 'placeholder' => __('messages.setting.paypal_mode')]) }}
{{-- Razorpay --}}
{{ __('messages.setting.razorpay'). ' :' }}
{{ Form::label('razorpay_key', __('messages.setting.razorpay_key').':', ['class' => 'form-label']) }} {{ Form::text('razorpay_key',(!empty($setting['razorpay_key'])) ? $setting['razorpay_key'] : null, ['class' => 'form-control' , 'id' => 'razorpayKey' , 'placeholder' => __('messages.setting.razorpay_key')]) }}
{{ Form::label('razorpay_secret', __('messages.setting.razorpay_secret').':', ['class' => 'form-label']) }} {{ Form::text('razorpay_secret',!empty($setting['razorpay_key']) ? $setting['razorpay_secret']: null, ['class' => 'form-control', 'id' => 'razorpaySecret' , 'placeholder' => __('messages.setting.razorpay_secret')]) }}
{{-- Paytm--}}
{{ __('messages.setting.paytm'). ' :' }}
{{ Form::label('paytm_merchant_id', __('messages.setting.paytm_merchant_id').':', ['class' => 'form-label']) }} {{ Form::text('paytm_merchant_id',(!empty($setting['paytm_merchant_key'])) ? $setting['paytm_merchant_id'] : null, ['class' => 'form-control' , 'id' => 'paytmMerchantId' , 'placeholder' => __('messages.setting.paytm_merchant_id')]) }}
{{ Form::label('paytm_merchant_key', __('messages.setting.paytm_merchant_key').':', ['class' => 'form-label']) }} {{ Form::text('paytm_merchant_key',!empty($setting['paytm_merchant_key']) ? $setting['paytm_merchant_key']: null, ['class' => 'form-control', 'id' => 'paytmMerchantKey' , 'placeholder' => __('messages.setting.paytm_merchant_key')]) }}
{{-- Paystack--}}
{{ __('messages.setting.paystack'). ' :' }}
{{ Form::label('paystack_public_key', __('messages.setting.paystack_public_key').':', ['class' => 'form-label']) }} {{ Form::text('paystack_public_key',(!empty($setting['paystack_public_key'])) ? $setting['paystack_public_key'] : null, ['class' => 'form-control' , 'id' => 'paystackPublicKey' , 'placeholder' => __('messages.setting.paystack_public_key')]) }}
{{ Form::label('paystack_secret_key', __('messages.setting.paystack_secret_key').':', ['class' => 'form-label']) }} {{ Form::text('paystack_secret_key',!empty($setting['paystack_secret_key']) ? $setting['paystack_secret_key']: null, ['class' => 'form-control', 'id' => 'paystackSecretKey' , 'placeholder' => __('messages.setting.paystack_secret_key')]) }}
{{ Form::close() }}
@endsection {{-- --}}