'use client'; import Link from 'next/link'; import { Check, ChevronRight } from 'lucide-react'; import { Button } from '@kit/ui/button'; import { Heading } from '@kit/ui/heading'; import { Trans } from '@kit/ui/trans'; /** * Retrieves the session status for a Stripe checkout session. * Since we should only arrive here for a successful checkout, we only check * for the `paid` status. * * @param {Stripe.Checkout.Session['status']} status - The status of the Stripe checkout session. * @param {string} customerEmail - The email address of the customer associated with the session. * * @returns {ReactElement} - The component to render based on the session status. */ export function BillingSessionStatus({ customerEmail, redirectPath, }: React.PropsWithChildren<{ customerEmail: string; redirectPath: string; }>) { return ( ); } function SuccessSessionStatus({ customerEmail, redirectPath, }: React.PropsWithChildren<{ customerEmail: string; redirectPath: string; }>) { return (
🎉

); }