CRM-17550 - Missing payment description in PayPalImpl.
authorDave Greenberg <dave@civicrm.org>
Thu, 12 Nov 2015 00:27:19 +0000 (16:27 -0800)
committerDave Greenberg <dave@civicrm.org>
Thu, 12 Nov 2015 00:27:19 +0000 (16:27 -0800)
----------------------------------------
* CRM-17550: PayPal Website Standard : payment description is not being passed to PayPal
  https://issues.civicrm.org/jira/browse/CRM-17550

CRM/Core/Payment/PayPalImpl.php

index ef1e96319996655dc1473957cd255e03557a7688..24f572ac7c0116f55e94df08a3a4dee3963235c6 100644 (file)
@@ -837,7 +837,7 @@ class CRM_Core_Payment_PayPalImpl extends CRM_Core_Payment {
     $paypalParams = array(
       'business' => $this->_paymentProcessor['user_name'],
       'notify_url' => $notifyURL,
-      'item_name' => $this->getPaymentDescription(),
+      'item_name' => $this->getPaymentDescription($params),
       'quantity' => 1,
       'undefined_quantity' => 0,
       'cancel_return' => $cancelURL,