From 683538c86016c0bdb500fd2f4a4cc67e085550d5 Mon Sep 17 00:00:00 2001 From: yashodha Date: Fri, 13 Jan 2017 16:29:22 +0530 Subject: [PATCH] CRM-19863 - 'item_name' unnecessarily truncated when passed to PayPal --- CRM/Core/Payment/PayPalImpl.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Core/Payment/PayPalImpl.php b/CRM/Core/Payment/PayPalImpl.php index 4596c8e959..b2dcc108fc 100644 --- a/CRM/Core/Payment/PayPalImpl.php +++ b/CRM/Core/Payment/PayPalImpl.php @@ -834,7 +834,7 @@ class CRM_Core_Payment_PayPalImpl extends CRM_Core_Payment { $paypalParams = array( 'business' => $this->_paymentProcessor['user_name'], 'notify_url' => $notifyURL, - 'item_name' => $this->getPaymentDescription($params), + 'item_name' => $this->getPaymentDescription($params, 127), 'quantity' => 1, 'undefined_quantity' => 0, 'cancel_return' => $cancelURL, -- 2.25.1