[v1.2.9] How to fix the breaks shipments issue in M2.4.1?

Created by Support Agent, Modified on Sun, 19 Apr at 1:03 AM by Support Agent

Issue:


With the latest Customer Attributes module 1.2.9 and M2.4.1 creating a full shipment for an order does not automatically change the order status to 'Complete'. It stays in the current status, normally 'Processing'.  

The shipment is created, but a new duplicate shipment can also be created, as the system does not seem aware of the items already shipped.

In the 'Items Ordered' table under the Qty column, the 'Shipped X' information is missing after the shipment is created.

When I disable the module the shipments, status, and quantities all work as expected.

How to fix this issue?


Solution: 


The root of the issue is that the API gets the order two times and causes the issue on M2.4.1.

To solve this issue, please edit the file app/code/Bss/CustomerAttributes/Plugin/Api/OrderRepositoryInterface.php

Could you please replace the fixed file and flush the cache on the site?


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

We're more than happy to support you.


Reach us now!!


BSS Commerce is a full-service ecommerce agency with 14+ years of experience, supporting 75,000+ customers worldwide. As an Adobe Commerce Solution Bronze Partner and Select Magento Extensions Builder, we deliver trusted end-to-end solutions.


Our core strength is Magento, with 150+ extensions designed to enhance store performance and drive growth. With deep expertise from years of working on Magento websites, we deliver scalable, high-impact solutions backed by strong client trust.


Discover our extensions: https://bsscommerce.com/magento-2-extensions.html 


Our Magento B2B Extension by BSS Commerce is a flagship, widely used global solution, providing an all-in-one system for pricing, account management, and efficient B2B workflows.


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