diff --git a/classes/order/OrderPayment.php b/classes/order/OrderPayment.php index 8719819cfb7b6..005758b946e7a 100644 --- a/classes/order/OrderPayment.php +++ b/classes/order/OrderPayment.php @@ -52,7 +52,7 @@ class OrderPaymentCore extends ObjectModel 'table' => 'order_payment', 'primary' => 'id_order_payment', 'fields' => [ - 'order_reference' => ['type' => self::TYPE_STRING, 'size' => 9], + 'order_reference' => ['type' => self::TYPE_STRING, 'size' => 255], 'id_currency' => ['type' => self::TYPE_INT, 'validate' => 'isUnsignedId', 'required' => true], 'amount' => ['type' => self::TYPE_FLOAT, 'validate' => 'isPrice', 'required' => true], 'payment_method' => ['type' => self::TYPE_STRING, 'validate' => 'isGenericName', 'size' => 255],