• Resolved jmichaelc

    (@jmichaelc)


    I’m having an issue where my woocommerce cart expires when I proceed through the checkout process. However, the order shows up in the admin section of woocommerce. The message “Sorry, your session has expired. Return to the home page.” shows up on the order-confirmation page.

    I’m overriding the woocommerce theme, and I’m placing all of the overridden files in “theme/woocommerce/” I’ve tried setting the wordpress URL equivalent to the base URL, but to no avail (it was suggested in a previous post).

    My site is here: https://staging.sorinex.flywheelsites.com/ (you’ll need authentication to access it).

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Claudio Sanches

    (@claudiosanches)

    Using what payment method?
    Have you tested with the default WooCommerce payment methods like Check Payments?

    Thread Starter jmichaelc

    (@jmichaelc)

    I was using the COD payment method. I’m also using Authorize.net, which I haven’t tested yet. However, I got it to work by using conditionals in the page.php file of my theme:

    if(wc_get_page_id( 'cart' ) == get_the_ID()) {
        load_template( get_template_directory() . '/woocommerce/cart/cart.php' );
    }
    
    if( wc_get_page_id( 'checkout' ) == get_the_ID() ) {
        if( is_wc_endpoint_url( 'order-received' ) ) {
            load_template( get_template_directory() . '/woocommerce/checkout/thankyou.php');
        } else {
            load_template(get_template_directory() . '/woocommerce/checkout/form-checkout.php');
        }
    }

    Hi Guys!

    Here’s happenning exactly the same problem. I am using the Pagar.me plugin payment method. When I try to checkout by a standard method of Woocommerce like as check payments works correctly. Any idea?

    ‘Sorry, your session has expired. Return to homepage’

    Not overly understanding what is going on also learning as I go. my website is https://www.ottiev.com

    I have been trying to fix for weeks and I cannot figure it out! Cannot checkout and given this message after clicking check out.

    Please help

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Session expired on checkout’ is closed to new replies.