Chrome 147: POST request returns 302 redirect instead of JSON on lite checkout - SyntaxError: Unexpected end of JSON input

Hello,

I am experiencing a critical issue on my CS-Cart store (ppcashop.fr). When customers click “Place order” on the checkout page, they get the following error on Chrome only (not Firefox or Opera):

“SyntaxError: Unexpected end of JSON input”

Using Chrome DevTools Network tab, I can see that the POST request to index.php returns a 302 redirect to the homepage instead of a JSON response.

The issue seems related to Chrome’s recent SameSite cookie policy changes. The session cookie is set to SameSite=lax which may be blocking AJAX POST requests in Chrome 147+.

CS-Cart version: 4.19.1.SP2 The checkout uses the native CS-Cart lite checkout.

Could you please investigate and provide a fix or patch?

Thank you, Lulu ppcashop.fr

I have placed order 2 times and failed to reproduce the issue

1 Like

json
Mobile phone and Chrome 147
Not problem Edge, Firefox, Opéra
Lulu

I was unable to reproduce the issue either.

Thank you for the test. Did you try with Chrome? It is the only one that also generates an error, including on my Android mobile. Thanks, Lulu.

Hi!

I was unable to reproduce this issue in Chrome either

Screenshots