From de753541f2cb1ee110c70f77ffcd5ddb5041e058 Mon Sep 17 00:00:00 2001 From: kurund Date: Wed, 25 Feb 2015 00:06:36 +0530 Subject: [PATCH] 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 --- CRM/Core/Payment/PayPalImpl.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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 -- 2.25.1