Parses an AuthorizeNet AIM Response.
package |
AuthorizeNet |
---|---|
subpackage |
AuthorizeNetAIM |
__construct(string $response, string $delimiter, string $encap_char, array $custom_fields)
string
The response from the AuthNet server.
string
The delimiter used (default is ",")
string
The encap_char used (default is "|")
array
Any custom fields set in the request.
APPROVED
DECLINED
ERROR
HELD
_response_array
approved
declined
error
held
response_code
response_subcode
response_reason_code
response_reason_text
avs_response
transaction_id
invoice_number
description
amount
method
transaction_type
customer_id
first_name
last_name
company
address
city
state
zip_code
country
phone
fax
email_address
ship_to_first_name
ship_to_last_name
ship_to_company
ship_to_address
ship_to_city
ship_to_state
ship_to_zip_code
ship_to_country
tax
duty
freight
tax_exempt
purchase_order_number
md5_hash
card_code_response
cavv_response
account_number
card_type
split_tender_id
requested_amount
balance_on_card
response