• Resolved kmam

    (@kmammasis)


    Hello,

    After the most recent update of your plugin, we have identified a bug that causes the Woocommerce checkout page to indefinitely reload.

    When I look at the HTTP requests being sent between the browser and server on the Checkout page then I can see that WooCommerce AJAX is explicitly setting a reload request. This is different to a typical redirect in that you can see the page finishes loading first and then it does a redirection.

    The issue only happens for VPN locations not listed in the “Sell to specific countries”. For example, if I use France then it will constantly reload the page, but when I add ‘France’ to the “Sell to specific countries” list then the reloading issue stops. Upon removal of France from the “Sell to specific countries” list, then the reloading issue comes back again. Same applies to any other country not listed in that list.

    Finally, we identified that this is related to your plugin, which when deactivated, everything goes back to normal. It has been most likely caused by the latest update. Please check the following video for more details.

    Thanks and hope to resolve this asap.

    Best Wishes,
    Konstantinos

    P.S. Is there any easy to roll back to the previous version until this issue has been completely resolved?

    • This topic was modified 2 years, 2 months ago by kmam.
Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Oscar Gare

    (@oscargare)

    Hi there,

    I’m sorry, but I can’t reproduce the same issue.
    Please check it on our demo store:
    https://demo.pricebasedcountry.com/

    Demo store settings:
    WooCommerce 6.8.2
    PBoC 2.2.5

    Selling location(s):
    https://i.ibb.co/pjzL87N/Screenshot-2022-09-08-at-09-19-58-Woo-Commerce-settings-demo-pricebas-Word-Press.png

    Pricing zones:
    https://i.ibb.co/MgdQv30/Screenshot-2022-09-08-at-09-24-33-Woo-Commerce-settings-demo-pricebas-Word-Press.png

    You can do the test from “Greece,” “Canada”,…

    Could you do a test only with PBoC, WooCommerce, and the Storefront theme to check if another plugin or your theme customizations cause the issue?

    Thanks

    Thread Starter kmam

    (@kmammasis)

    Hello and thanks for getting back to me.

    When I deactivate the Price Based on Country for WooCommerce everything gets back to normal. Did you watch the previously attached video? Wasn’t that helpful?

    Thanks a lot.

    Konstantinos

    Thread Starter kmam

    (@kmammasis)

    The issue only happens when the country is not listed in the Selling countries of the Woocommerce store. So in your test case you are selling only to Hungary, India and the U.K.. In this case, If I visit from Greece for example, and proceed to checkout, the page should reload indefinitely. Your demo page does not have the checkout functionality so I cannot test this fairly and accurately. This is exactly what happens to us.

    If then I decide to list Greece as one of the Woocommerce selling countries, the problem disappears. Alternatively, when I deactivate your plugin everything gets back to normal and the reloading does not happen. Please check the video I attached earlier on. I believe it clarifies the situation.

    I would very much appreciate your help in getting this resolved.

    Best,
    Konstantinos

    • This reply was modified 2 years, 2 months ago by kmam.
    Plugin Author Oscar Gare

    (@oscargare)

    Hi,

    What do you mean by “checkout functionality”? The demo has a checkout page.
    You can add a product to the cart (https://demo.pricebasedcountry.com/shop/) and then go to checkout (https://demo.pricebasedcountry.com/checkout/)

    The latest update only fixes an issue related to the “Filter by price.”, so I can’t find the relation between this update and the checkout.

    I wan’t to help you, but I can’t fix a problem that I can’t see.

    You can provide more information to me by doing the test only with WooCommerce and PBoC active.

    Thank you.

    Thread Starter kmam

    (@kmammasis)

    Hi Oscar,

    you are right. I cannot also replicate the issue via your setup. I am currently investigating this. Not sure what is happening.

    The strange thing is that when PBoC is deactivated on my setup everything works as expected.

    Thanks

    Plugin Author Oscar Gare

    (@oscargare)

    It may be due to a conflict with another plugin. To find it out:

    * Switch to a default WordPress theme.
    * Deactivate all plugins except WooCommerce and Price Based on Country.
    * Test if the problem still exists.
    * Determine which plugin is causing the conflict by reactivating plugins one by one.

    Thread Starter kmam

    (@kmammasis)

    Hi again,

    you were right. I believe we have now identified the source of the problem.

    Thank you for your effort.

    Best Wishes,
    Konstantinos

    Thread Starter kmam

    (@kmammasis)

    Hello Oscar,

    this issue still puzzles us so I have to reopen it in case we can all find out the solution. Problem occurs when 3 plugins are simultaneously active: Price based by Country, Stripe, Stripe 2(custom plugin).

    I would like to ask you the following:

    Is there any chance that the “Price By Country” plugin changes data during the saving of customer data so it appears as if the customer country is changed? If yes, when does it change that data? And why is the new customer country not saved permanently?

    Thank you

    Plugin Author Oscar Gare

    (@oscargare)

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Reloading Bug at Woocommerce Checkout after latest update’ is closed to new replies.