CRM-15993, added CiviCRM BN code support for PayPal Standard
authorkurund <kurund@civicrm.org>
Tue, 24 Feb 2015 18:36:36 +0000 (00:06 +0530)
committerkurund <kurund@civicrm.org>
Tue, 24 Feb 2015 18:36:36 +0000 (00:06 +0530)
----------------------------------------
* CRM-15993: Add CiviCRM BN code to all PayPal methods for partner program tracking
  https://issues.civicrm.org/jira/browse/CRM-15993

CRM/Core/Payment/PayPalImpl.php

index 3ad4b4ecd596e20523ec29942700c0be13471640..4cb21f78cb728c4e922e952a10a38ab6bc63d29a 100644 (file)
@@ -615,9 +615,8 @@ class CRM_Core_Payment_PayPalImpl extends CRM_Core_Payment {
       'invoice' => $params['invoiceID'],
       'lc' => substr($config->lcMessages, -2),
       'charset' => function_exists('mb_internal_encoding') ? mb_internal_encoding() : 'UTF-8',
-      'custom' => CRM_Utils_Array::value('accountingCode',
-        $params
-      ),
+      'custom' => CRM_Utils_Array::value('accountingCode', $params),
+      'bn' => 'CiviCRM_SP',
     );
 
     // add name and address if available, CRM-3130