import Stripe from "stripe"; const stripeSecretKey = process.env.STRIPE_SECRET_KEY; export const stripe = stripeSecretKey ? new Stripe(stripeSecretKey, { apiVersion: "2025-11-17.clover", typescript: true, }) : null as unknown as Stripe; // Will fail at runtime if not configured, but allows build