Stripe handles credit cards, subscriptions, invoices, and one-time payments. Connect it to Rocket and describe the payment flow you want in chat. Rocket generates the complete checkout experience: pricing pages, payment forms, webhook handlers, and subscription management.
What you can use it for
SaaS subscription billing
Monthly or yearly plans with automatic billing, upgrades, downgrades, and cancellation.
One-time product checkout
Sell digital products, courses, templates, or physical goods with a simple checkout flow.
Accept donations
One-time or recurring donations with preset or custom amounts.
Multi-product checkout
Cart-based checkout with multiple line items, quantities, and a single Stripe payment session.
Quick start
Get your Stripe keys
Go to the Stripe Dashboard and copy your Secret key and Publishable key. Start with Test mode keys for development.
Connect in chat
Open any Rocket project and type:Paste your keys when prompted. Rocket builds the checkout flow instantly.
Detailed setup
Get your Stripe keys
Open Stripe’s Keys documentation to learn how to create and manage your API keys.
| Key type | Prefix | Usage |
|---|---|---|
| Publishable key | pk_ | Safe to use on the client side |
| Secret key | sk_ | Must be kept confidential, used on the server side |
| Mode | Purpose |
|---|---|
| Test mode | Safe development and testing |
| Live mode | Production, real payments |
Connect Stripe to Rocket
- Web Browser
- Mobile App
There are two ways to connect Stripe:Method 1: Use Rocket chat (fastest)In any project, open the chat panel and type:

Method 2: From ConnectorsIn the preview toolbar, click the 



Paste your Secret and Publishable keys into the fields and click Save. A green dot appears next to Stripe when the connection is active.Update or disconnectClick the Stripe integration again. Replace the existing keys or click Disconnect to remove it.

Connect my Stripe account to create a one-time checkout for my $29 eBook.Connect Stripe and add a monthly Premium plan for $10.


... button and select Connectors. Click the Stripe card.



When you connect Stripe from Connectors, Rocket does not automatically create payment flows. After saving your keys, describe the payment flow you want in chat.


Prompt cookbook
Copy-paste these prompts after connecting Stripe to build common payment flows:| Use case | Prompt |
|---|---|
| Simple checkout | Add a Stripe checkout for my $49 product with a success page. |
| Subscription plans | Create a pricing page with Free, Pro ($19/mo), and Enterprise ($99/mo) tiers using Stripe. |
| Donations | Add Stripe donation buttons with $5, $10, $25, $50 options and a custom amount field. |
| Free trial | Add a 14-day free trial to the Pro plan. Charge $19/month after the trial ends. |
| Invoices | Generate and email a PDF invoice to the customer after each Stripe payment. |
| Coupon codes | Add a coupon code field to the checkout page that applies a Stripe discount. |
| Refund flow UI | Add a "View Orders" page with order history. Include a link to the Stripe customer portal where users can manage billing. |
| Usage-based billing | Track API calls per user and charge $0.01 per call using Stripe metered billing. |
Tips and limitations
- Always start with Test mode keys. Switch to Live keys only when you are ready to accept real payments. Test card:
4242 4242 4242 4242. - Supabase is required. Rocket links Stripe customers to Supabase user accounts. Connect Supabase before connecting Stripe.
- Webhooks are handled automatically. When you describe a payment flow in chat, Rocket sets up the necessary webhook handlers for events like
checkout.session.completedandcustomer.subscription.updated. - Stripe dashboard for refunds and disputes. Refunds, disputes, and detailed financial reporting must all be managed from the Stripe Dashboard. Rocket does not process refunds directly.
- One set of Stripe keys per project. Each Rocket project connects to a single set of Stripe API keys. You can use the same Stripe account across multiple projects.
What’s next?
Supabase
Stripe requires Supabase for user accounts. Set it up if you have not already.
Resend
Send order confirmation and receipt emails automatically after Stripe payments.
Google Analytics
Track checkout conversion rates and revenue with GA4 e-commerce events.
Build a SaaS app
Full recipe: Supabase + Stripe + Resend + Netlify to build a complete SaaS product.






