v2.2.5: How to fix the incompatible issue on M2.2.2?

Created by Rosa Truong, Modified on Wed, 13 Oct 2021 at 04:43 PM by Rosa Truong

Issues: 

We are using v2.2.5 on M2.2.2 and we are facing the OSC page loading forever when:

1. Go to the OSC page and place the order

2. Enable Gift wrap

3. Apply discount code

Could you please check and solve the issues?


Solution:


The issues happen because the current version 2.2.5 is not compatible with M2.2.x at this time.

The class js does not exist on M2.2.x anymore.

'Magento_Checkout/js/action/recollect-shipping-rates'

And the module sales_rule apply coupon code and cancel coupon code does not have the code isloading(false) when not running get-payment-info.


To solve the issues, we have changed these files

+ app/code/Bss/OneStepCheckout/view/frontend/requirejs-config.js

+ app/code/Bss/OneStepCheckout/view/frontend/web/js/action/cancel-coupon-mixin.js

+ app/code/Bss/OneStepCheckout/view/frontend/web/js/action/get-payment-information.js

+ app/code/Bss/OneStepCheckout/view/frontend/web/js/action/set-coupon-code-mixin.js

 +app/code/Bss/OneStepCheckout/view/frontend/web/js/action/set-gift-wrap.js

+ app/code/Bss/OneStepCheckout/view/frontend/web/js/view/billing-address.js


Could you please check and apply these files on the site?


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

We're always willing to support you.

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 how can we improve this article!

Select atleast one of the reasons

Feedback sent

We apprciate your effort and will try to fix the article