[ class tree: Payment_Process ] [ index: Payment_Process ] [ all elements ]

Class: Payment_Process_Result_AuthorizeNet

Source Location: /Payment_Process-0.6.8/Process/AuthorizeNet.php

Class Overview





  • Release: @package_version@


Inherited Variables

Inherited Methods

Class Details

[line 399]

The core result class that should be returned from each driver's process() function. This should be exte33nded as Payment_Process_Result_DriverName and then have the appropriate fields mapped out accordingly.

Take special care to appropriately create a parse() function in your result class. You can then call _mapFields() with a resultArray (ie. exploded result) to map your results from parse() into the member variables.

Please note that this class keeps your original codes intact so they can be accessed directly and then uses the function wrappers to return uniform Payment_Process codes.

[ Top ]

Method Detail

isLegitimate   [line 757]

mixed isLegitimate( )

Validates the legitimacy of the response

To be able to validate the response, the md5Value option must have been set in the processor. If the md5Value is not set this function will fail gracefully, but this MAY CHANGE IN THE FUTURE!

Check if the response is legitimate by matching MD5 hashes. To avoid MD5 mismatch while the key is being renewed the md5Value can be an array with 2 indexes: "new" and "old" respectively holding the new and old MD5 values.

Note: If you're having problem passing this check: be aware that the login name is CASE-SENSITIVE!!! (even though you can log in using it all lowered case...)

Overrides Payment_Process_Result::isLegitimate() (isLegitimate)
[ Top ]

parse   [line 668]

void parse( )

Parses the data received from the payment gateway
  • Access: public

Overrides Payment_Process_Result::parse() (parse)
[ Top ]

parseCallback   [line 719]

void parseCallback( )

Parses the data received from the payment gateway callback

Overrides Payment_Process_Result::parseCallback() (parseCallback)
[ Top ]

Payment_Process_Response_AuthorizeNet   [line 658]

void Payment_Process_Response_AuthorizeNet( $rawResponse)


   $rawResponse   — 

[ Top ]

Documentation generated on Mon, 11 Mar 2019 15:41:22 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.