From: A. Jesse Jiryu Davis Date: Sat, 18 Feb 2017 03:20:48 +0000 (-0500) Subject: CRM-20048 Parse "business" not "receiver_email" from IPN X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=69bae647869b4b23f819bb99ff7d729bca403117;p=civicrm-core.git CRM-20048 Parse "business" not "receiver_email" from IPN --- diff --git a/CRM/Core/Payment/PayPalIPN.php b/CRM/Core/Payment/PayPalIPN.php index f4d116ae39..9aa5874869 100644 --- a/CRM/Core/Payment/PayPalIPN.php +++ b/CRM/Core/Payment/PayPalIPN.php @@ -340,7 +340,7 @@ class CRM_Core_Payment_PayPalIPN extends CRM_Core_Payment_BaseIPN { $paymentProcessorID = $this->retrieve('processor_id', 'Integer', FALSE); if (empty($paymentProcessorID)) { $processorParams = array( - 'user_name' => $this->retrieve('receiver_email', 'String', FALSE), + 'user_name' => $this->retrieve('business', 'String', FALSE), 'payment_processor_type_id' => CRM_Core_DAO::getFieldValue('CRM_Financial_DAO_PaymentProcessorType', 'PayPal_Standard', 'id', 'name'), 'is_test' => empty($input['is_test']) ? 0 : 1, );