Stripe webhook integration #376
i-h8-github
started this conversation in
General
Replies: 1 comment 2 replies
-
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I cannot for the life of me get Stripe webhook working in roda. It seems the app just rejects the POST request outright, because nothing inside the route block gets run, and puma just returns an immediate 400. I felt like this is a csp thing, but after commenting out the
content_security_policy
androute_csrf
plugins, nothing has changed. I'm at my wits' end trying to figure out the reason behind this behavior. Any ideas?The most annoying thing about this is that I can see the requests in
puma
's output, but it just looks like:"POST /webhook HTTP/1.1" 400 10613 0.0002
and nothing inside
r.post
gets run at all, including aputs
statement at the top that's there for a sanity check and confirmed working for other routes I've defined within the app. So does that meanpuma
is seeing the request, butroda
isn't?Thank you for your time.
Beta Was this translation helpful? Give feedback.
All reactions