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

Cookie Driver: Checkout Completion not clearing cart from browser #383

Closed
duncanmcclean opened this issue Mar 7, 2021 · 2 comments
Closed
Labels

Comments

@duncanmcclean
Copy link
Owner

I'm yet to confirm it myself but by the looks of things, in #382, the cookie driver seems to not remove the cart cookie from the customer's browser after checkout has been complete.

The linked discussion mentions it happening with the Mollie gateway after its redirect but I'm guessing it probably happens for on-site gateways, like Stripe as well.

How to reproduce

  1. Configure site to use CookieDriver
  2. Add item to cart
  3. Go to checkout and enter payment information
  4. User will then be redirected.
  5. Go to cart page, and see items remaining in user's cart.

What I expected

Like what happens with the session driver, after checkout, the customer's cart should be removed from their browser.

Environment

I'm assuming this happens with the latest version of v2.2.

@duncanmcclean duncanmcclean changed the title Cookie Driver Cookie Driver: Checkout Completion not clearing cart from browser Mar 7, 2021
@duncanmcclean
Copy link
Owner Author

Took me ages to figure out but it should be fixed for the next release.

@duncanmcclean
Copy link
Owner Author

Fixed in v2.2.14!

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

No branches or pull requests

1 participant