Request timed out / subscribtion to mailchimp not working #299
Unanswered
nermineslimane
asked this question in
Q&A
Replies: 2 comments 1 reply
-
I am facing the same issue. Did you get it fixed @nermineslimane ? |
Beta Was this translation helpful? Give feedback.
0 replies
-
I just got it fixed by setting endpoint=null instead of empty string |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm using the Spatie Newsletter package with the Mailchimp driver to handle newsletter subscriptions in my Laravel application. However, when I call the subscribe() method, the subscriber is not being added to the corresponding list on Mailchimp, and I'm not getting any error messages.
Here's the code I'm using:
use Spatie\Newsletter\Facades\Newsletter;
//
public function Subscribe(Request $request)
{
}
And this is my config file newsletter.php
No exception is thrown, hoewever the function return false, and the audience list in mailchimp is not updated.
I've checked that the Mailchimp API key is correct and that the list ID is also correct. I've also tried using the subscribeOrUpdate() method instead, but it didn't work either.
What could be causing this issue, and how can I debug it? Any help would be appreciated.
Beta Was this translation helpful? Give feedback.
All reactions