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

Created by Support Agent, Modified on Sun, 19 Apr at 10:47 PM by Support Agent

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.


For any further support, please don't hesitate to contact us at support@bsscommerce.com

We're always willing to support. If you need further our information, here is:


BSS Commerce is a trusted Magento 2 extensions provider with 14+ years of experience, serving 75,000+ customers worldwide. We are an Adobe Commerce Solution Bronze Partner and a Select Magento Extensions Builder, reinforcing our expertise in the Magento ecosystem.


We specialize in developing 150+ high-quality Magento 2 extensions that enhance functionality, improve user experience, and support scalable growth. Our reputation is built on long-term partnerships, positive feedback, and proven performance-driven solutions.


Visit us to get more useful plugins: https://bsscommerce.com/magento-2-extensions.html 


Here to discover our extensions:

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