When I am placing order by my payment gateway I am getting error "Invalid state change requested". when I debug the core code then I found that error is coming from plugin used by core classes.
Magento\Quote\Model\QuoteRepository\Plugin\AccessChangeQuoteControl.php
public function beforeSave(CartRepositoryInterface $subject, CartInterface $quote)
{
if (! $this->changeQuoteControl->isAllowed($quote)) {
throw new StateException(__("Invalid state change requested"));
}
}
Please anyone have an idea why i m facing this issue ?