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 { RefreshCw, Info, Calendar } from "lucide-react"; import { Alert, AlertDescription } from "@/components/ui/alert"; import { usePro } from "@/contexts/pro-context"; interface CustomerTabProps { settings: any; onSettingChange: (key: string, value: any) => void; saving: boolean; } export function CustomerTab({ settings, onSettingChange, saving }: CustomerTabProps) { const { isPro } = usePro(); return (
Customers can temporarily pause their subscription
Maximum number of times a customer can pause their subscription. Set to 0 for unlimited.
Customers can cancel their subscription themselves
Customers can renew their subscription before the renewal date
Number of days before renewal that customers can renew early
Customers can view their subscription status, next payment date, and billing history.
Customers can update the payment method used for their subscription.
Customers with manual renewal subscriptions can pay for renewals from their account.
Customers can resume paused subscriptions when ready.