v2.2.6: No error message when there are any input exceptions on M2.4.3

Created by Esther Nguyen, Modified on Mon, 20 Apr at 11:33 PM by Support Agent

ISSUE:

We are having some issues with the checkout. When there are any input exceptions (such as postcode BT5 2QJ), the plugin seems to be showing spinner and it is not going away. I would expect it to show the input exception message at the top of the screen like on default Magento checkout. 


SOLUTION:

It seems that the code of our One Step Checkout is blocking this action. The code only shows an error message if the user enters a valid email address and then the postcode. In your case, you have not entered the email address or anything before entering the postcode, so the error did not show up. 


To resolve the issue, please edit the file: app/code/Bss/OneStepCheckout/view/frontend/web/js/model/error-processor-mixin.js as below:

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


Besides, about the spinner issue, it is not logical to stop the spinner because in this case, the user is entering a wrong postcode. As far as you know, the spinner is responsible for blocking the customer's next actions until the correct postcode is entered, so we only suggest a solution to show the error message at the top of the checkout form as expected.


Learn more about us:


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.


Browse for more at: https://bsscommerce.com/magento-2-extensions.html 


Ready to explore our top tier extensions:



If you need any further assistance, please feel free to contact us. We'd be happy 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 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