• Resolved letoniusz

    (@letoniusz)


    WordPress, woocommerce, plugins updated. Cache plugin disabled.

    Propably after the update of wordpress or woocommerce – when ordering without registration and login stopped appearing page “order-received” instead of it appears empty basket page.

    If you make an order logged in, EVERYTHING is normal and the “order-received” page is shown correctly.

    Help please.

Viewing 15 replies - 1 through 15 (of 18 total)
  • Hey there, @letoniusz! Thanks for contacting us. I’m happy to help you.

    To confirm if I understood correctly: When a customer completes an order without being logged in they don’t see the “order received” page. They are redirected to an empty basket. And this started happening recently, correct?

    When this happens, does the order goes through on the back end?
    Do you know if they get an order confirmation email?

    Furthermore, I’d like to understand your site properly. Please share with us the necessary information below for us to investigate the issue further:

    System Status Report which you can find via WooCommerce > Status > Get system report > Copy for support.
    Fatal error logs (if any) under WooCommerce > Status > Logs. Then you can use the selector to search for Fatal Errors.
    You could copy and paste your reply here or paste it via https://gist.github.com/ and send the link here.

    Looking forward to your reply.

    Have a wonderful day!

    Thread Starter letoniusz

    (@letoniusz)

    To confirm if I understood correctly: When a customer completes an order without being logged in they don’t see the “order received” page. They are redirected to an empty basket. And this started happening recently, correct?

    Yes, you are correct

    When this happens, does the order goes through on the back end?

    Yes

    Do you know if they get an order confirmation email?

    Yes, they get order confirmation e-mail (I tested it a lot of time yesterdey with disabling different plugins)

    System status https://gist.github.com/Letoniusz/3f57109c828391388d9a36e97678b4ad

    plugin-woocommerce https://gist.github.com/Letoniusz/0c3e2d2c5b72ba8b0b49acb0acdc67e4

    Without any fatal error from last days.

    Thread Starter letoniusz

    (@letoniusz)

    You can try to make order as a guest -> https://www.filtry-do-wody.info/sklep/

    Zee

    (@doublezed2)

    Hello letoniusz,

    Could you share a screenshot of the Thank You page that appears when you are logged in?
    Also, share the URL of the page.

    By default, WooCommerce should show the Order Received page.
    It should have this URL structure:

    https://mysite.com/checkout/order-received/12184/?key=wc_order_51hd6UkSuT2nI

    Lastly, could you go to WooCommerce → Settings and click the Advanced tab.
    Then share a screenshot of the page. Here is an example for your reference:

    Once you share the screenshots and the URL, I will compare them with my site.
    That should clarify where the problem lies. 🙂

    Best regards.

    Thread Starter letoniusz

    (@letoniusz)

    Could you share a screenshot of the Thank You page that appears when you are logged in?
    You can make second test order with creating account for testing. Screenshot https://i.imgur.com/KNHJt8J.png

    URL of thank you page with creating account https://www.filtry-do-wody.info/sklep/zamowienie/order-received/29880/?key=wc_order_ba0cusYKuTHe4

    Lastly, could you go to WooCommerce → Settings and click the Advanced tab.
    Then share a screenshot of the page. Here is an example for your reference:

    https://i.imgur.com/rxobYXy.png

    Zee

    (@doublezed2)

    Hello letoniusz

    Thank you for your reply.

    I have reviewed the screenshots you shared and everything looks fine.
    There are no misconfigurations but still, there is an issue.

    Next, I will recommend performing a full conflict test.
    Disable all the plugins except WooCommerce and then switch to the Storefront theme.
    After that, make a test order to see if the issue persists.

    The fact that it only happens when the user is not logged in, indicates that it has to do something with the cache. Therefore, I will also recommend contacting your web host and asking if there is a cache on the server side that might interfere with the default WooCommerce function.

    Looking forward to your response. 🙂

    Best regards.

    Thread Starter letoniusz

    (@letoniusz)

    I will contact my web host and come back here with information in 2 days.

    Hi @letoniusz,

    This sounds like a plan.

    Please feel free to reach out to us once you have the details. We’ll be more than happy to assist you further.

    Thread Starter letoniusz

    (@letoniusz)

    Hello, Unfortunatelly after cache purge of host and disable all plugins – problem still exist.

    I checked logs and I see that WooCommerce gives proper URL to thank you page (even for guest) but redirect it to cart (?)

    Look at the line 17 https://gist.github.com/Letoniusz/f87f8bad4006c7c5f7364e47adcc5e60

    Do you think we should downgrade PHP to 8.1?

    Zee

    (@doublezed2)

    Hello letoniusz

    Thank you for your reply.

    Before downgrading to PHP 8.1, I recommend performing a full conflict test.
    This test involves disabling all other plugins except WooCommerce and switching the theme to a default theme like Storefront.

    If you cannot perform a conflict test on the live site, I suggest using a Staging site.
    You may use the WP Staging plugin to create one.

    Let me know how it goes. 🙂

    Best regards.

    Thread Starter letoniusz

    (@letoniusz)

    Full conflict test didn’t help… Same redirect for guests.

    Plugin Support Rajesh K. (woo-hc)

    (@rajeshml)

    Hello @letoniusz,

    Sorry to know that the full conflict test didn’t help.

    You can try downgrading to PHP 8.1 now. Please let us know if the issue persists even after downgrading.

    Be sure you have a good backup in place of your full site and database. You can ask your host for backup functionality or consider using a service like Jetpack. If something goes wrong, you will be able to restore it.

    Thank you for your understanding and patience while we work on it.

    I have spent 7 hours on this and nothing helping, this is a bug in wocommerce, for GUESTS (not logged in users) to not redirecting them normally to order-received url page, but instead to empty cart, pls fix this bug, asap!

    Hi @tarikpersonal

    this is a bug in wocommerce, for GUESTS (not logged in users) to not redirecting them normally to order-received url page, but instead to empty cart, pls fix this bug, asap!

    Kindly note that, for a bug to be identified, the behavior must be reproducible.

    While investigating this, I went ahead with creating a test site with https://tastewp.com/, and installed/activated only the WooCommerce plugin. Like so.

    Next, I was able to check out as a guest, and be redirected to the order-received page, as expected. Screenshot linked here, for reference.

    I hope this helps!

    cc @letoniusz

    i have spent next few hours on testing and found that problem is in yoast pluign, after i deactivate yoast and REMOVED it from my site its ok now, i installed rank math plugin for seo now its without problems, there is a discussion on yoast as well about that but nothing:

    https://wordpress.org/support/topic/conflict-with-woocommerce-113/

Viewing 15 replies - 1 through 15 (of 18 total)

The topic ‘Order received page for guest users’ is closed to new replies.