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

💳 View Payment Configuration

Payment Configuration Information
Configuration Name
{{ $paymentConfiguration->name }}
{{ $paymentConfiguration->slug }}
Payment Type
{{ $paymentConfiguration->payment_type_label }}
Payment Provider
{{ $paymentConfiguration->provider_name }}
{{ ucfirst($paymentConfiguration->provider) }}
Auto Generate Links
{{ $paymentConfiguration->auto_generate_links ? 'Yes' : 'No' }}
@if($paymentConfiguration->webhook_url)
Webhook Configuration
Secret: {{ $paymentConfiguration->webhook_secret ? 'Configured' : 'Not set' }}
@endif @php $decryptedCredentials = $paymentConfiguration->decrypted_credentials ?? []; @endphp @if(!empty($decryptedCredentials))
Payment Provider Credentials
@if($paymentConfiguration->provider == 'razorpay')
Key ID:
{{ $decryptedCredentials['key_id'] ?? 'Not set' }}
Key Secret:
@if(isset($decryptedCredentials['key_secret']) && !empty($decryptedCredentials['key_secret'])) •••••••• (Hidden for security) @else Not set @endif
@elseif($paymentConfiguration->provider == 'hdfc') @php $hdfcMerchantKey = $decryptedCredentials['merchant_key'] ?? $decryptedCredentials['access_code'] ?? null; $hdfcResponseKey = $decryptedCredentials['response_key'] ?? $decryptedCredentials['secret_key'] ?? null; @endphp
Merchant ID:
{{ $decryptedCredentials['merchant_id'] ?? 'Not set' }}
Merchant Key / API Key:
@if(!empty($hdfcMerchantKey)) •••••••• (Hidden for security) @else Not set @endif
Payment Page Client ID:
{{ $decryptedCredentials['payment_page_client_id'] ?? $decryptedCredentials['client_id'] ?? 'Not set' }}
Response Key:
@if(!empty($hdfcResponseKey)) •••••••• (Hidden for security) @else Not set @endif
@else
API Key:
{{ $decryptedCredentials['api_key'] ?? 'Not set' }}
API Secret:
@if(isset($decryptedCredentials['api_secret']) && !empty($decryptedCredentials['api_secret'])) •••••••• (Hidden for security) @else Not set @endif
@endif
@endif
Supported Currencies
@if($paymentConfiguration->supported_currencies) @foreach($paymentConfiguration->supported_currencies as $currency) {{ $currency }} @endforeach @else No currencies specified @endif
Payment Methods
@if($paymentConfiguration->payment_methods) @foreach($paymentConfiguration->payment_methods as $method) {{ ucfirst($method) }} @endforeach @else No methods specified @endif
Processing Fees
  • Percentage: {{ $paymentConfiguration->processing_fee_percentage }}%
  • Fixed Fee: {{ number_format($paymentConfiguration->processing_fee_fixed, 2) }}
Link Settings
  • Expiry: @if($paymentConfiguration->link_expiry_hours) {{ $paymentConfiguration->link_expiry_hours }} hours @else Not set @endif
Notifications
  • Email Notifications
  • SMS Notifications
Payment Active Status
is_active ? 'checked' : '' }} style="width: 3rem; height: 1.5rem;">
@if($paymentConfiguration->payment_type === 'membership_fee') If not active, there will be no membership payment process. After OTP / Google verification, KUsers go directly to the dashboard. @endif
Sort Order (Provider Priority)
{{ $paymentConfiguration->sort_order }}
Lower number = higher priority (0 is highest). Used only when more than one provider is active for the same payment type — the lowest sort order is chosen as primary. Activating a configuration also makes it the only active provider for that payment type.
Created
{{ $paymentConfiguration->created_at->format('M d, Y') }}
@if($paymentConfiguration->updated_at != $paymentConfiguration->created_at)
Last Updated
{{ $paymentConfiguration->updated_at->format('M d, Y') }}
@endif
@csrf
@endsection @push('styles') @endpush @push('scripts') @endpush