Hi @creatium
Thank you for reaching out to Paid Memberships Pro, I’m really sorry to hear about the issue you are facing here.
Could you please try and load the webhook URL (for your Paid Memberships Pro powered site) and see if it loads okay?
It may also be possible that your server is blocking the Stripe Webhook request/IP Address of their server depending on the error log. You may reach out to Stripe support for more information about this.
Do you have any more details about this error from Stripe that we may overlook. Feel free to scrub any personal information that shouldn’t be public.
When checking out webhook, this is shown:
Logged On: 01/10/2022 10:25:13 No event ID given. -------------
In Stripe logs, I see one 401 Error today with response body like this:
{
"error": {
"code": "reauthentication_required",
"message": "Please log in again to complete this action.",
"message_code": "reauthentication_required",
"type": "invalid_request_error"
}
}
During a invoice.payment_succeeded call Stripe shows “No response body”. Not sure what else I could check.
Edit: Worth noting that we have changed our server during the holiday period (before problems started occurring). Maybe this could be related?
-
This reply was modified 4 years, 4 months ago by
Creatium.
Does your website require HTTP authentication (username and password) to view your website?
No it does not. I am able to view webhook through Incognito mode on Chrome and I see the same message.
I also now tried to disable current hook and create new one. Still same issues. Though orders from my website are coming through (I tested myself).
Could you please test the following code on your site that may resolve the error – https://gist.github.com/dparker1005/65d377b4580c4ca896cbff43a9128129
This should come out in a future release of Paid Memberships Pro which resolves issues for some sites.
Hi. This seems to have solved the issue. Tried to resend events and they succeeded.
Will let you know if it stops working.