Commit d5215eda authored by mattwire's avatar mattwire
Browse files

Log error if webhook is not valid

parent cc0a7b88
......@@ -56,6 +56,9 @@ class CRM_Core_Payment_AuthNetIPN extends CRM_Core_Payment_BaseIPN {
$this->eventType = $webhook->eventType;
$this->trxnId = $webhook->payload->id;
}
else {
$this->exception('Webhook not valid');
}
parent::__construct();
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment