Veriteworks / CookieFix

Fix Magento2.2/2.3/2.4 Cookie SameSite attribute
Academic Free License v3.0
65 stars 35 forks source link

Does this fix apply for Safari as well? #11

Open GowthamLeanSwift opened 3 years ago

GowthamLeanSwift commented 3 years ago

We are integrating Magento 2.3.3 with a third party payment gateway and the obvious issue logged out the user once the payment is complete, during the callback. We made use of CookieFix module (thanks to you!), it resolved the issue for Chrome.

But the issue still exists on Safari and it is not reproducible on all the systems. Only one or two users. I am running the same Safari version(Version 13.1.2) as them. While it does not kick me out of Safari after payment, it kicks them out. They are logged out and taken back to the login screen. And they don't necessary have to make a payment. They have to go to the payment gateway's page and just hitting Cancel is logging them out of the site.

Your help is much appreciated!!

HirokazuNishi commented 3 years ago

I tested against latest version of Chrome/Safari/FireFox/Edge, also we already use this for our clients. However no one reported such strange case. I wonder... their session might be expired???

GowthamLeanSwift commented 3 years ago

Unfortunately, it was a fresh session. A fresh private window, fresh login.

HirokazuNishi commented 3 years ago

Hm... but this case is hard to reproduce...

GowthamLeanSwift commented 3 years ago

It is, it happens only for one or two customers. And I am never able to reproduce it! Do you have any suggestions on how to handle this?

HirokazuNishi commented 3 years ago

Unfortunately, I don't have any good idea.