Skip to main content
Accept payments with a single prompt.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.You need a Rocket account, a Stripe account, and Supabase connected (Rocket links Stripe customers to authenticated users).
Stripe is the only payment integration Rocket supports natively, and it works best when paired with Supabase for user accounts and Resend or SendGrid for order confirmation emails.

What you can use it for

Let users subscribe to monthly or yearly plans with automatic billing, upgrades, downgrades, and cancellation.Try this prompt:
Add a pricing page with Free, Pro ($19/month), and Team ($49/month) plans.
Use Stripe for billing and Supabase for storing user subscription status.
Rocket creates: pricing page UI, Stripe Checkout sessions, webhook handler for subscription events, and user-facing billing management.
Sell digital products, courses, templates, or physical goods with a simple checkout flow.Try this prompt:
Create a checkout for my $29 digital course. Include a product page
with description and testimonials, then redirect to a thank-you page after payment.
Rocket creates: product page, Stripe Checkout session, success/cancel handling, and optional receipt email.
Process one-time or recurring donations with preset or custom amounts through Stripe.Try this prompt:
Add Stripe-powered donation buttons with preset amounts ($5, $10, $25, $50) and a custom
amount field. Show a thank-you message after payment.
Rocket creates: amount selector UI, Stripe Payment Intent, and success confirmation.
Handle cart-based checkout with multiple line items, quantities, and a single Stripe payment session.Try this prompt:
Add Stripe checkout to my product catalog. Support a shopping cart with multiple items
and process the full order in a single Stripe Checkout session.
Rocket creates: cart integration, Stripe Checkout with line items, and order confirmation.

Quick start

1

Get your Stripe keys

Go to the Stripe Dashboard and copy your Secret key and Publishable key. Start with Test mode keys for development.
2

Connect in chat

Open any Rocket project and type:
Connect Stripe and add a $49 one-time checkout for my product.
Paste your keys when prompted. Rocket builds the checkout flow instantly.
3

Test the payment

Use Stripe’s test card number 4242 4242 4242 4242 with any future expiration date and any 3-digit CVC.

Detailed setup

Get your Stripe keys

Open Stripe’s Keys documentation to learn how to create and manage your API keys.
Stripe provides two types of keys:
Key typePrefixUsage
Publishable keypk_Safe to use on the client side
Secret keysk_Must be kept confidential, used on the server side
Keys exist in two modes:
ModePurpose
Test modeSafe development and testing
Live modeProduction, real payments
Always start with your Test keys, then switch to Live keys before going live.
Never paste your Stripe keys directly into Rocket chat. Always use the secure integration flow or the API key input in settings. If you believe your Secret key has been exposed, rotate it immediately from the Stripe Dashboard.

Connect Stripe to Rocket

There are two ways to connect Stripe:Method 1: Use Rocket chat (fastest)In any project, open the chat panel and type something like:
  • Connect my Stripe account to create a one-time checkout for my $29 eBook.
  • Connect Stripe and add a monthly Premium plan for $10.
A popup appears where you can paste and save your keys.
Stripe integration popup in chatStripe integration popup in chat
Method 2: From project settingsOpen any project and go to Integrations.
Integrations tabIntegrations tab
Click the Stripe card.
Click Stripe integrationClick Stripe integration
When you connect Stripe from Project Settings, Rocket does not automatically create payment flows. After saving your keys, describe the payment flow you want in chat for Rocket to implement it.
Paste your Secret and Publishable keys into the fields and click Save to complete setup. A green dot appears next to Stripe in your integrations list when the connection is active.

Update or disconnect

Click the Stripe integration again. Replace the existing keys or click Disconnect to remove it.
Remove Stripe API keyRemove Stripe API key

Prompt cookbook

Copy-paste these prompts after connecting Stripe to build common payment flows:
Use casePrompt
Simple checkoutAdd a Stripe checkout for my $49 product with a success page.
Subscription plansCreate a pricing page with Free, Pro ($19/mo), and Enterprise ($99/mo) tiers using Stripe.
DonationsAdd Stripe donation buttons with $5, $10, $25, $50 options and a custom amount field.
Free trialAdd a 14-day free trial to the Pro plan. Charge $19/month after the trial ends.
InvoicesGenerate and email a PDF invoice to the customer after each Stripe payment.
Coupon codesAdd a coupon code field to the checkout page that applies a Stripe discount.
Refund buttonAdd a "Request Refund" button to the order history page that processes Stripe refunds.
Usage-based billingTrack 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.completed and customer.subscription.updated.
  • Stripe dashboard for refunds and disputes. You can trigger refunds from your app via prompts, but dispute management and detailed financial reporting happen in the Stripe Dashboard.
  • 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.