Connecting subscription stripe with weweb and supabase

Someone did a subscription stripe with weweb and supabase, I searched on the forum, but I don’t really understand what I have to do. I saw some comment about Wrappers and Edge functions.

I don’t really get what I have to do.

Cheers,

Hi, I think you need to study a little bit how it all works, this is a very general question. It almost sounds like you want us to give you the whole thing. If you don’t have a problem, we can’t help much. You just have to do the work.

If you’d like to talk about this more, you might benefit from my consulting sessions, where I talk about things like these e.g. how to setup your project, feature or other.

So I did the first part with this series of videos:

I come from Flutterflow, so on my page I launch the checkout stripe session, and after payment I redirect to the cancel or success page. I installed Stripe Wrappers and Stripe Webhook, but after that I don’t understand how to get the informations coming from the stripe webhook and update the supabase
user table.

1 Like

Thanks for clarifying. You need to use triggers or webhooks for this to update the tables. So each time Stripe tells you something has changed, you act accordingly. In Supabase a lot of this is already managed by the Wrapper, which provides you with the info from your Stripe API. Again I’d probably need to understand your whole workflow, but you’re on the right path, you just need to dive deeper.

I have a question at the beginning of the workflow I send the info of the customer to stripe, it work on the weweb editor but not when it’s deployed why ?