#Switty
1 messages · Page 1 of 1 (latest)
can you share more context? is this you making a request to Stripe that is 400'ing?
Or a webhook endpoint from Stripe to you (and your code is returning a 404)
It's a webhook endpoint
Those console logs don't print either
Everything works until the webhook part. I've set up my domain which points at my server's address. Also have a "Let's Encrypt" SSL implemented with certbot
So All my traffic is going through the SSL.
so the first thing to make sure is that your webhook endpoint is being hit. So whatever your webhook endpoint is, just make sure that Stripe can hit it and your server logs something simple like "hello I received a request"
It's not getting hit. I did put a print there but nothing happens.
can you share an Event ID with me, one you expected to hit your webhook endpoint?
the Event ID like evt_123
looking
is your endpoint up and running? a 404 means it might not be up
like can you make a POST request to your own endpoint
and see the caca log in there?
in your server logs?
Now it's not up. I'll try now
No print in console in server
But it should be working, my server is up and even the port is open. I can ping it
yeah so that is something you'd have to investigate on your end, not sure entirely why but basically your /webhook endpoint isn't up
Ok. Thank you for your time!