3 +--------------------------------------------------------------------+
4 | Copyright CiviCRM LLC. All rights reserved. |
6 | This work is published under the GNU AGPLv3 license with some |
7 | permitted exceptions and without any warranty. For full license |
8 | and copyright information, see https://civicrm.org/licensing |
9 +--------------------------------------------------------------------+
14 * @copyright CiviCRM LLC https://civicrm.org/licensing
17 if (defined('PANTHEON_ENVIRONMENT')) {
18 ini_set('session.save_handler', 'files');
22 require_once '../civicrm.config.php';
23 CRM_Core_Config
::singleton();
24 $log = new CRM_Utils_SystemLogger();
25 $log->alert('payment_notification processor_name=AuthNet', $_REQUEST);
27 $authorizeNetIPN = new CRM_Core_Payment_AuthorizeNetIPN($_REQUEST);
29 $authorizeNetIPN->main();
31 catch (CRM_Core_Exception
$e) {
32 CRM_Core_Error
::debug_log_message($e->getMessage());
33 CRM_Core_Error
::debug_var('error data', $e->getErrorData(), TRUE, TRUE);
34 CRM_Core_Error
::debug_var('REQUEST', $_REQUEST, TRUE, TRUE);
35 echo "The transaction has failed. Please review the log for more detail";