• Resolved tripslip38

    (@tripslip38)


    The plugin seems to work fine as a widget using the shortcode, and reports “information submitted” after the button is clicked. But I’m not seeing any new addtions to the CC contacts list I have specified. How to debug this?

Viewing 14 replies - 1 through 14 (of 14 total)
  • Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    We’ve had various reports of delay in showing up in the ConstantContact.com list, so hopefully that’s the issue here. We’re still trying to figure out the source of the issue as well.

    Let us know and we’ll continue potentially debugging from there.

    Thread Starter tripslip38

    (@tripslip38)

    2 hours and no addition to the list yet. Is there a local log for submissions?

    I did have to hack the GuzzleHttp Curl handler file to add the setting to allow it to ignore self-signed SSL cert warnings. That seems to have been successful, as the admin pages work now (was previously getting a 500 error.) I’m assuming Curl also used for interacting with the API during submissions? No errors in the PHP log.

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Emails should still be getting sent to the email address provided in the admin email setting from Settings > General. Not sure if you’ve provided a valid email for that spot.

    I need to write up some docs/tutorial for these two constants I noticed recently in the code, that may help debug some issues:

    CONSTANT_CONTACT_DEBUG
    CONSTANT_CONTACT_DEBUG_MAIL

    If you’re familiar with things like WP_DEBUG and such, same idea, define them as a constant in the wp-config file.

    Edit: the logs would show up in the wp-content folder.

    I’m having this same issue. I host the site on GoDaddy and I’m wondering if they could be blocking the outbound communication with Contant Contact. Do you think that’s possible? Unfortunately, I don’t have access to the control panel so I can’t tinker with wp-config.php.

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    I can’t guarantee it, but I could believe a configuration issue being part of a problem. Perhaps contact GoDaddy support, if possible.

    I abandoned the plugin altogether and replaced it with Gravity Forms and Katz’s Constant Contact plugin. Worked like a charm on the first try. Thanks!

    Thread Starter tripslip38

    (@tripslip38)

    Here’s what I get from debugging:

    [15-Dec-2016 00:09:44 UTC] PHP Notice: Undefined index: _ctct_map_select in <snip>\blog\wp-content\plugins\constant-contact-forms\includes\class-process-form.php on line 451

    I commented out that comparison line to see if the error would stop occurring, and it did, but submissions still aren’t appearing in my CC list.

    • This reply was modified 8 years, 3 months ago by tripslip38.
    • This reply was modified 8 years, 3 months ago by tripslip38.
    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    That notice shouldn’t be a contributing factor to that part, and will be fixed in the next intended release.

    Do you have opt-in details checked and being a part of the form? I recall some recent debugging showing that that needs to be a part of it for the constantcontact.com integration.

    We’re looking into better documentation on all the parts as well, in case anyone is curious.

    Thread Starter tripslip38

    (@tripslip38)

    Yes, I’ve tried it in all configurations. Despite it reporting success, nothing is submitted.

    I found a bug in the code and fixed it for a client (had to break out PHPStorm and run it through a debugger). I’ve tried contacting constant contact but they weren’t interested in said fix. Please contact me if you would like it working on your site.

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    @allostech, if it’s with the WordPress plugin itself, please send my way, either by a reply here, or by email at michael @ webdevstudios.com and I’ll look it over.

    As much detail about the bug would be very helpful, so I can review in detail. If it’s related to the PHP SDK, then we can file an issue on GitHub, and if it’s with the plugin here, I have ability to get the fix(es) into the code.

    Thanks.

    @allostech Having same issue
    How did you fix?

    @tw2113 Is there anyway workaround this?
    Its sending wp-mail but contacts are not adding to the list

    • This reply was modified 8 years, 2 months ago by trickntips.
    • This reply was modified 8 years, 2 months ago by trickntips.
    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    @allostech I’m still interested in what you found.

    @trickntips Honestly do not at the exact moment, since I don’t know which part it may be failing at and why, without being able to get into the “guts” of things for the WordPress install in question. I want to make it easier to log those cases, for debugging purposes like this, but it’s not part of the plugin at the exact moment.

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    For those still paying attention, some notes that I’ve found as I’ve worked through various support threads.

    1. The opt-in settings must be set when creating the form.
    2. The opt-in checkbox that gets shown on the frontend must be included and available to be checked by the user. Visually hiding via CSS is going to make things not work, and thus not execute code needed to add to lists in ConstantContact.com
    3. WP Cron needs to be available and working. The requests to the API are delayed by about one minute, and are executed on a WP cron job at that point.

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Submission reports success by no contact added to list’ is closed to new replies.