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.