\AuthorizeNetRequest
Sends requests to the Authorize.Net gateways.
Synopsis
class AuthorizeNetRequest
{
- // members
- protected $_api_login;
- protected $_transaction_key;
- protected $_post_string;
- public boolean $VERIFY_PEER = true;
- protected boolean $_sandbox = true;
- protected boolean $_log_file = false;
- // methods
- protected abstract void _setPostString()
- protected abstract void _handleResponse()
- protected abstract void _getPostUrl()
- public void __construct()
- public void setSandbox()
- public void setLogFile()
- public string getPostString()
- protected AuthorizeNetARB_Response _sendRequest()
Members
protected
- $_api_login
- $_log_file
- $_post_string
- $_sandbox
- $_transaction_key
public
- $VERIFY_PEER
Methods
protected
- _getPostUrl() — Get the post url. We need this because until 5.3 you you could not access child constants in a parent class.
- _handleResponse() — Handle the response string
- _sendRequest() — Posts the request to AuthorizeNet & returns response.
- _setPostString() — Set the _post_string
public
- __construct() — Constructor.
- getPostString() — Return the post string.
- setLogFile() — Set a log file.
- setSandbox() — Alter the gateway url.