@extends('layouts.admin', ['heading' => 'Payment Gateways', 'subheading' => 'Configure and enable gateways']) @section('content')
@foreach($gateways as $gateway) @endforeach
Gateway Status Config Actions
{{ $gateway->name }}
{{ $gateway->code }}
{{ $gateway->is_enabled ? 'Enabled' : 'Disabled' }} @php $config = is_array($gateway->config_json ?? null) ? $gateway->config_json : (is_array($gateway->config ?? null) ? $gateway->config : []); @endphp
@csrf @if($gateway->code === 'razorpay') @else @endif
@csrf
@endsection