The Authorize.Net response put the overall result, resultCode, into the messages entity. I've simply followed that same structure in Academe\AuthorizeNet\Response\Collections\Messages.
Instead, the list of top level messages should be unbound from the resultCode so the user does not have to handle the messages at all in order to look at the result.
The Authorize.Net response put the overall result,
resultCode
, into themessages
entity. I've simply followed that same structure inAcademe\AuthorizeNet\Response\Collections\Messages
.Instead, the list of top level
messages
should be unbound from theresultCode
so the user does not have to handle the messages at all in order to look at the result.