mirakl / magento2-seller-connector

This is the official Mirakl extension for sellers using Magento 2.
Other
10 stars 7 forks source link

"Tracking details are mandatory for this shipping method" error when trying to change order status #25

Open sallaberry opened 1 year ago

sallaberry commented 1 year ago

Hello,

We are experiencing some issues with the order status change in Magento following their shipment by our third-party shipping partner.

The partner company is "Envoi du net," and they use their WMS software.

When they complete the shipment in their software, it automatically updates the order as shipped and includes tracking information. However, for orders shipped via Mondial Relay, Magento returns the following error: "Tracking details are mandatory for this shipping method."

I've checked the code of the Mirakl Seller Connector module, and this phrase only appears in a translation CSV file and not in the code itself, so I cannot determine the reason for the error.

Do you have any idea about its origin?

Additionally, we've noticed that all orders are imported with a "shipping_method" of "flatrate_flatrate" and a "shipping_description" that changes depending on the shipping method the customer has chosen on the marketplace (whether it's "standard" or "Mondial Relay" shipping, for example). Is this normal?

Magento: 2.4.5-p3 Latest version of the Mirakl module

Thank you.

sallaberry commented 1 year ago

Update:

Ok I've made a rewrite for getAddressRate in \MiraklSeller\Sales\Model\Create\Quote so I can assign the right shipping method (module should have a way to map shipping methods for order import...)

Any idea for "Tracking details are mandatory for this shipping method" error ?

thanks