@extends('layouts.app') @section('title', 'Payment gateways') @section('content')

Payment gateways

Mobile money, card and bank integrations.

@forelse ($gateways as $gateway) @php $total = $gateway->transactions()->count(); $success = $gateway->transactions()->where('status', 'success')->count(); @endphp @empty @endforelse
GatewayProviderEnvironmentTransactions VolumeSuccess rateStatus
{{ $gateway->name }} {{ title_case_words($gateway->provider) }} {{ title_case_words($gateway->environment) }} {{ number_format($total) }} {{ money($gateway->transactions()->where('status', 'success')->sum('amount')) }} {{ $total > 0 ? percent(($success / $total) * 100) : '—' }} {{ $gateway->is_active ? 'active' : 'inactive' }}
@csrf
@include('components.empty-state', ['icon' => '💳', 'title' => 'No gateways configured', 'message' => 'Add a payment processor to accept online payments.', 'action' => ''])
@endsection