X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=extern%2Fipn.php;h=6a633307f2e638a2e98c7c8c034f97eace239574;hb=5f44574930fe4863878a05e99a6d2de4fa60daf6;hp=4ec25af6e68f957015bf6e937f2b142dbcdab9d6;hpb=6643a63b47c9607cdc5f14a739cf7c7cfe55d726;p=civicrm-core.git diff --git a/extern/ipn.php b/extern/ipn.php index 4ec25af6e6..6a633307f2 100644 --- a/extern/ipn.php +++ b/extern/ipn.php @@ -1,7 +1,7 @@ alert('payment_notification processor_name=PayPal', $_REQUEST); $paypalIPN = new CRM_Core_Payment_PayPalProIPN($_REQUEST); } else { + $log->alert('payment_notification PayPal_Standard', $_REQUEST); $paypalIPN = new CRM_Core_Payment_PayPalIPN(); // @todo upgrade standard per Pro } -try{ +try { $paypalIPN->main(); } -catch(CRM_Core_Exception $e) { +catch (CRM_Core_Exception $e) { CRM_Core_Error::debug_log_message($e->getMessage()); CRM_Core_Error::debug_var('error data', $e->getErrorData(), TRUE, TRUE); CRM_Core_Error::debug_var('REQUEST', $_REQUEST, TRUE, TRUE); //@todo give better info to logged in user - ie dev echo "The transaction has failed. Please review the log for more detail"; } -