Merge pull request #12979 from mattwire/datepicker_eventparticipant_register
[civicrm-core.git] / CRM / Core / Payment.php
index 63ce4d9b5a3149d9ffc0e45c2b9fdc5399ac6be2..f54e61d254205c268c288a24c48445af0cdb475d 100644 (file)
@@ -1393,6 +1393,9 @@ abstract class CRM_Core_Payment {
       $extension_instance_found = TRUE;
     }
 
+    // Call IPN postIPNProcess hook to allow for custom processing of IPN data.
+    $IPNParams = array_merge($_GET, $_REQUEST);
+    CRM_Utils_Hook::postIPNProcess($IPNParams);
     if (!$extension_instance_found) {
       $message = "No extension instances of the '%1' payment processor were found.<br />" .
         "%2 method is unsupported in legacy payment processors.";