enotice fix on paypal express
authoreileenmcnaugton <eileen@fuzion.co.nz>
Tue, 13 Oct 2015 09:38:25 +0000 (22:38 +1300)
committereileenmcnaugton <eileen@fuzion.co.nz>
Tue, 13 Oct 2015 09:38:25 +0000 (22:38 +1300)
CRM/Core/Payment/PayPalImpl.php

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