First things first to avoid being asked redundant questions:
My code and webhooks are set up perfectly fine for live mode. My webhook secret and api keys are all in live mode and everything worked. However, things have not stopped working randomly and events are no longer firing.
I then change the webhook secret and api keys to test mode and test mode was working and detecting the events.
Im listening for customer.subscriptions.update and customer.subscriptions.deleted
Also when i was on live mode if from the dashboard i resent an event it would work in my code and the stripe webhook function in my code would run. It just no longer detects webhooks automatically..
Any ideas how to fix this? I literall haven’t changed anything it just stopped working I even tried on different server and still didnt work.I created new webhook, still didnt work.
Edash codes is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.