'use client' import Link from 'next/link' import { useTranslations } from 'next-intl' import { Card, CardContent } from '@/components/ui/card' import { Button } from '@/components/ui/button' import { EmptyState } from '@/components/ui/empty-state' import { CreditCard, ExternalLink } from 'lucide-react' import { getSettingsPanel } from '@/lib/extensions/settings-panel-registry' import { ENABLED_EXTENSION_IDS } from '@/lib/extensions/_generated/enabled-extensions' const StripePanel = getSettingsPanel('stripe') export function PaymentsSettingsContent() { const t = useTranslations('settings_payments') const hasStripeExtension = ENABLED_EXTENSION_IDS.has('stripe') return (