Skip to content

Commit

Permalink
Raise limit on order_reference
Browse files Browse the repository at this point in the history
  • Loading branch information
Hlavtox authored Sep 27, 2024
1 parent fa6c3f4 commit 3cc8672
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/order/OrderPayment.php
Original file line number Diff line number Diff line change
Expand Up @@ -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],
Expand Down

0 comments on commit 3cc8672

Please sign in to comment.