Static WooCommerce - Thank you page?

Hi Guys,

For tracking purposes i need the WooCommerce Thank You page as static endpoint.
Using the Bricks templates it works nicely only the end URL is dynamical

/afrekenen/order-received/21036/?key=wc_order_QBM8SrNqED0I5

Anybody has an idea to set a static endpoint in a “normal” way instead of using a code redirect?

Joep

Not answering your question.I might be totally wrong, just saying.

It might be this dynamic page is not just for show, this page using the key=xyz, it is recording the purchase or sending email or setting status in backend. This is required for certain task to complete if a webhook is not configured. Usually with payment providers.

tl.dr, make sure your oorder statuses do get updated if you use a static page.

Hi,

Yes, thanks for your reply. Yes i notice that these params process will trigger stuff. But i was curious if we can set a static page receiving all the same (post URL). I need it for a pixel tracking endpoint. I didn’t investigate yet if it’s also possible to set a regex URL (strip dynamical; use /afrekenen/order-received/ in the Pixel tracking (Facebook)

Joep

I’m not sure how wp and woo works, but the “thank you” page depends on the payment provider say stripe payment external payment, if it’s within same page checkout than the provider must be set to webhook and the app can redirect to whatever page, such as static page.

But, sorry i’ve no idea how woo works in your case. just wanted to point out that beware of the side-effects/events. Hope someone can help you out. cheers.