Back to blog

Published Mar 23, 2026

Stripe Billing Integration Guide

A walkthrough of how NuxtBase integrates Stripe for subscription management, webhook handling, and plan enforcement.

Stripe Billing Integration Guide

Billing is one of the most complex parts of any SaaS application. NuxtBase ships with a complete Stripe integration so you can start collecting revenue from day one.

Subscription Plans

The template includes a flexible plan system:

  • Free — Get started with basic features
  • Pro — Unlock advanced capabilities for growing teams
  • Plus — Full-featured plan for scaling organizations
  • Enterprise — Custom pricing with dedicated support

Webhook Handling

Stripe webhooks are critical for keeping your application in sync. NuxtBase handles:

  • checkout.session.completed — Activate subscriptions after payment
  • invoice.payment_succeeded — Renew subscriptions
  • invoice.payment_failed — Handle failed payments gracefully
  • customer.subscription.deleted — Downgrade access when canceled

Admin Dashboard

The admin panel provides a complete view of billing activity:

  • Real-time subscription metrics
  • Plan distribution overview
  • Revenue tracking
  • Individual subscription management

Getting Started

  1. Set your Stripe API keys in .env
  2. Configure your products and prices in the Stripe dashboard
  3. Map plan IDs in your application config
  4. Deploy and start accepting payments

The entire billing flow is designed to be production-ready while remaining easy to customize for your specific business model.