Class AuthorizeNetRequest

Description

Sends requests to the Authorize.Net gateways.

  • abstract:

Located in /lib/shared/AuthorizeNetRequest.php (line 8)


	
			
Direct descendents
Class Description
AuthorizeNetAIM Builds and sends an AuthorizeNet AIM Request.
AuthorizeNetARB A class to send a request to the ARB XML API.
AuthorizeNetCIM A class to send a request to the CIM XML API.
AuthorizeNetTD A class to send a request to the Transaction Details XML API.
Variable Summary
Method Summary
AuthorizeNetRequest __construct ([string $api_login_id = false], [string $transaction_key = false])
string getPostString ()
void setLogFile (string $filepath)
void setSandbox (bool $bool)
void _getPostUrl ()
void _handleResponse ( $string)
void _setPostString ()
Variables
mixed $VERIFY_PEER = true (line 14)
  • access: public
mixed $_api_login (line 11)
  • access: protected
mixed $_log_file = false (line 16)
  • access: protected
mixed $_post_string (line 13)
  • access: protected
mixed $_sandbox = true (line 15)
  • access: protected
mixed $_transaction_key (line 12)
  • access: protected
Methods
Constructor __construct (line 40)

Constructor.

  • access: public
AuthorizeNetRequest __construct ([string $api_login_id = false], [string $transaction_key = false])
  • string $api_login_id: The Merchant's API Login ID.
  • string $transaction_key: The Merchant's Transaction Key.
getPostString (line 73)

Return the post string.

  • access: public
string getPostString ()
setLogFile (line 63)

Set a log file.

  • access: public
void setLogFile (string $filepath)
  • string $filepath: Path to log file.
setSandbox (line 53)

Alter the gateway url.

  • access: public
void setSandbox (bool $bool)
  • bool $bool: Use the Sandbox.
_getPostUrl (line 32)

Get the post url. We need this because until 5.3 you you could not access child constants in a parent class.

  • abstract:
  • access: protected
void _getPostUrl ()

Redefined in descendants as:
_handleResponse (line 26)

Handle the response string

  • abstract:
  • access: protected
void _handleResponse ( $string)
  • $string

Redefined in descendants as:
_sendRequest (line 83)

Posts the request to AuthorizeNet & returns response.

  • return: The response.
  • access: protected
AuthorizeNetARB_Response _sendRequest ()
_setPostString (line 21)

Set the _post_string

  • abstract:
  • access: protected
void _setPostString ()

Redefined in descendants as:

Documentation generated on Thu, 21 Oct 2010 17:30:59 +0000 by phpDocumentor 1.4.3