M2_AuthorizeNetResponse

Parses an AuthorizeNet Response.

Defined (1)

The class is defined in the following location(s).

/lib/authorize.net/lib/shared/AuthorizeNetResponse.php  
  1. class M2_AuthorizeNetResponse 
  2.  
  3. const APPROVED = 1; 
  4. const DECLINED = 2; 
  5. const ERROR = 3; 
  6. const HELD = 4; 
  7.  
  8. public $approved; 
  9. public $declined; 
  10. public $error; 
  11. public $held; 
  12. public $response_code; 
  13. public $response_subcode; 
  14. public $response_reason_code; 
  15. public $response_reason_text; 
  16. public $authorization_code; 
  17. public $avs_response; 
  18. public $transaction_id; 
  19. public $invoice_number; 
  20. public $description; 
  21. public $amount; 
  22. public $method; 
  23. public $transaction_type; 
  24. public $customer_id; 
  25. public $first_name; 
  26. public $last_name; 
  27. public $company; 
  28. public $address; 
  29. public $city; 
  30. public $state; 
  31. public $zip_code; 
  32. public $country; 
  33. public $phone; 
  34. public $fax; 
  35. public $email_address; 
  36. public $ship_to_first_name; 
  37. public $ship_to_last_name; 
  38. public $ship_to_company; 
  39. public $ship_to_address; 
  40. public $ship_to_city; 
  41. public $ship_to_state; 
  42. public $ship_to_zip_code; 
  43. public $ship_to_country; 
  44. public $tax; 
  45. public $duty; 
  46. public $freight; 
  47. public $tax_exempt; 
  48. public $purchase_order_number; 
  49. public $md5_hash; 
  50. public $card_code_response; 
  51. public $cavv_response; // cardholder_authentication_verification_response 
  52. public $account_number; 
  53. public $card_type; 
  54. public $split_tender_id; 
  55. public $requested_amount; 
  56. public $balance_on_card; 
  57. public $response; // The response string from AuthorizeNet. 
  58.