Sendcloud ParcelCreation added additional rule for DPD order_number

This commit is contained in:
OpenXE 2024-03-25 14:25:16 +00:00
parent 00276d40bb
commit 5a2d144ad7

View File

@ -43,7 +43,7 @@ class ParcelCreation extends ParcelBase
'country' => substr($this->Country, 0, DEFAULT_LENGTH),
'shipment' => ['id' => $this->ShippingMethodId],
'weight' => number_format($this->Weight / 1000, 3, '.', null),
'order_number' => substr($this->OrderNumber, 0, 50),
'order_number' => substr($this->OrderNumber, 0, 35),
'total_order_value_currency' => $this->TotalOrderValueCurrency,
'total_order_value' => number_format($this->TotalOrderValue, 2, '.', null),
'country_state' => substr($this->CountryState, 0, DEFAULT_LENGTH),