• Resolved Jeff Daigle

    (@jeff-daigle)


    I’m trying to get this plugin to connect to my account, but when I fill out the setup fields the phone number doesn’t get saved and I’m unable to connect.

    WooCommerce 3.7, WordPress 5.2.2. Thanks—

Viewing 14 replies - 1 through 14 (of 14 total)
  • Plugin Author Constant Contact

    (@constantcontact)

    Is this occurring somewhere inside your WordPress admin area? or is it after clicking to sign up and taken outside of your dashboard?

    Thread Starter Jeff Daigle

    (@jeff-daigle)

    It’s happening on /wp-admin/admin.php?page=wc-settings&tab=cc_woo&section. I enter data for all the fields, then click “Save changes”. This takes me to the “Import Existing Customers” tab. Regardless of whether I choose Yes or No I never get taken to Constant Contact and when I go back to the “Store Information” tab the Phone Number field is empty, but all the others show the info I entered previously.

    I’m using Safari 12.1.2 without any content blockers.

    Plugin Author Constant Contact

    (@constantcontact)

    Hmm. Thanks for this. We will see if we can recreate at all and if so, determine what needs done.

    Thanks for your patience thus far.

    Plugin Author Constant Contact

    (@constantcontact)

    We did some testing with a dev site that didn’t previously have this Constant Contact + WooCommerce plugin and we were able to save the phone number field with zero issue.

    We’re definitely not dismissing the issue overall, just saying that we’re not yet able to recreate the issue.

    That said though, unless you’re willing to grant us elevated access, we can’t really do much from our end at the moment. We can definitely take support off of the public-facing forum here if you’re willing.

    Thread Starter Jeff Daigle

    (@jeff-daigle)

    Thanks, I would like to continue to pursue this, how should I contact you with login info for the site?

    Michael Beckwith

    (@tw2113)

    The BenchPresser

    Can you reach out to [email protected] and cc [email protected]. Please provide a link to this support thread as well so we can keep things organized for what goes to what.

    Thanks.

    Jay

    (@eastonarchery)

    Same problem for me. It wont save my phone number and there is no “connect to constant contact” Button.

    Plugin Author Constant Contact

    (@constantcontact)

    @eastonarchery so you know, we’re still investigating what’s happening for Jeff above and once we have a solid lead, we will try to check with you to see if you have similar situations.

    Plugin Author Constant Contact

    (@constantcontact)

    @eastonarchery what version of PHP are you running? PHP 7.3.x ?

    Jay

    (@eastonarchery)

    My godaddy server doest have a 3rd number. All it says is 7.3

    Plugin Author Constant Contact

    (@constantcontact)

    Close enough. This is our current lead as we were able to recreate ourselves too. Thanks for the speedy confirmation.

    Plugin Author Constant Contact

    (@constantcontact)

    @eastonarchery We’re decently certain that we have tracked down the source of the issue and it’s going to be a pretty easy fix overall.

    If you’re willing, we can provide the line and edit to make for your copy of the plugin so that you can get going on the rest of the usage. We’ll get the same edit in our next release of the plugin to everyone, as we’re working on a small handful of things that should get released soon. That way you won’t lose the hotfix.

    Let us know if you’re game.

    Jay

    (@eastonarchery)

    Yeah Im totally game! What do I need to do?

    Plugin Author Constant Contact

    (@constantcontact)

    In the src/View/Admin/WooTab.php file, on line 715 you should see this:

    return is_scalar( $value ) ? preg_replace( '/[^\d-()+]+/', '', $value ) : '';
    

    What needs done is have it changed to:

    return is_scalar( $value ) ? preg_replace( '/[^\d\-()+]+/', '', $value ) : '';
    

    There’s an extra \ in the middle of the preg_replace area that should get phone numbers validating again, and thus saving like expected.

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Setup Problem: Phone Number Won’t Save’ is closed to new replies.