import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "@/components/ui/card"; import { Label } from "@/components/ui/label"; import { Input } from "@/components/ui/input"; import { Switch } from "@/components/ui/switch"; import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from "@/components/ui/select"; import { AlertTriangle, Zap } from "lucide-react"; import { Alert, AlertDescription } from "@/components/ui/alert"; interface RenewalsTabProps { settings: any; onSettingChange: (key: string, value: any) => void; saving: boolean; } export function RenewalsTab({ settings, onSettingChange }: RenewalsTabProps) { return (
Action to take when a renewal payment fails
Automatically retry failed payments
Days between retry attempts
Maximum number of retry attempts
Show a "Renew Now" button for active subscriptions
Immediately suspend access when payment fails
Automatically restore access when payment is received