Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add to cart stops working when enabling your plugin - Magento 2.2.7 #13

Open
ktsour opened this issue Aug 28, 2020 · 7 comments
Open

Add to cart stops working when enabling your plugin - Magento 2.2.7 #13

ktsour opened this issue Aug 28, 2020 · 7 comments

Comments

@ktsour
Copy link

ktsour commented Aug 28, 2020

Hi, once we install the plugin, it fixes the problem with the payment gateway but when we try to add anything to the cart, it does not add it.

@HirokazuNishi
Copy link
Contributor

Which version are you using? We applied 2.2x compatible version for our client websites, and no such report. Please share me more details and how to reproduce your case.

@ktsour
Copy link
Author

ktsour commented Aug 28, 2020

Hi, we used 2.3.0 in magento 2.2.7

@HirokazuNishi
Copy link
Contributor

Hm... Did you check add to cart request/response data? Also did you check Magento & web server logs?

@fysiosupplies
Copy link

fysiosupplies commented Aug 28, 2020

We are experiencing the same thing.

Using magento 2.3.5-p2 with version 2.3.0 of cookie fix.

We have found that in chrome it does not have the PHPSESSID cookie.

-edit-
This is only on chrome. other browsers work fine

@HirokazuNishi
Copy link
Contributor

@fysiosupplies does your Magento run only https? "SameSite=None" is only allowed with "Secure" attribute by browsers.

@fysiosupplies
Copy link

Yes. Our systems are all running on https.

@fysiosupplies
Copy link

fysiosupplies commented Aug 28, 2020

We have found our problem. While our secure url's started with https:// and the browser used https://Our base url's still had http://.

In order for magento to use secure cookies all four urls need to be https:// in store -> configuration -> general -> web

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants