@extends('backEnd.master') @section('title') @lang('system_settings.payment_method_settings') @endsection @section('mainContent') @push('css') @endpush
@if(userPermission('is-active-payment')) {{ Form::open(['class' => 'form-horizontal', 'files' => true, 'route' => 'is-active-payment']) }} @endif

@lang('system_settings.select_a_payment_gateway')

@foreach($paymeny_gateway as $value) @if(moduleStatusCheck('RazorPay') == FALSE && $value->method =="RazorPay") @else @endif @endforeach
active_status == 1? 'checked':''}}>
@if($errors->has('gateways')) {{ $errors->first('gateways') }} @endif
@php $tooltip = ""; if(userPermission('is-active-payment')){ $tooltip = ""; }else{ $tooltip = "You have no permission to Update"; } @endphp
@if(Illuminate\Support\Facades\Config::get('app.app_sync')) @else @endif
{{ Form::close() }}

@lang('system_settings.gateway_setting')

@php $forServiceCharge = ['service_charge', 'charge']; @endphp @foreach ($paymeny_gateway_settings as $row)
gateway_name=='PayPal') active show @endif @endif " " id="{{ @$row->gateway_name }}"> @if (userPermission('update-payment-gateway'))
@endif @csrf
@if (!empty(@$row->logo)) @endif
@if (session()->has('message-success'))

{{ session()->get('message-success') }}

@elseif(session()->has('message-danger'))

{{ session()->get('message-danger') }}

@endif
@php $tooltip = ''; if (userPermission('update-payment-gateway')) { $tooltip = ''; } else { $tooltip = 'You have no permission to add'; } @endphp @if (@$row->gateway_name != 'Bank') @if (@$row->gateway_name == 'Paystack') N.B: Please Set This url @if (directFees() || generalSetting()->fees_status ) {{ route('payment.success','Paystack') }} @else {{ route('handleGatewayCallback') }} @endif As Paystack Callback Url @endif @if (@$row->gateway_name == 'Raudhahpay') N.B: Please Set This url {{ url('raudhahpay/payment_success_callback') }} As Raudhahpay WebHook Url @endif
@if (Illuminate\Support\Facades\Config::get('app.app_sync')) @else @endif
@endif
@endforeach
@endsection @push('script') @endpush