From: kurund Date: Tue, 24 Feb 2015 18:36:36 +0000 (+0530) Subject: CRM-15993, added CiviCRM BN code support for PayPal Standard X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=de753541f2cb1ee110c70f77ffcd5ddb5041e058;p=civicrm-core.git CRM-15993, added CiviCRM BN code support for PayPal Standard ---------------------------------------- * CRM-15993: Add CiviCRM BN code to all PayPal methods for partner program tracking https://issues.civicrm.org/jira/browse/CRM-15993 --- diff --git a/CRM/Core/Payment/PayPalImpl.php b/CRM/Core/Payment/PayPalImpl.php index 3ad4b4ecd5..4cb21f78cb 100644 --- a/CRM/Core/Payment/PayPalImpl.php +++ b/CRM/Core/Payment/PayPalImpl.php @@ -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