• Plugin Author Constant Contact

    (@constantcontact)


    If you are running into issues with getting users added to your list(s) in your Constant Contact account at constantcontact.com, please read through the following checklist to make sure each condition is met.

    1. You have opt-in checked for the form you’ve created.
    2. You do not have WP CRON disabled for you website.

    Constant Contact requires user authorization to add them to a list in your Constant Contact account. Without the opt-in settings set in the admin, and the checkbox available to the user when filling in the form, the code that schedules the user submission will not be executed.

    If you have WP CRON disabled for any reason, or have issues with WP CRON, then the appropriate API requests to add the user could very well not end up executing. Constant Contact Forms will opt in the user on a cron job roughly a minute after the form is submitted. If WP CRON is disabled however, it won’t run the opt in code, or the issues will hinder its execution.

    Changing opt in delay time

    If you would like to change the default one minute delay to something else, you can use the constant_contact_opt_in_delay filter. For example, if you wished to have it wait for 3 minutes instead of one, you could do so with the following code

    function ctct_docs_change_optin_delay( $schedule_delay ) {
    	return 60 * 3;
    }
    add_filter( 'constant_contact_opt_in_delay', 'ctct_docs_change_optin_delay' );
    
Viewing 4 replies - 1 through 4 (of 4 total)
  • Ok – what is the status of this problem?

    I followed the instructions, WP Cron has not been disabled (not even sure how to do so) and the opt-in box is checked on.

    I AM NOT spending 60 hours to troubleshoot this, as one of the other users commented.

    Very frustrating to deal with the official plugin.

    I am getting the confirmation message (on both the website and the email notification), but the email addresses are not being added to the list.

    Should I be looking at another email provider?

    Plugin Author Constant Contact

    (@constantcontact)

    Hello @vskj91592q2

    In all the cases of issues we have helped debug or attempted to help debug, there are always certain things that are in our control, and then there are issues that are out of our control.

    The areas that are in our control is making sure the opt in settings are set for the forms and available for the user when they are filling in the form before submission. Those specifically come from our plugin. Once those conditions are met, we schedule up the action to send information to the Constant Contact API.

    Where things start becoming out of our control is in the WP Cron execution. As you state for your case, chances are high that the feature is indeed not disabled. However, we sadly can’t guarantee that it’s scheduling he cron jobs appropriately. If and when those are the cases, there is going to be nothing we can do from our plugin at the moment. It is an issue that is going to be affecting more than just our plugin as well.

    Hello @constantcontact,

    After some reviewing and testing of your problem(which is our problem as well), we feel the problem lies on your end of the wp_cron job schedules calls within the plugin. First, your request maybe not written correctly to the wp_cron file. The file can not connect or a error is returned in the cron jobs. Your request return a null or exception since the connection times out. Simply put the error or bug lies in how the plug interacts with the cron file.

    We suggest you view connections to the database, or what API calls you are making. This can be to wordpress itself or to consent contact.

    We hope this helps. If you need more information please contact us at [email protected] or 630-429-5459

    Best Regards,

    Nathaniel D. Smith
    CEO/President & Founder
    Blue Nova Technology, LLC
    BlueNovaTechnology.com

    Plugin Author Constant Contact

    (@constantcontact)

    With some support cases that our support staff have been granted elevated access to for the websites in question, we were finding that the scheduling was going as expected. It was the execution of any cron jobs that were failing. Because of this, we have been taking things case by case.

    On top of that, with version 1.2.5 released yesterday, we included an option that would bypass the use of the WP_CRON system as a whole. This would allow you to have related API calls initialized right away after a form submission, once the default email notifications are sent. We are hoping this helps take care of the cases where CRON is being an issue, but does not change anything for those who are not having issues. Please upgrade to version 1.2.5 if you haven’t yet, and give it a try with the new setting.

    Hope that helps.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Debugging Constant Contact list addition issues’ is closed to new replies.