Git Product home page Git Product logo

mailchimp-plugin's People

Contributors

a8-utopig avatar acasar avatar alekseybobkov avatar daftspunk avatar eoler avatar furqanfreed avatar gergo85 avatar luketowers avatar mariavilaro avatar sarahetter avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

mailchimp-plugin's Issues

Error Class 'NZTim\Mailchimp\MailchimpServiceProvider' not found

Hello,
I don't understand why on the frontend of my site after installing the mailchimp plugin I have this exception!
"Class 'NZTim\Mailchimp\MailchimpServiceProvider' not found"
and if I uninstall it, after I clean the cache every now and then the same error occurs again!
Somebody help me, please?
thank you

Double opt-in doesn't seem to work

Using plugin to add subscribers to the list. Subscribers get added, but no opt-in confirmation is sent. Neither subscription notifications are being sent. Waiting overnight, still no emails received (opt-in conf nor subscription notification). Domain from which emails appear to be send is verified in MailChimp. Any suggestions on what I may be missing?

AJAX handler mailSignup::onSignup not found

I can't seem to get this working. I've got the component added and configured with API key and List ID, but anytime I try to enter an email on the front end, the AJAX framework comes back with an error that onSignup is not found, however when I go into the source code for the plugin, I can see that there is a function called onSignup.

It looks like a pretty straight forward plugin, so I'm not sure what I could be missing.

Thank you,
Josh

Sorry there was an error: 404

after submitting the email Ii received this error message:

Sorry there was an error: 404: The requested resource could not be found.

Translation

Hi,

Is it possible to translate this good plugin to Spanish? Could I help?

Many thanks and kind regards,

Alb

Exception while form submit

Still got this error on one of my client server while its working well on another server.

Any hint on where to look at to solve this please?

TypeError: Symfony\Component\Mailer\Transport\Dsn::__construct(): Argument #2 ($host) must be of type string, null given, called in /var/www/html/vendor/laravel/framework/src/Illuminate/Mail/MailManager.php on line 186 and defined in /var/www/html/vendor/symfony/mailer/Transport/Dsn.php:28
Stack trace:
#0 /var/www/html/vendor/laravel/framework/src/Illuminate/Mail/MailManager.php(186): Symfony\Component\Mailer\Transport\Dsn->__construct()
#1 /var/www/html/vendor/laravel/framework/src/Illuminate/Mail/MailManager.php(164): Illuminate\Mail\MailManager->createSmtpTransport()
#2 /var/www/html/vendor/october/rain/src/Mail/MailManager.php(37): Illuminate\Mail\MailManager->createSymfonyTransport()
#3 /var/www/html/vendor/laravel/framework/src/Illuminate/Mail/MailManager.php(97): October\Rain\Mail\MailManager->resolve()
#4 /var/www/html/vendor/laravel/framework/src/Illuminate/Mail/MailManager.php(75): Illuminate\Mail\MailManager->get()
#5 /var/www/html/vendor/laravel/framework/src/Illuminate/Mail/MailManager.php(554): Illuminate\Mail\MailManager->mailer()
#6 /var/www/html/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(338): Illuminate\Mail\MailManager->__call()
#7 /var/www/html/plugins/abwebdevelopers/forms/components/CustomForm.php(624): Illuminate\Support\Facades\Facade::__callStatic()
#8 /var/www/html/plugins/abwebdevelopers/forms/components/CustomForm.php(341): ABWebDevelopers\Forms\Components\CustomForm->sendNotification()
#9 /var/www/html/modules/system/traits/DependencyMaker.php(29): ABWebDevelopers\Forms\Components\CustomForm->onFormSubmit()
#10 /var/www/html/modules/cms/classes/ComponentBase.php(231): Cms\Classes\ComponentBase->makeCallMethod()
#11 /var/www/html/modules/cms/classes/controller/HasAjaxRequests.php(350): Cms\Classes\ComponentBase->runAjaxHandler()
#12 /var/www/html/modules/cms/classes/controller/HasAjaxRequests.php(129): Cms\Classes\Controller->runAjaxHandler()
#13 /var/www/html/modules/cms/classes/Controller.php(386): Cms\Classes\Controller->execAjaxHandlers()
#14 /var/www/html/modules/cms/classes/Controller.php(226): Cms\Classes\Controller->runPage()
#15 /var/www/html/modules/cms/classes/CmsController.php(71): Cms\Classes\Controller->run()
#16 /var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Controller.php(54): Cms\Classes\CmsController->run()
#17 /var/www/html/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(43): Illuminate\Routing\Controller->callAction()
#18 /var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Route.php(260): Illuminate\Routing\ControllerDispatcher->dispatch()
#19 /var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Route.php(205): Illuminate\Routing\Route->runController()
#20 /var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(798): Illuminate\Routing\Route->run()
#21 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(141): Illuminate\Routing\Router->Illuminate\Routing\{closure}()
#22 /var/www/html/plugins/vdlp/twofactorauthentication/classes/TwoFactorMiddleware.php(57): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#23 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Vdlp\TwoFactorAuthentication\Classes\TwoFactorMiddleware->handle()
#24 /var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(50): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#25 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Routing\Middleware\SubstituteBindings->handle()
#26 /var/www/html/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(49): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#27 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\View\Middleware\ShareErrorsFromSession->handle()
#28 /var/www/html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(121): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#29 /var/www/html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(64): Illuminate\Session\Middleware\StartSession->handleStatefulRequest()
#30 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Session\Middleware\StartSession->handle()
#31 /var/www/html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(37): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#32 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle()
#33 /var/www/html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(67): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#34 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Cookie\Middleware\EncryptCookies->handle()
#35 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(116): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#36 /var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(799): Illuminate\Pipeline\Pipeline->then()
#37 /var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(776): Illuminate\Routing\Router->runRouteWithinStack()
#38 /var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(740): Illuminate\Routing\Router->runRoute()
#39 /var/www/html/vendor/october/rain/src/Router/CoreRouter.php(32): Illuminate\Routing\Router->dispatchToRoute()
#40 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(190): October\Rain\Router\CoreRouter->dispatch()
#41 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(141): Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}()
#42 /var/www/html/plugins/zaxbux/securityheaders/classes/SecurityHeaderMiddleware.php(20): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#43 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Zaxbux\SecurityHeaders\Classes\SecurityHeaderMiddleware->handle()
#44 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(86): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#45 /var/www/html/vendor/october/rain/src/Foundation/Http/Middleware/CheckForMaintenanceMode.php(23): Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance->handle()
#46 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): October\Rain\Foundation\Http\Middleware\CheckForMaintenanceMode->handle()
#47 /var/www/html/plugins/vdlp/redirect/classes/RedirectMiddleware.php(41): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#48 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Vdlp\Redirect\Classes\RedirectMiddleware->handle()
#49 /var/www/html/plugins/zaxbux/securityheaders/classes/NonceGeneratorMiddleware.php(22): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#50 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Zaxbux\SecurityHeaders\Classes\NonceGeneratorMiddleware->handle()
#51 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(116): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#52 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(165): Illuminate\Pipeline\Pipeline->then()
#53 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(134): Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter()
#54 /var/www/html/index.php(70): Illuminate\Foundation\Http\Kernel->handle()

Error when submitting

This is the error:
Sorry there was an error: 404: The requested resource could not be found.
It seems that this link no longer exist:
$result = $MailChimp->post("lists/".$this->property('list')."/members", $subscriptionData);

Don't store API key in the component settings

It's not the smartest idea to store the Mailchimp API key in the Component settings area. This file might be compromised.

The API key should be stored in the database or at least in an encrypted format.

List doesn't populate

Entered addresses don't make it into my list. I see the API call is working fine, but the email-addresses don't appear in my list. The list-ID is correctly on the component…Any help? Thanks!

Can't add emails to list

What I did:

  • In the OctoberCMS back-end go to the System / Settings page and click the MailChimp link.
  • Paste the API key in the MailChimp API key field.
  • Paste your MailChimp list identifier in the MailChimp List ID field

Form after submiting:
image

API working:
image

Users on list: 0

Where is the problem? :|

thanks!

Unknown error

Hello! i'm receiving this error from signup form: Sorry there was an error: Unknown error, call getLastRespomse() to find out what happened do you have any idea how to fix it?

Requirements not stated anywhere

Hi,

when I install plugin in my own theme (plain html), it doesn't seem to work. Are there any requirements I should include ? Like jQuery, or similar ? No requirement are stated on description page or docs.

Thanks for the help.

Is this plugin mantained?

We use it in almost all of our October projects, and I see that it seems deprecated (in the october marketplace it's only compatible with october 1, even if we are using it withoug problems with 2 and 3 projects). I'd like to subscribe users in mailchimp when they register (if they check a newsletter subscription checkbox), and I'm wondering if I should do a pull request here or if maybe I should develop my own new Mailchimp plugin.

Accessing result of signin up from fron side

Hello,

I have tried displaying different messages on the frontend depending on the result of executing the onSignup() function, however this function does not return the result directly. I've created a pull request to fix this so that it's easy to grab the status field (or any other) on the front side and do whatever you need with it.

The pull request is here.

Allow more fields to be submitted

Right now, only the email field is submitted to MC. The API allows for more merge_vars and it would be nice to pass those in from the form as well.

MCAPI.class.php PHP 7 Compatibility

PHP 4 style constructors Deprecated in PHP 7.0.x

so update

function MCAPI($apikey, $secure=false) {
        $this->secure = $secure;
        $this->apiUrl = parse_url("http://api.mailchimp.com/" . $this->version . "/?output=php");
        $this->api_key = $apikey;
    }

TO:

function __construct($apikey, $secure=false) {
        $this->secure = $secure;
        $this->apiUrl = parse_url("http://api.mailchimp.com/" . $this->version . "/?output=php");
        $this->api_key = $apikey;
    }

mailSignup::onSignup' was not found

I'm getting the same 'mailSignup::onSignup' was not found' message. Has there been a solution that works? I've tried to add the component to the layout - same issue. Thanks!

Add tags to new subscriber email

I'm trying to add tags, but no success. Don't know if this is the correct way of adding tags, but I'm getting error of "Undefined offset: 1 on drewm/mailchimp-api/src/MailChimp.php
Do tags work in this version or I'm doing it wrong?

$subscriber_hash = $MailChimp->subscriberHash(post('email')); 
//$result = $MailChimp->put("lists/".$this->property('list')."/members/". $subscriber_hash, $subscriptionData);
        $result = $MailChimp->put("lists/".$this->property('list')."/members/$subscriber_hash/tags", [
            'tags' => [
                [
                    'name' => 'team',
                    'status' => 'inactive',
                ],
            ]
        ]);

Is this still working?

Hello,

I'am trying this plugin, but without success.

I have filled in the Mailchimp API key.
I have added component with {% component 'mailSignup' %} + List id to page: http://october.droneshoponline.nl/nieuws

When i fill in email address + subscribe nothing happens, what am i doing wrong?

Or how can i debug?

Hopefully someone can help me with this.

Not able to link website with mailchimp

Hi, I am trying to integrate mailchimp plugin. I have entered the mailchimp list id and entered the mail chimp API key.
When i enter an email address and press subscribe button. It does nothing and place the email address in the address bar of the chrome.
Kindly help.
Tell me what step am i missing here.

AJAX Issue

the plugin is throwing this exception on OC 3.4.14

October\Rain\Exception\SystemException: A widget with class name 'listFilter' has not been bound to the controller in /var/www/html/modules/backend/classes/Controller.php:607
Stack trace:
#0 /var/www/html/modules/backend/classes/Controller.php(452): Backend\Classes\Controller->runAjaxHandler()
#1 /var/www/html/modules/backend/classes/Controller.php(260): Backend\Classes\Controller->execAjaxHandlers()
#2 /var/www/html/modules/backend/classes/BackendController.php(98): Backend\Classes\Controller->run()
#3 /var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Controller.php(54): Backend\Classes\BackendController->run()
#4 /var/www/html/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(43): Illuminate\Routing\Controller->callAction()
#5 /var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Route.php(260): Illuminate\Routing\ControllerDispatcher->dispatch()
#6 /var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Route.php(205): Illuminate\Routing\Route->runController()
#7 /var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(798): Illuminate\Routing\Route->run()
#8 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(141): Illuminate\Routing\Router->Illuminate\Routing\{closure}()
#9 /var/www/html/plugins/vdlp/twofactorauthentication/classes/TwoFactorMiddleware.php(57): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#10 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Vdlp\TwoFactorAuthentication\Classes\TwoFactorMiddleware->handle()
#11 /var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(50): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#12 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Routing\Middleware\SubstituteBindings->handle()
#13 /var/www/html/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(49): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#14 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\View\Middleware\ShareErrorsFromSession->handle()
#15 /var/www/html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(121): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#16 /var/www/html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(64): Illuminate\Session\Middleware\StartSession->handleStatefulRequest()
#17 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Session\Middleware\StartSession->handle()
#18 /var/www/html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(37): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#19 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle()
#20 /var/www/html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(67): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#21 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Cookie\Middleware\EncryptCookies->handle()
#22 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(116): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#23 /var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(799): Illuminate\Pipeline\Pipeline->then()
#24 /var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(776): Illuminate\Routing\Router->runRouteWithinStack()
#25 /var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(740): Illuminate\Routing\Router->runRoute()
#26 /var/www/html/vendor/october/rain/src/Router/CoreRouter.php(32): Illuminate\Routing\Router->dispatchToRoute()
#27 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(190): October\Rain\Router\CoreRouter->dispatch()
#28 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(141): Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}()
#29 /var/www/html/plugins/zaxbux/securityheaders/classes/SecurityHeaderMiddleware.php(20): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#30 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Zaxbux\SecurityHeaders\Classes\SecurityHeaderMiddleware->handle()
#31 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(86): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#32 /var/www/html/vendor/october/rain/src/Foundation/Http/Middleware/CheckForMaintenanceMode.php(23): Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance->handle()
#33 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): October\Rain\Foundation\Http\Middleware\CheckForMaintenanceMode->handle()
#34 /var/www/html/plugins/zaxbux/securityheaders/classes/NonceGeneratorMiddleware.php(22): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#35 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Zaxbux\SecurityHeaders\Classes\NonceGeneratorMiddleware->handle()
#36 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(116): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#37 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(165): Illuminate\Pipeline\Pipeline->then()
#38 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(134): Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter()
#39 /var/www/html/index.php(70): Illuminate\Foundation\Http\Kernel->handle()
#40 {main}

AJAX handler 'mailSignup::onSignup' was not found

component has been added to footer partial . I get the following error everytime I submit the form
AJAX handler 'mailSignup::onSignup' was not found

Is this broken after RC upgrade or perhaps I have implemented it wrong?
All help welcome

I should add I am using override for the partials (in case upgrades overwrite my design changes)
But I have tried with default partials from plugin/component/ folder too and same result

AJAX handler 'mailSignup::onSignup' was not found.

I have a clean install of October and installed the Mailchimp plugin. I have added the component from the components list and inserted the code. Tried to test with my own email and the alert above was shown.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.