[Ref] Throw exceptions from Authorize.net rather than return errors
authoreileen <emcnaughton@wikimedia.org>
Fri, 5 Jun 2020 01:02:48 +0000 (13:02 +1200)
committereileen <emcnaughton@wikimedia.org>
Fri, 5 Jun 2020 01:12:34 +0000 (13:12 +1200)
commit2edc95e66cbd4f8e268d1dbf7770e57f53acc702
treedf8f2c5678397d66e93627411b40556a487ab53c
parent98215beae04641dad4003d8499f75cd784013760
[Ref] Throw exceptions from Authorize.net rather than return errors

This is part of 'modelling good behaviour' - curently doPayment converts the errors to thrown exceptions,
but the recommendation is that the payment processor functions should throw exceptions themselves.
If they do they willl bypass the doPayment handling, but acheive the same thing
CRM/Core/Payment/AuthorizeNet.php