@extends('layouts.app') @section('title', __('Payment gateways')) @section('page-title', __('Payment gateways')) @section('page-subtitle', __('Configure Stripe and PayPal to accept tenant subscription payments.')) @section('content') @include('super-admin._nav') @if(session('status'))
{{ session('status') }}
@endif @if($errors->any())
@endif
@csrf {{-- ────────────── Common ────────────── --}}

{{ __('Used when a plan does not specify its own currency.') }}

{{-- ────────────── Stripe ────────────── --}}

Stripe

{{ __('Get keys at dashboard.stripe.com/apikeys') }}

{{ __('Stored encrypted. Leave blank to keep the current value.') }}

{{ __('Optional — only needed if you wire up Stripe webhooks.') }}

{{-- ────────────── PayPal ────────────── --}}

PayPal

{{ __('Get credentials at developer.paypal.com') }}

{{ __('Stored encrypted. Leave blank to keep the current value.') }}

{{-- Test connection cards --}}

{{ __('Test Stripe') }}

@if(($settings['stripe_enabled'] ?? '0') === '1') {{ __('Enabled') }} @else {{ __('Disabled') }} @endif

{{ __('Fetches the account balance to verify the API key.') }}

@csrf

{{ __('Test PayPal') }}

@if(($settings['paypal_enabled'] ?? '0') === '1') {{ __('Enabled') }} @else {{ __('Disabled') }} @endif

{{ __('Requests an OAuth token to verify client ID & secret.') }}

@csrf
@endsection