We are facing an issue that is not constant, it happens very randomly and we are trying to understand. In the last 60 days, we have had 3 customers that they clicked on Place Order and the credit card was charged (authorize.net), but they never saw the success page and the order wasn't created in the backend either. I've checked the logs and the error below appeared on the exact time of the charge in the customer's credit cart. The same error is created for all customers that had the issue:

[2019-08-21 20:07:43] main.CRITICAL: Invalid state change requested {"exception":"[object] (Magento\Framework\Exception\StateException(code: 0): Invalid state change requested at /home/originsa/public_html/vendor/magento/module-quote/Model/QuoteRepository/Plugin/AccessChangeQuoteControl.php:45)"} []

I have found that as per the log the error occurs when passing through here: https://github.com/magento/magento2/blob/2.3/app/code/Magento/Quote/Model/QuoteRepository/Plugin/AccessChangeQuoteControl.php#L45

We are using: Magento ver. 2.3.1

Any help is very appreciated.

  • 1
    +1 we are having the same issue with Braintree, so I don't think this is related to the actual payment gateway used. Are you using any other plugins during checkout? We are utilizing the following: Module 'Wyomind_PointOfSale': Module 'Wyomind_PickupAtStore': Module 'Amasty_Shiprestriction':
    – Adam R.
    Commented Nov 18, 2019 at 16:24
  • We were able to get it fixed disabling Persistent Shopping cart. That solved the problem.
    – brngyn
    Commented Nov 20, 2019 at 23:33
  • @brngyn let me try disabling Persistent Shopping Cart. Also since your last post have you encountered this issue ?
    – sodhancha
    Commented Oct 28, 2020 at 14:23

2 Answers 2


This has been a huge pain to track this down due to the inconsistent/random nature of the issue. We are also using Wyomind_PointOfSale so if it is related to a 3rd party extension, that might be the problem extension. Thank you for advise on disabling the persistent cart, we will try that.


I am facing same issue with Purchase Order method:(

  • Any solution you got? Commented Jun 7, 2023 at 15:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.