Overview
End users of your Starter Kit application can:- Subscribe to paid plans through Stripe Checkout
- View their current subscription status
- Access payment history and download invoices
- Manage billing through the customer portal
- Upgrade, downgrade, or cancel subscriptions
Prerequisites
Before implementing billing in your app:Configure Stripe in Cloud Admin
Complete the Payment Setup & Configuration guide to add your Stripe credentials.
Create Stripe Products
Set up your subscription products and prices in the Stripe Dashboard. Note the Price IDs.
Displaying Subscription Status
Fetch and display the user’s current subscription in your dashboard:Server Action
Create a server action to fetch subscription status:Subscription Status Component
Display subscription status with appropriate messaging:Creating Checkout Sessions
Redirect users to Stripe Checkout to subscribe:Server Action
Subscribe Button
Payment History
Display the user’s payment history:Server Action
Payment History Component
Customer Portal Access
Let users manage their billing through Stripe’s hosted customer portal:Server Action
Manage Billing Button
- Update payment method
- View and download invoices
- Cancel subscription
- Update billing address

