#Cavalaa

1 messages · Page 1 of 1 (latest)

hushed hearthBOT
marble knoll
#

Here's a copy of our logs

native mason
#

Hello 👋
Is your server configured to handle a POST request on this route OR a diff type maybe?
You would get a 404 if we sent a POST to a route expecting a diff HTTP type request

marble knoll
#

yeah here's the line of code that handles this: // stripe routes
server.POST("/stripe/webhook", router.StripeWebhook(payment))

native mason
#

If you look into your server logs, do you see a request from Stripe at all?

marble knoll
#

yeah is it the POST i sent in the image above?

native mason
#

Do you see any other errors prior to your code returning a 404?

marble knoll
#

Yeah they appear to be the same event

native mason
#

Can you share the an example event ID? Maybe our logs may have more info
Should start with evt_xxx

marble knoll
#

I cant see it anywhere in our logs or where I made it in the Stripe CLI