Skip to content

Commit

Permalink
Merge pull request #9858 from ajdavis/paypal-ipn-business-name
Browse files Browse the repository at this point in the history
CRM-20048 Parse "business" not "receiver_email" from IPN
  • Loading branch information
eileenmcnaughton authored Feb 19, 2017
2 parents 93f1eff + 69bae64 commit 476b9d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CRM/Core/Payment/PayPalIPN.php
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ public function main() {
$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,
);
Expand Down

0 comments on commit 476b9d4

Please sign in to comment.