

-
//client.ts import Stripe from 'stripe'; export const stripe = new Stripe( process.env.STRIPE_SECRET_KEY_LIVE ?? process.env.STRIPE_SECRET_KEY ?? '', { // https://github.com/stripe/stripe-node#configuration // https://stripe.com/docs/api/versioning // @ts-ignore apiVersion: null, // Register this as an official Stripe plugin. // https://stripe.com/docs/building-plugins#setappinfo appInfo: { name: 'Next.js Subscription Starter', version: '0.0.0', url: 'https://github.com/vercel/nextjs-subscription-payments' } } );
-
CodeRabbit
CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
-
nextjs-subscription-payments
Discontinued Clone, deploy, and fully customize a SaaS subscription application with Next.js.
//client.ts import Stripe from 'stripe'; export const stripe = new Stripe( process.env.STRIPE_SECRET_KEY_LIVE ?? process.env.STRIPE_SECRET_KEY ?? '', { // https://github.com/stripe/stripe-node#configuration // https://stripe.com/docs/api/versioning // @ts-ignore apiVersion: null, // Register this as an official Stripe plugin. // https://stripe.com/docs/building-plugins#setappinfo appInfo: { name: 'Next.js Subscription Starter', version: '0.0.0', url: 'https://github.com/vercel/nextjs-subscription-payments' } } );