Skip to main content
Connect Stripe 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 do

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.

Before you connect

You need your Secret key and Publishable key from the Stripe Dashboard.

Open your Stripe API keys in the Stripe Dashboard
Key typePrefixUsage
Publishable keypk_Safe to use on the client side
Secret keysk_Server side only - keep this confidential
Keys come in two modes. Always start with Test keys and switch to Live keys only when you are ready to accept real payments.
Never paste your Stripe keys directly into chat. Always use the secure connection popup. If your Secret key has been exposed, rotate it immediately from the Stripe Dashboard.
Stripe works best paired with Supabase for user accounts. Rocket links Stripe customers to authenticated Supabase users automatically.

Connect Stripe

You can connect from two places - both open the same popup.Option 1: From chatType a prompt that mentions Stripe - for example, Connect Stripe and add a $49 one-time checkout. Rocket detects the intent and shows a Connect button inline. Click it and the popup opens.
Stripe connection prompt in the Rocket chat panel.Stripe connection prompt in the Rocket chat panel.
Option 2: From the Connectors tabClick the ... button in the preview toolbar, then select Connectors.
Toolbar dropdown with Connectors option highlighted.Toolbar dropdown with Connectors option highlighted.
Click the Stripe card, then click Connect.
Connectors tab showing the Stripe card with a Connect button.Connectors tab showing the Stripe card with a Connect button.
After clicking ConnectA popup opens. Paste your Secret key and Publishable key, then click Save. A green dot appears next to Stripe when the connection is active.
Stripe API key input popup.Stripe API key input popup.
Update or disconnectGo to Connectors > Stripe. Update your keys or click Disconnect to remove the integration.
Stripe integration showing connected state with a Disconnect button.Stripe integration showing connected state with a Disconnect button.

Example prompts

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 flow UIAdd a "View Orders" page with order history and a link to the Stripe customer portal.
Usage-based billingTrack API calls per user and charge $0.01 per call using Stripe metered billing.

Tips

  • 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.
  • Connect Supabase first. Rocket links Stripe customers to Supabase user accounts. Connect Supabase before connecting Stripe.
  • Webhooks are handled automatically. Rocket sets up the necessary webhook handlers for events like checkout.session.completed and customer.subscription.updated.
  • Refunds and disputes live in Stripe. Manage refunds, disputes, and financial reporting directly from the Stripe Dashboard.
  • One set of keys per task. Each Rocket task connects to a single set of Stripe API keys. You can use the same Stripe account across multiple tasks.

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.