v1.1.6: Fix the "invalid state change requested" error at checkout for any logged in customer

Created by Rosa Truong, Modified on Tue, 23 Mar, 2021 at 2:07 PM by Rosa Truong

Issue: 

We have established that the module Magento 2 Shipping and Payment Method per Customer Group  v1.1.6 but it is causing an "invalid state change requested" error at checkout for any logged in customer.


Solution:

The issue is cause due to our module's bug.

To solve it, please follow our guide below.

+ Edit and apply two files on the site (refer to the attachments)

app/code/Bss/Paymentshipping/Observer/ActivePaymentMethod.php

app/code/Bss/Paymentshipping/Plugin/ShippingMethodManagement.php

+ Flush the cache


If you need any further support, please feel free to contact us.

We'd like to help.



Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article