-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
PayPal doesn't clear Minicart but cart #4114
Comments
We are using: |
Since such blocks like Minicart are rendered on client side based on data stored in local storage, the fix is basically to specify actions which must invalidate particular sections of customer data: https://github.com/magento/magento2/blob/develop/app/code/Magento/Paypal/etc/frontend/sections.xml So, probably some other actions than "paypal/express/placeOrder" and "paypal/payflowexpress/placeOrder" are involved when you are out of sandbox? I'm not sure such scenarios are frequently tested by the way. |
Can you elaborate how to apply a fix here? Not sure if I want to change PayPal-core-files. :/ |
Look into Network tab of Developer Tools during your scenario and note actions involved in the process. If there are some missing in section invalidation config, add them similar to:
|
This issue is already fixed in develop branch, closing the issue. |
can you please paste a link to the fix. I have this bug on 2.0.7 |
I have the same bug using 2.0.7 - 2.1.0rc1 - 2.1.0rc2 |
- Revert change of PR 3766 - Fixed MC-16040 Fix data cleanup after test
We have found a weird bug. If a customer is paying with PayPal the Minicart doesn't get cleared. However, the cart is empty, so if you click "go to cart" you see "there are no products in your cart".
Bug only occours when using PayPal out of sandbox mode.
How can we fix this? I was thinking about a session destroyer on the success.phtml but wasn't lucky to find a solution for this.
Any ideas? Its kinda important for us.
The text was updated successfully, but these errors were encountered: