Closed perffectolt closed 4 years ago
Hi @perffectolt. Thank you for your report. To help us process this issue please make sure that you provided the following information:
Please make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, please, add a comment to the issue:
@magento give me 2.4-develop instance
- upcoming 2.4.x release
For more details, please, review the Magento Contributor Assistant documentation.
@perffectolt do you confirm that you were able to reproduce the issue on vanilla Magento instance following steps to reproduce?
Possible steps to reproduce:
@magento give me 2.4-develop instance
Magento instance deployment temporary unavailable due to service maintenance.
Hi @engcom-Lima. Thank you for working on this issue. In order to make sure that issue has enough information and ready for development, please read and check the following instruction: :point_down:
[ ] 1. Verify that issue has all the required information. (Preconditions, Steps to reproduce, Expected result, Actual result).Details
If the issue has a valid description, the label Issue: Format is valid
will be added to the issue automatically. Please, edit issue description if needed, until label Issue: Format is valid
appears.
[ ] 2. Verify that issue has a meaningful description and provides enough information to reproduce the issue. If the report is valid, add Issue: Clear Description
label to the issue by yourself.
[ ] 3. Add Component: XXXXX
label(s) to the ticket, indicating the components it may be related to.
[ ] 4. Verify that the issue is reproducible on 2.4-develop
branchDetails
- Add the comment @magento give me 2.4-develop instance
to deploy test instance on Magento infrastructure.
- If the issue is reproducible on 2.4-develop
branch, please, add the label Reproduced on 2.4.x
.
- If the issue is not reproducible, add your comment that issue is not reproducible and close the issue and stop verification process here!
[ ] 5. Add label Issue: Confirmed
once verification is complete.
[ ] 6. Make sure that automatic system confirms that report has been added to the backlog.
Hello @AndreyChorniy @perffectolt Could you provide more details for reproduce this issue?
I checked this case on Magento 2.4
Result: After edited PHPSESID cookie and set a different value, or delete the cookie and page refreshing the new session will start. But persistence will keep current customer data and mini cart will not be empty.
Note: If customer isn`t logged in, the cart will be empty after refreshing the page. I cannot use the mini cart to go back to checkout. Thank you!
@magento give me 2.4-develop instance
Hi @AndreyChorniy. Thank you for your request. I'm working on Magento 2.4-develop instance for you
Hi @AndreyChorniy, here is your Magento instance.
Admin access: https://i-27367-2-4-develop.instances.magento-community.engineering/admin_e4eb
Login: a78057c6
Password: 7c064dc5803c
Instance will be terminated in up to 3 hours.
Hello @engcom-Lima, I have provided possible steps to reproduce which worked for me on Magento 2.3.*. But I have checked this on Magento 2.4-develop and it seems that this is already fixed.
Hello @AndreyChorniy @perffectolt Can this issue be closed since it has already been fixed?
@AndreyChorniy @perffectolt, we are closing this issue due to inactivity. If you'd like to update it, please reopen the issue.
Having same issue on 2.3.3, any patches available for 2.3.3?
I'm also interested in a solution for this for Magento 2.3.4-p2.
@magento give me 2.4-develop instance
Hi @ronak2ram. Thank you for your request. I'm working on Magento instance for you.
Hi @ronak2ram, here is your Magento Instance: https://5a3fd9f5f55e8707e6074759500b1d42-2-4-develop.instances.magento-community.engineering Admin access: https://5a3fd9f5f55e8707e6074759500b1d42-2-4-develop.instances.magento-community.engineering/admin_16e9 Login: 45c32fb9 Password: c62417c1787c
@magento give me 2.4.2 instance
Hi @ronak2ram. Thank you for your request. I'm working on Magento instance for you.
Hi @ronak2ram, here is your Magento Instance: https://5a3fd9f5f55e8707e6074759500b1d42-2-4-2.instances.magento-community.engineering Admin access: https://5a3fd9f5f55e8707e6074759500b1d42-2-4-2.instances.magento-community.engineering/admin_9afe Login: 2aeb51b2 Password: dd93a1805d26
@perffectolt can you reopen this issue? We need the fix for 2.3.x
I find this commit in 2.4: 5b8ae5f#diff-2ea10600cbb348fc58af88b3056c7843a4dbcab7cda1dd9473096f4cbf7e162e
^ This did not work for 2.3.3
I used https://github.com/magento/magento2/commit/27a1299b501f6a15f9758148d17b53edfc51504d which fixed it for 2.3.3.
Also occurring on v2.4.5-p1. With v3.4.1 of the official Stripe connector.
We're using Redis and Varnish as well. There does seem to be an ongoing issue at Checkout related to session data. In this case, the cart was being updated just prior to placing the order after user action.
There's similar stuff with ReCaptcha handshakes not being forwarded on, addresses being changed causing errors to be thrown or users logging in for Carts that were previously guests.
We've actually moved server due to an upgrade so I think there's definitely a code bug somewhere, it just might be only prevalent in a specific server setup.
I find this commit in 2.4: 5b8ae5f#diff-2ea10600cbb348fc58af88b3056c7843a4dbcab7cda1dd9473096f4cbf7e162e
^ This did not work for 2.3.3
I used 27a1299 which fixed it for 2.3.3.
With latest M2 2.4.4, we are experiencing duplicated orders being placed due to this issue, since the payments platform accepts the payment, but Magento throws the "Invalid state change requested" and does not redirect customer to success view.
@PascalBrouwers @Stefan0x I suspect the commits you mentioned are already applied to 2.4.4, so they problem might not be completely solved yet.
I also tested Quality Patch ACSD-48694 and it does not seem to help: https://experienceleague.adobe.com/docs/commerce-knowledge-base/kb/support-tools/patches/v1-1-27/acsd-48694-invalid-state-change-requested-error-prevents-customer-from-placing-order.html?lang=en
Preconditions (*)
Steps to reproduce (*)
Expected result (*)
Actual result (*)
[2020-03-18 14:16:27] main.CRITICAL: Invalid state change requested {"exception":"[object] (Magento\Framework\Exception\StateException(code: 0): Invalid state change requested at /var/www/v2.kasiulai.lt/public_html/vendor/magento/module-quote/Model/QuoteRepository/Plugin/AccessChangeQuoteControl.php:45)"} []