Skip to content

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

Open

Description

@ktsour

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.

Activity

  1. HirokazuNishi commented on Aug 28, 2020

    @HirokazuNishi
    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.

  2. ktsour commented on Aug 28, 2020

    @ktsour
    Author

    Hi, we used 2.3.0 in magento 2.2.7

  3. HirokazuNishi commented on Aug 28, 2020

    @HirokazuNishi
    Contributor

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

  4. fysiosupplies commented on Aug 28, 2020

    @fysiosupplies

    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

  5. HirokazuNishi commented on Aug 28, 2020

    @HirokazuNishi
    Contributor

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

  6. fysiosupplies commented on Aug 28, 2020

    @fysiosupplies

    Yes. Our systems are all running on https.

  7. fysiosupplies commented on Aug 28, 2020

    @fysiosupplies

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions