#adam_60265
1 messages · Page 1 of 1 (latest)
Hi there
If MemberPress is controlling your code then yeah it is an issue with their server
The 401 is their server's response to the Webhook that we send.
So the error is coming directly from their server
MemberPress is a plugin on my WordPress site
And I'm seeing the 401 error in my Stripe Webook portal
Everything else in my test payments looks good... but all these requests have 401. I'm confused because the payments seem to "Succeed" via my Stripe home, but when I go into the Webhook page I see all my requests are returning 401
Yep that is because MemberPress is returning a 401
So you need to talk to them about that
Alright, will do
and just want to make sure i'm underestanding correctly
These webhook details are essentially when Stripe says "Hey, we've noticed a subscription / payment / etc. has been created, let's go let MemberPress know about that." So they send a request to my WordPress site, and are getting a 401 response from my WP site saying "Hey Stripe, you're not authorized to make requests to this site!"
Yep pretty much
Really the request we send is to your backend
Which is controlled by MemberPress
So not technically your "site" but same idea, yeah.
What is the specific error that is being returned in the 401?
I'm using Stripe Elements, and so that's because essentialyl Stripe is getting embedded into my site, and needs to let my backend know somethign happened? (Thru the webhook)
Yep
All I'm seeing is "401 Authorization Required"
Gotcha okay yeah that is coming directly from the code that MemberPress has hosted in order to receive these Webhooks
So we send the Webhook to their endpoint (the one you specified in your Stripe Dashboard) and then in their code hosted at that endpoint they hit an error and respond to our request with that 401 and send us that error message.
So really the only people who can debug why the error is occurring is Memberpress
"So we send the Webhook to their endpoint (the one you specified in your Stripe Dashboard)" where is this declared?
The plugin likely had you set that up with a specific URL
That is how we know where to send these Webhooks