From 2312660286fe6abac5ee5e6ed8c630cd90799f1a Mon Sep 17 00:00:00 2001 From: Tomasz Regdos Date: Mon, 15 May 2017 15:13:29 +0200 Subject: [PATCH] Cut too long names --- upload/catalog/controller/extension/payment/payu.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/upload/catalog/controller/extension/payment/payu.php b/upload/catalog/controller/extension/payment/payu.php index 97cbbcb..85402d4 100644 --- a/upload/catalog/controller/extension/payment/payu.php +++ b/upload/catalog/controller/extension/payment/payu.php @@ -238,7 +238,7 @@ private function buildProductsInOrder($products, $currencyCode) $this->ocr['products'][] = array( 'quantity' => $item['quantity'], - 'name' => $item['name'], + 'name' => substr($item['name'], 0, 250), 'unitPrice' => $itemGross );