Cart validation not working in one step checkout

Hello!

The cart validation function doesn’t seem to be compatible with the one step checkout. With the one step checkout I will see the warning message at the top, but the payment will ignore the warning and finalize the order.

After noticing that I switched to the 3 step checkout and the cart validation works as expected, when clicking on “continue” it scrolls up at the warning message and stays on the current step.

2 Likes

Hi Tommy,

Our internal dev team are looking into this - thanks for flagging. Will update here with more info asap.

Hi @Liam

Any update here? I am experiencing the same issue as @Tommy_Gaudreau1

I just ran into this same issue as well.

I have a simple checkout validation function that works correctly when checkout layout is set to 3 page. The function correctly halts checkout progress. But when it’s set to one page it does not block the checkout progress.

Looking at the function logs it appears in the case of the one page layout the function is run multiple times. The first time the errors are returned but then the function is run immediately a second time and even though the input data is the same this time the errors output is empty.

Any update here @Liam ?

This problem has been present for several weeks already and really making Validation API useless on one-page checkout. Any chance you could prioritise it on your end?

Bumping this one as still there is no solution or any update on this @Nick_Wesselman