Handling signed Stripe Webhooks with Edge Functions

  Рет қаралды 11,979

Supabase

Supabase

Күн бұрын

Пікірлер: 20
@codewithguillaume
@codewithguillaume 2 жыл бұрын
Again thanks for this Thor. One day i'll make again all of these steps you described to setup Stripe with Supabase because it is really useful!
@KartickSadhu
@KartickSadhu 4 ай бұрын
Thank you so much for this. It helps me a lot and save my time. Thank you again.
@thechronicgrump3906
@thechronicgrump3906 Жыл бұрын
I’m a bit confused cuz the webhook edge function gets all that info, but how do I set that info in my db? For example, I my function successfully triggers on a payment complete. I get that logged out fine, but now I want to put it in my db
@victorcleftune7344
@victorcleftune7344 Жыл бұрын
I am facing this issue also. Just wierd that no one wanna answer this question
@thechronicgrump3906
@thechronicgrump3906 Жыл бұрын
@@victorcleftune7344 I know right
@ktgnz
@ktgnz Жыл бұрын
I am also facing this issue... It writes to stripe, but returns a 500 error when testing in local environment I have also tried learning from the Taxonomy repo
@reakx9173
@reakx9173 Жыл бұрын
just write a function in the webhook edge function which updates the user with some data of the webhook
@CSkyGameGen
@CSkyGameGen 6 ай бұрын
This is incredible work and it actually really helped me implement what I wanted but why does Thor keep smacking his mouth every few mins 🤣
@LaViam
@LaViam 8 ай бұрын
Thanks for this video! What I don't understand here is the apikey - Supabase always requires the apikey header to be present (as far as I know), but presumably Stripe doesn't sent it when calling your endpoint. So how do you work around that?
@LaViam
@LaViam 8 ай бұрын
Ah, it's the --no-verify-jwt flag. Very nice!
@AbdelmadjidLablack
@AbdelmadjidLablack 8 ай бұрын
I got this message " Please note: this key will expire after 90 days, at which point you'll need to re-authenticate. " What should I do and how should i do it after 90 days ?
@AbdelmadjidLablack
@AbdelmadjidLablack 8 ай бұрын
Also if a new stripe api version is created, should i update the current one ?
@Nemesisthetrickster
@Nemesisthetrickster Жыл бұрын
I followed all the steps, but after triggering the Stripe event locally I get a 404 response from supabase.
@thedeveloperadam
@thedeveloperadam Жыл бұрын
Did you happen to find a fix, I am getting the same thing running "stripe trigger payment_intent.succeeded" is then just giving me 404s
@KaiCodingJourney
@KaiCodingJourney Жыл бұрын
this idiot creator made this tutorial and I had like 20 error a day that is just no way to fix!
@SimonChechoSayssa
@SimonChechoSayssa 11 ай бұрын
I got the same error, you have to add "stripe-webhook" to "stripe listen --forward-to localhost:54321/functions/v1/"
@simonhaas1243
@simonhaas1243 11 ай бұрын
404 means the endpoint was not found. You have to tell stripe the full endpoint: stripe listen --forward-to localhost:54321/functions/v1/stripe-webhook
@thedeveloperadam
@thedeveloperadam 11 ай бұрын
@@simonhaas1243 thanks! I did eventually figure this one out 😅
Deploying Edge Functions with GitHub Actions
9:02
Supabase
Рет қаралды 2,7 М.
Stripe Webhooks - The Ultimate Guide
29:04
Brett Westwood - Software Engineer
Рет қаралды 12 М.
Chain Game Strong ⛓️
00:21
Anwar Jibawi
Рет қаралды 41 МЛН
Гениальное изобретение из обычного стаканчика!
00:31
Лютая физика | Олимпиадная физика
Рет қаралды 4,8 МЛН
Usage-based restrictions for SaaS subscription tiers
35:28
Supabase
Рет қаралды 10 М.
Send Emails in Edge Functions
17:51
Supabase
Рет қаралды 12 М.
Build an API server with TypeScript
11:49
Deno
Рет қаралды 10 М.
Automate API requests with Database Webhooks in Supabase
14:52
Will Deno 2.0 Replace Node.js?
12:35
Web Dev Simplified
Рет қаралды 93 М.
Node.js: The Documentary | An origin story
1:02:49
Honeypot
Рет қаралды 681 М.
Sync Clerk Data to Your Database Using Webhooks
25:20
Hamed Bahram
Рет қаралды 53 М.