🔥FLASH SALE: 30% OFF everything!
LogoTemplateFame
icon of Stripe Subscription Starter

Stripe Subscription Starter

The all-in-one subscription starter kit for high-performance SaaS applications, powered by Stripe, Supabase, and Vercel.

Introduction

The Stripe Subscription Starter is an all-in-one kit for building high-performance SaaS applications with recurring payments. It integrates Stripe for payment processing, Supabase for secure user management and data, and Vercel for deployment.

Key Features
  • Secure User Management & Authentication: Leverages Supabase for robust user authentication, including support for third-party OAuth providers like GitHub and Google.
  • Powerful Data Access & Management: Utilizes Supabase's PostgreSQL database for efficient data handling, automatically syncing pricing plans and subscription statuses.
  • Stripe Integration: Seamlessly integrates with Stripe Checkout for payment collection and the Stripe Customer Portal for subscription management (updates, cancellations, payment method changes).
  • Automated Syncing: Employs Stripe webhooks to automatically synchronize product and pricing information, as well as subscription statuses, with your Supabase database.
Deployment and Configuration

The template is designed for easy deployment with Vercel, which assists in setting up a Supabase account and project. Initial deployment requires configuring Stripe webhooks and environment variables (NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY, STRIPE_SECRET_KEY, STRIPE_WEBHOOK_SECRET_LIVE) in the Vercel dashboard.

For local development, the Vercel CLI can be used to pull environment variables. The Stripe CLI is essential for testing webhooks locally, requiring a specific STRIPE_WEBHOOK_SECRET for local forwarding.

Users can create product and pricing information directly in the Stripe Dashboard, which then syncs to Supabase. The Stripe CLI fixtures command can also be used to bootstrap test data. The Stripe customer portal needs to be configured to allow customers to manage their subscriptions and payment methods.

The kit provides clear instructions for transitioning from test mode to live production, including archiving test products and updating environment variables for live payments. This ensures a smooth development and deployment workflow for SaaS applications.

Information

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates