Would v0 devs make Stripe an integration?

I’m just about to implement the payment system in my app. I’m hoping it’s not too difficult to orchestrate.

What would be the best way for me to do this?

I’m thinking to use Stripe’s API and get it set up that way. It would be cool to see Stripe as a v0 integration.

Thoughts?

I don’t think a Stripe integration is on the immediate roadmap but it may happen at some point

There are a few stripe templates in v0, including two of my own (the Neon+Stripe ones)

They use Upstash KV to store stripe subscription status and will help you register a webhook so that any time a user’s sub status changes, it updates KV immediately. Then you can always check KV for accurate sub status before performing an action rather than having to contact Stripe (which is slow and has strict rate limits)

One of the templates is labeled SaaS and it is the same except it has a CRUD system built in too

If you already have your app set up, you can open my template and ask v0 to explain where the payment code is. It’s pretty neatly packaged into /api/stripe so you should almost be able to lift it out directly into your app

https://v0.app/community?q=stripe

1 Like

Wait so you’re saying with your template I don’t actually need to use the real Stripe? That seems like a game changer.

You still need Stripe, you’ll add your STRIPE_SECRET_KEY and STRIPE_WEBHOOK_URL as environment variables. The landing page for the template walks you through that

Then in the code there’s a price ID for the subscription tier you can swap out for your own

1 Like

Okay I guess I’ll work through it one by one. It’s kind of annoying how since I’m in Australia, I need an ABN even though I’m not even making money with the business yet.

Anyway to bypass needing to declare my business idea as a business before getting paid? Any alternatives to Stripe?

Hey! Good news! The Stripe v0/Vercel integration has just been announced https://x.com/v0/status/1973041114207916070

1 Like

Man, can you believe 2 days ago I finally did the Stripe integration and now there’s a much easier way to do it…?

What are the chances :joy:

Going to just delete what I did and start fresh with the new integration option.