From 5a2d144ad70ba547e3b10dbbac9b21e59869ba7d Mon Sep 17 00:00:00 2001 From: OpenXE <> Date: Mon, 25 Mar 2024 14:25:16 +0000 Subject: [PATCH] Sendcloud ParcelCreation added additional rule for DPD order_number --- classes/Carrier/SendCloud/Data/ParcelCreation.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/Carrier/SendCloud/Data/ParcelCreation.php b/classes/Carrier/SendCloud/Data/ParcelCreation.php index 6bc42b14..ef645579 100644 --- a/classes/Carrier/SendCloud/Data/ParcelCreation.php +++ b/classes/Carrier/SendCloud/Data/ParcelCreation.php @@ -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),