@extends('backend.layout.app') @section('content')

Payment Gateways

@foreach ($payment as $gateway)
{{ $gateway->is_active ? 'Active' : 'Inactive' }}
{{ $gateway->gateway_name }}
{{ ucfirst($gateway->type) }}
@if($gateway->gateway_name === 'bKash')
Username: {{ $gateway->username ?? '—' }}
Password: {{ $gateway->password ? '••••••••' : '—' }}
API Key: {{ $gateway->api_key ? '••••••••' : '—' }}
Secret Key: {{ $gateway->secret_key ? '••••••••' : '—' }}
@elseif($gateway->gateway_name === 'SSLCommerz')
Store ID: {{ $gateway->store_id ?? '—' }}
Signature Key: {{ $gateway->signature_key ? '••••••••' : '—' }}
@elseif($gateway->type === 'manual')
Account Name: {{ $gateway->account_name ?? '—' }}
Account Number: {{ $gateway->account_number ?? '—' }}
Instructions: {{ Str::limit($gateway->instructions ?? '—', 60) }}
@endif
@endforeach
@endsection @push('styles') @endpush