@extends('backEnd.master') @section('title') @lang('system_settings.payment_method_settings') @endsection @section('mainContent') @push('css') @endpush @lang('system_settings.payment_method_settings') @lang('common.dashboard') @lang('system_settings.system_settings') @lang('system_settings.payment_method_settings') @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 active_status == 1? 'checked':''}}> {{@$value->method}} @endif @endforeach @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')) @lang('common.update') @else @lang('common.update') @endif {{ Form::close() }} @lang('system_settings.gateway_setting') @foreach($paymeny_gateway_settings as $row) @if(moduleStatusCheck('RazorPay') == FALSE && $row->gateway_name =="RazorPay") @else gateway_name=='PayPal') active show @endif @endif " href="#{{@$row->gateway_name}}" role="tab" data-toggle="tab">{{@$row->gateway_name}} @endif @endforeach @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')) @lang('common.update') @else @lang('common.update') @endif @endif @endforeach @endsection @push('script') @endpush
{{ session()->get('message-success') }}
{{ session()->get('message-danger') }}