Next.js Discord

Discord Forum

Need help with setting up LemonSqueezy subscription for Next.JS14 Supabase app

Unanswered
AverageJohnny posted this in #help-forum
Open in Discord
Just disclosing, I'm a beginner, and can't find my way around lemonsqueezy documentation.

I'm following a [tutorial](https://www.youtube.com/watch?v=293ZtCvxh90) and using nextjs14, Supabase (db, google auth) and stripe for subscription integration. Stripe isn't available where I'm from, so I have to use LemonSqueezy, but with the lack of tutorials on how to set it up, I'm super lost.

I'm aware that this may look like a shallow question, and it is, but I lack knowledge to ask it any different. I've read the docs, and understand the concept somewhat.

Spare a minute, help a noob out :please_cat: :please_cat: :please_cat:

20 Replies

they have javascript sdk which can be use with nextjs for integration
https://github.com/lmsqueezy/lemonsqueezy.js
Transvaal lion
why do you use Lemonsqueezy ? use stripe directly instead.
@AverageJohnny Yes, but I still have no god damn idea what to do with ...
read their doc? or asking their support?
@Transvaal lion why do you use Lemonsqueezy ? use stripe directly instead.
as i mentioned
Stripe isn't available where I'm from
@Ray read their doc? or asking their support?
Their doc doesn't include any decent beginner guide, and I'm not at a level where I can just read it and figure it out. I'm already battling with all the new concepts from nextjs and supabase
ton of tutorial on their doc
this one is using nextjs
also github repo included
using app router
@Ray https://docs.lemonsqueezy.com/guides/tutorials/nextjs-saas-billing
It's too complex for me and my use case. I just want to send user to their hosted checkout session and billing portal, and just somehow recieve the subscription updates for that user and update user in database accordingly.
@Ray all information are on their doc
Thank you for taking the time, but I've already read through most of it and the problem is I don't have enough knowledge about api calls or really programming overall to do these things on my own without a youtube tutorial.
but the concept should be similar to stripe
from what i see on their doc