Closed nrishoj closed 7 years ago
Hi,
Hope it is alright to post an issue.
I followed instructions as listed, but still it seems like there is no response.
dump(Newsletter::getApi()); gives me:
dump(Newsletter::getApi());
DrewM\MailChimp\MailChimp {#875 -api_key: "[omitted]" -api_endpoint: "https://us14.api.mailchimp.com/3.0" +verify_ssl: true -request_successful: false -last_error: "" -last_response: array:2 [ "headers" => null "body" => null ] -last_request: [] }
dump(Newsletter::getLastError()); gives me: false.
dump(Newsletter::getLastError());
false
dump(Newsletter::subscribeOrUpdate('rincewind@discworld.com')); gives me: Could not find a default list named [omitted].
dump(Newsletter::subscribeOrUpdate('rincewind@discworld.com'));
[omitted]
composer.json shows "spatie/laravel-newsletter": "^3.6" installed.
composer.json
"spatie/laravel-newsletter": "^3.6"
Both API, list ID and list name has been provided in config/laravel-newsletter.php.
config/laravel-newsletter.php
At mailchimp.com, it seems that the request doesn't get through:
Please let me know, if you need additional information.
Found solution in #84.
In the config file change subscribers to Testlist
Hi,
Hope it is alright to post an issue.
I followed instructions as listed, but still it seems like there is no response.
dump(Newsletter::getApi());
gives me:dump(Newsletter::getLastError());
gives me:false
.dump(Newsletter::subscribeOrUpdate('rincewind@discworld.com'));
gives me: Could not find a default list named[omitted]
.composer.json
shows"spatie/laravel-newsletter": "^3.6"
installed.Both API, list ID and list name has been provided in
config/laravel-newsletter.php
.At mailchimp.com, it seems that the request doesn't get through:
Please let me know, if you need additional information.