• Hi,

    I created a few shortcodes that generate sections of the WC checkout page (billing form, review etc).

    They display the checkout page perfectly, and payments work per normal. However the thank you page always returns the error ‘Sorry, your session has expired.’

    The orders are processed properly, just that message shows up after the checkout is complete. Is there something someone can suggest I look at to see what could be causing this issue?

    Cheers

Viewing 2 replies - 1 through 2 (of 2 total)
  • I don’t know what might cause that but I will try to start from here: /woocommerce/includes/class-wc-checkout.php

    This is the place where this phrase appears and it is connected with an empty cart.

    Maybe the cart is cleared too soon?

    Thread Starter streamworksaudio

    (@streamworksaudio)

    Yeah I will need to take a look at that class and see if there is something that shed some light on the issue.

    The weird thing is if I change the checkout page back to the standard [woocommerce_checkout] shortcode and refresh the page, then the thank you page shows correctly.

    Cheers

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Shortcodes for checkout’ is closed to new replies.