From 242a29358c054becf92368c04232f61d4a58c1fc Mon Sep 17 00:00:00 2001 From: eileen Date: Sun, 9 Oct 2016 12:50:12 +0100 Subject: [PATCH] CRM-18483 remove custom field checking from BaseIPN, moved to paypal std --- CRM/Core/Payment/BaseIPN.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/CRM/Core/Payment/BaseIPN.php b/CRM/Core/Payment/BaseIPN.php index 0b298b94d4..49e3c70480 100644 --- a/CRM/Core/Payment/BaseIPN.php +++ b/CRM/Core/Payment/BaseIPN.php @@ -75,12 +75,6 @@ class CRM_Core_Payment_BaseIPN { if (!is_array($parameters)) { throw new CRM_Core_Exception('Invalid input parameters'); } - // some times the essential GET parameters got lost in IPN response, - // so fetch those variable from json encoded 'custom' parameter to provide data integritiy - elseif (CRM_Utils_Array::value('custom', $parameters)) { - $customParams = (array) json_decode($parameters['custom']); - $params = array_merge($customParams, $params); - } $this->_inputParameters = $parameters; } -- 2.25.1