You must provide a MailChimp API key - Error - Laravel MAilChip API

Posted in CategoryLaravel
  • N
    Nikhil 5 months ago

    Laravel 5 mailchimp api integration from scratch with example

    giving this error

     

    You must provide a MailChimp API key

     

    https://itsolutionstuff.com/post/laravel-5-mailchimp-api-integration-from-scratch-with-exampleexample.html

  • H
    Hardik Savani 5 months ago

    Thank you contact us Nikhil

    You need to follow step 1.

    You require to create MailChimp account and get mailchimp key and on .env file:

    MAILCHIMP_API_KEY=API-Key-Here
  • M
    Mistur Jones 3 weeks ago

    Hardik,

    In the website tutorial mentioned above, you haven't added the command for publishing the vendor. It wasn't until I looked at the GitHub page where you mention:

     

    Step 3: From the command-line run

    php artisan vendor:publish --provider="Skovmand\Mailchimp\MailchimpServiceProvider"

     

    This made the difference for me, as there was no access to the mailchimp api key variable in .env

     

    Great work on this package though!!! 

Please login or register to leave a response.

* You May Also Like Bellow Issue to check *