Commit ad0eeda4 authored by mattwire's avatar mattwire

Add debug message if we receive silentpost IPN

parent ee98096d
......@@ -774,6 +774,7 @@ abstract class CRM_Core_Payment_AuthorizeNetCommon extends CRM_Core_Payment {
}
catch (\JohnConde\Authnet\AuthnetInvalidJsonException $e) {
// This was probably a silentpost notification which we don't handle. Ignore it.
\Civi::log()->debug(E::SHORT_NAME . ' received invalid JSON - do you still have silentpost notifications enabled?');
http_response_code(200);
return;
}
......
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