• Resolved inspry

    (@inspry)


    Hello,

    When this plugin is activated on our site, it completely breaks our checkout from actually working. Instead, it throws a “session expired” error when submitting a Woo order and removes all products from the cart. When the plugin is disabled, this doesn’t happen at all. Here is a video showing this issue: https://app.screencast.com/UXhYvUuVDaQsB

    Can you please look into this issue?

    Thanks!

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

    (@constantcontact)

    Hi @inspry

    As is, we’re not managing to recreate the issue with our local setups, but we definitely acknowledge that something is going on for you. So we’re doing what we can to test various configurations.

    Out of curiosity, how many extra WooCommerce addons do you have active at the moment? Is it possible to disable all except WooCommerce Core and try again to see if you get the same results, where simply activating the plugin breaks things?

    Also just in case, are you willing and able to potentially temporarily modify the plugins code in regards to testing possible sources of issue, so we can hopefully track them down in cases where the issue is recreateable?

    Last questions for the moment, is this happening every time? and have you had the plugin active before, or is this your first time trying anything?

    Thread Starter inspry

    (@inspry)

    Hello,

    It took some digging, but I figured out that this plugin is conflicting with another plugin on our site. Please see this video here of me explaining the conflict: https://app.screencast.com/Do3eFPl2QylTH

    The plugin that this plugin is conflicting with is this one: https://woocommerce.com/products/wholesale-prices-tiered-pricing/

    Let me know if a support request needs to be brought up with that plugin or if you are able to fix the Constant Contact plugin on your end.

    Thanks!

    Plugin Author Constant Contact

    (@constantcontact)

    Good sleuthing here, all things considered.

    I’m curious if there’s any sort of error logs being logged that could lead to some more information, or perhaps something in your browsers developer console that reveals any sort of errors going on. If you’re not sure how to check that part, then if the site is technically publicly available, then we can check on our own with both of those plugins active.

    Thread Starter inspry

    (@inspry)

    Hi,

    I didn’t see any other errors on my part, but perhaps you can find them. The site is publicly available. Here is the URL in a secret link that expires: https://quickforget.com/s/516930f187228365e00d08d4416fda7dcaed6faba6bb038c

    I enabled both plugins (kept our other plugins and theme enabled for now as well). Let me know if you find anything.

    Thanks!

    Plugin Author Constant Contact

    (@constantcontact)

    Trying some things out now.

    Plugin Author Constant Contact

    (@constantcontact)

    Hmm, nothing standing out from the frontend/developer console aspect.

    May or may not be a longshot, but it feels like it’d be worth reaching out to the wholesale-prices-tiered-pricing plugin support since the issue happens simply by our plugin being active.

    That said, circling back to a question I had earlier, are you comfortable with temporarily editing our plugin’s code? I’m wondering if there’s a spot that I know of in the codebase, that may be contributing, and I want to see if commenting that spot out also resolves the issue.

    Thread Starter inspry

    (@inspry)

    Sure, we went ahead and submitted a support ticket to their team now as well.

    And we are comfortable temporarily editing some code to see if it will fix the issue. Just let us know where and we can try.

    Thanks!

    • This reply was modified 7 months, 1 week ago by inspry.
    Plugin Author Constant Contact

    (@constantcontact)

    The file is going to be constant-contact-woocommerce/src/AbandonedCheckouts/CheckoutRecovery.php and line 46.

    Adding a // in front of it, to make it read as such:

    //add_action( 'wp_loaded', [ $this, 'recover_checkout' ] );

    We’re curious if the recover_checkout() method that starts on line 56 is affecting things, especially since line 62 mentions emptying a cart.

    Thread Starter inspry

    (@inspry)

    Hi,

    We went ahead and commented out that line of code ( https://app.screencast.com/usCAlyD9RcKAD ) and then ran another test but had the same error unfortunately.

    We did hear back from the Wholesale plugin developers though and they have requested access so still working with them on it as well.

    Do you have any other ideas what may be causing it?

    Thanks!

    Plugin Author Constant Contact

    (@constantcontact)

    That was our most glaring idea for what’s going on at the moment, and since the issue still occurred, we’re back at square one on our end.

    Thread Starter inspry

    (@inspry)

    Got it. We’ll see what the other plugins say and update you. Thanks!

    Thread Starter inspry

    (@inspry)

    Hello,

    We finally heard back from the Wholesale plugin developers and they came back with this:

    We have reviewed this now but I am afraid we are not able to identify the cause of the conflict with the Constant Contact plugin. As this is a third-party plugin, we do not have comprehensive knowledge of its workings or code, so we cannot fully resolve the issue.

    Is there any way you guys can take a deeper look and see if this can be fixed on the Constant Contact plugin’s end? We’re really hoping for a resolution here.

    Thanks.

    Plugin Author Constant Contact

    (@constantcontact)

    Without it being able to be recreated on our end, it’s going to be pretty difficult to really dig in to any extensive degree to be honest.

    To be certain, things have been tested in both:

    1. Constant Contact + WooCommerce active, but the Wholesale plugin inactive, and things work overall.
    2. Constant Contact + WooCommerce deactivated, but the Wholesale plugin active, and things also working overall.
    Thread Starter inspry

    (@inspry)

    Hi,

    Yes, that’s correct. When both plugins are active, checkout breaks when submitting an order as a logged out user.

    I can provide you with access to our staging site so you can replicate the issue if it helps. I just need somewhere secure I can send it to you to. Can you provide that so you can replicate the issue?

    Thanks!

    Plugin Author Constant Contact

    (@constantcontact)

    You can reach us for off-forum discussion via this email address:

    [email protected]

    Please provide this link, https://www.ads-software.com/support/topic/breaks-woo-checkout/, in the messaging so that we know what support request the email is for.

    Thanks.

Viewing 15 replies - 1 through 15 (of 18 total)
  • The topic ‘Breaks Woo Checkout’ is closed to new replies.