\AuthorizeNetXMLResponse
Base class for the AuthorizeNet ARB & CIM Responses.
Synopsis
class AuthorizeNetXMLResponse
{
- // members
- public $xml;
- // methods
- public void __construct()
- public bool isOk()
- public array xpath()
- public bool isError()
- public string getErrorMessage()
- public string getRefID()
- public string getResultCode()
- public string getMessageCode()
- public string getMessageText()
- protected string _getElementContents()
Members
public
- $xml
Methods
protected
- _getElementContents() — Grabs the contents of a unique element.
public
- __construct() — Constructor. Parses the AuthorizeNet response string.
- getErrorMessage()
- getMessageCode()
- getMessageText()
- getRefID()
- getResultCode()
- isError() — Was there an error?
- isOk() — Was the transaction successful?
- xpath() — Run an xpath query on the cleaned XML response