CRM-16566 upgrade authorize.net to support new style IPNS
[civicrm-core.git] / CRM / Core / Payment / AuthorizeNet.php
index cc9cf7cd5c87984abc9d620f182ba5bf8e22e0b3..c0ad5f2049a8c210a0904ac73c9c8afa3fc33555 100644 (file)
@@ -742,6 +742,14 @@ class CRM_Core_Payment_AuthorizeNet extends CRM_Core_Payment {
     return TRUE;
   }
 
+  /**
+   * Process incoming notification.
+   */
+  static public function handlePaymentNotification() {
+    $ipnClass = new CRM_Core_Payment_AuthorizeNetIPN(array_merge($_GET, $_REQUEST));
+    $ipnClass->main();
+  }
+
   /**
    * @param string $message
    * @param array $params