bbuddy-ui/src/lib/stripe.ts

11 lines
240 B
TypeScript

import "server-only";
import Stripe from "stripe";
export const stripe = new Stripe(process.env.NEXT_PUBLIC_STRIPE_SECRET_KEY as string, {
apiVersion: "2024-06-20",
appInfo: {
name: "bbuddy-ui",
url: "",
},
});