I'm in the final stages of finishing my membership system built with Laravel Spark, version "laravel/spark-stripe": "^2.6.4",. It is hosted on Forge through a Digital Ocean droplet.
I get the following error email from Stripe:
We’ve had some trouble sending requests in live mode to a webhook endpoint associated with your MySite account for nine consecutive days. (...)
The URL of the failing webhook endpoint is: https://www.mysite.no/spark/webhook
(...)
41 requests returned a HTTP 301, indicating your server is redirecting Stripe to deliver the event to a new location. This usually signifies you should update your webhook endpoint’s URL. You need to return any status code between HTTP 200 to 299 for Stripe to consider the webhook event successfully delivered.
The request has failed so many times that the webhook endpoint has been disabled by Stripe.
I've gone through the Spark documentation again and made sure the environment is set up correctly, I've registered the correct API keys and webhook endpoints, and I can't find any errors or typos anywhere.
Does anyone know why this is happening? I'd be happy to share any error logs or screenshots, if necessary.