This connector is only available for Next.js TypeScript web build tasks.
Razorpay is a workspace-level connector. Connect it once from Settings and it is available across all tasks.
What you can do
One-time checkout
Accept single payments for products, services, or digital goods with a Razorpay-powered checkout page.
Subscription billing
Monthly or yearly plans with automatic billing, upgrade and downgrade flows, and cancellation handling.
Order management
Create and track orders programmatically. Pull order history into dashboards and admin panels.
Refund processing
Trigger full or partial refunds from your app and sync refund status back to your UI.
Before you connect
Razorpay uses OAuth, so no API key is required. You authorize Rocket through Razorpay’s login flow and Rocket gets scoped access to your account.Always test with Razorpay’s Test Mode before switching to Live Mode. Test card:
4111 1111 1111 1111 with any future expiry and CVV.Connect Razorpay
- Web Browser
- Mobile App
You can connect from three places. All do the same thing.Option 1: From chatType a prompt that mentions Razorpay - for example, 

Option 2: From the Connectors tabClick the 

Click the Razorpay card, then click Connect.

Option 3: From workspace SettingsAfter clicking ConnectRazorpay’s authorization screen opens. Review the permissions Rocket is requesting, check I’ve read Terms & Conditions, then click Authorize. A green dot appears next to Razorpay when the connection is active.
Disconnect
Connect Razorpay and add a checkout for ₹499. Rocket detects the intent and shows a Connect button inline. Click it and the authorization flow opens.

... button in the preview toolbar, then select Connectors.



Connect from workspace Settings
Connect once from Settings and it is available across all tasks.

Disconnect a service
Disconnect or switch accounts from workspace Settings.
Example prompts
| Use case | Prompt |
|---|---|
| Simple checkout | Add a Razorpay checkout for my ₹999 product with a success page. |
| Subscription plans | Create a pricing page with Free, Pro (₹499/mo), and Enterprise (₹1999/mo) tiers using Razorpay. |
| Order history | Add an Orders page that shows the user's past Razorpay payments with status and amounts. |
| Refund flow | Add a Refund button on the order detail page that triggers a full Razorpay refund and updates the order status. |
| Webhook handler | Set up a Razorpay webhook handler for payment.captured and payment.failed events and update the database accordingly. |
| International checkout | Add a Razorpay checkout that supports INR and USD with automatic currency detection. |
Tips
- Always start in Test Mode. Use Razorpay’s test credentials during development. Switch to Live Mode only when you are ready to accept real payments. Test card:
4111 1111 1111 1111. - Webhooks are handled automatically. Rocket generates the webhook handler code for common events like
payment.captured,subscription.charged, andrefund.processed. - Connect Supabase first. Rocket links Razorpay customers and orders to authenticated Supabase users. Connect Supabase before adding Razorpay for a complete payment flow.
- Refunds and disputes live in Razorpay. Manage financial reconciliation, settlements, and disputes directly from the Razorpay Dashboard.
- INR is the default currency. Razorpay supports multi-currency but defaults to INR. Mention your target currency explicitly in your prompt if needed.
What’s next?
Supabase
Connect Supabase for user accounts and order storage to complete the payment flow.
Resend
Send payment confirmation and receipt emails automatically after Razorpay payments.
Stripe
Need global card payments? Stripe is an alternative for non-India markets.
Build a SaaS app
Full recipe: Supabase + payments + email to build a complete SaaS product.

