• Hey,
    Hope you’re doing well.
    I need your help with disabling the double opt in mail being sent to customers when they’ve already checked the newsletter box.
    I’ve disabled it in the settings of mailchimp account setting.. but they’ve asked that this only works for mailchimp forms. for custom integrated forms I need to contact the plugin developer..

    To be more clear: I want the customers to be subscribed as soon as they submit the form by checking that newsletter checkbox no confirmation e-mail to be sent.

    Please advise at your earliest convenience!
    Thank you very much.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support jaysupport

    (@jaysupport)

    Hey buddy,

    We do not have an option for this in our plugin. That being said, we do include a filter in our MailChimp class called mcfrtb_mailchimp_subscribe_args. You should be able to hook into that with your own function to do something like this. For example:

    add_filter( 'mcfrtb_mailchimp_subscribe_args', 'mcfrtb_no_double_optin', 10, 2 );
    
    function mcfrtb_no_double_optin( $args, $booking ) {
    
      $args['status'] = 'subscribed';
     
      return $args;
    }

    It’s important to note that this is not something we’ve tested and not something we can test, as it is not a feature or intended feature of the plugin. If MailChimp still allows people to bypass the double opt-in, then that is how you would do it. If it does not work, you may need to alter the function (e.g. if they changed the corresponding argument, etc.) or it may just not work at all.

    Thread Starter buddyfix

    (@buddyfix)

    Okay I’ll test it out and be back soon today!

    Thread Starter buddyfix

    (@buddyfix)

    Hey this snippet even disable the MailChimp Functionality..
    It neither sent the mail for the confirmation neither contact is added in the MailChimp list.

    Can you please recheck or give me some other solution.
    thanks

    Plugin Support jaysupport

    (@jaysupport)

    Perhaps it’s the argument then. I’m not sure of all the available MailChimp arguments. You may need to contact them to find out. I was just pointing out that we offer a filter for you to be able to hook into the MailChimp functionality. However, you have to know how to work in the code in that fashion to be able to use it. While we include methods like this to allow you to customize the plugin, we cannot help implement specific customization.

    Also, as I mentioned in my previously reply, it might not even be possible.

    it is not something we’ve tested and not something we can test, as it is not a feature or intended feature of the plugin

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Would Like to disable double opt in of mailchimp’ is closed to new replies.