projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
11a4431
)
CRM-18483 remove custom field checking from BaseIPN, moved to paypal std
author
eileen
<emcnaughton@wikimedia.org>
Sun, 9 Oct 2016 11:50:12 +0000
(12:50 +0100)
committer
eileen
<emcnaughton@wikimedia.org>
Mon, 10 Oct 2016 09:48:29 +0000
(10:48 +0100)
CRM/Core/Payment/BaseIPN.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Core/Payment/BaseIPN.php
b/CRM/Core/Payment/BaseIPN.php
index 0b298b94d4ac6cc689696d276123027c40aa4618..49e3c704809383e3787210e90a22975bf6a87ad9 100644
(file)
--- 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;
}