Class Mage_Authorizenet_Model_Directpost_Request

Description

Authorize.net request model for DirectPost model.

Located in /Authorizenet/Model/Directpost/Request.php (line 34)

Varien_Object
   |
   --Mage_Authorizenet_Model_Directpost_Request
Variable Summary
mixed $_transKey
Method Summary
string generateRequestSign (string $merchantApiLoginId, string $merchantTransactionKey, string $amount,  $currencyCode, string $fpSequence, string $fpTimestamp)
string _getTransactionKey ()
Variables
mixed $_transKey = null (line 36)
  • access: protected
Methods
generateRequestSign (line 72)

Generates the fingerprint for request.

  • return: The fingerprint.
  • access: public
string generateRequestSign (string $merchantApiLoginId, string $merchantTransactionKey, string $amount,  $currencyCode, string $fpSequence, string $fpTimestamp)
  • string $merchantApiLoginId
  • string $merchantTransactionKey
  • string $amount
  • string $fpSequence: An invoice number or random number.
  • string $fpTimestamp
  • $currencyCode
setConstantData (line 99)

Set paygate data to request.

  • access: public
setDataFromOrder (line 123)

Set entity data to request

  • access: public
signRequestData (line 178)

Set sign hash into the request object.

All needed fields should be placed in the object fist.

  • access: public
_getTransactionKey (line 44)

Return merchant transaction key.

Needed to generate sign.

  • access: protected
string _getTransactionKey ()
_setTransactionKey (line 56)

Set merchant transaction key.

Needed to generate sign.

  • access: protected
Mage_Authorizenet_Model_Directpost_Request _setTransactionKey (string $transKey)
  • string $transKey

Documentation generated on Fri, 11 Feb 2011 17:11:14 +0200 by phpDocumentor 1.4.3