v2.2.4: How to fix loading forever error when applying discount code and cancel it?

Created by Jane D, Modified on Mon, 21 Jun 2021 at 02:18 PM by Jane D

QUESTION:


I use your module v2.2.4 for my site Magento 2.3.5 and everything is fine so far.

However, I just found an error that it keeps loading forever if I apply the discount code then cancel it on the checkout page.


Do you have a fix?


ANSWER:


To fix this error, please edit the files below:


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



Or download the files attached below to override the current files on your site.


If you need any further assistance, please feel free to contact us. We'd be happy to support!  



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 atleast one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article