AuthorizeNetCP_Response

Extends \AuthorizeNetResponse

Parses an AuthorizeNet Card Present Response.

package

AuthorizeNet

subpackage

AuthorizeNetCP

Methods

Constructor. Parses the AuthorizeNet response string.

__construct(string $response, string $delimiter, string $encap_char, array $custom_fields) 

Arguments

$response

string

The response from the AuthNet server.

$delimiter

string

The delimiter used (default is ",")

$encap_char

string

The encap_char used (default is "|")

$custom_fields

array

Any custom fields set in the request.

Is the MD5 provided correct?

isAuthorizeNet(string $api_login_id = false, string $md5_setting = false) : bool

Arguments

$api_login_id

string

$md5_setting

string

Response

bool

Constants

APPROVED

APPROVED
inherited

DECLINED

DECLINED
inherited

ERROR

ERROR
inherited

HELD

HELD
inherited

Properties

_response_array

_response_array

approved

approved
inherited

declined

declined
inherited

error

error
inherited

held

held
inherited

response_code

response_code
inherited

response_subcode

response_subcode
inherited

response_reason_code

response_reason_code
inherited

response_reason_text

response_reason_text
inherited

authorization_code

authorization_code
inherited

avs_response

avs_response
inherited

transaction_id

transaction_id
inherited

invoice_number

invoice_number
inherited

description

description
inherited

amount

amount
inherited

method

method
inherited

transaction_type

transaction_type
inherited

customer_id

customer_id
inherited

first_name

first_name
inherited

last_name

last_name
inherited

company

company
inherited

address

address
inherited

city

city
inherited

state

state
inherited

zip_code

zip_code
inherited

country

country
inherited

phone

phone
inherited

fax

fax
inherited

email_address

email_address
inherited

ship_to_first_name

ship_to_first_name
inherited

ship_to_last_name

ship_to_last_name
inherited

ship_to_company

ship_to_company
inherited

ship_to_address

ship_to_address
inherited

ship_to_city

ship_to_city
inherited

ship_to_state

ship_to_state
inherited

ship_to_zip_code

ship_to_zip_code
inherited

ship_to_country

ship_to_country
inherited

tax

tax
inherited

duty

duty
inherited

freight

freight
inherited

tax_exempt

tax_exempt
inherited

purchase_order_number

purchase_order_number
inherited

md5_hash

md5_hash
inherited

card_code_response

card_code_response
inherited

cavv_response

cavv_response
inherited

card_type

card_type
inherited

split_tender_id

split_tender_id
inherited

requested_amount

requested_amount
inherited

balance_on_card

balance_on_card
inherited

response

response
inherited


                                
inherited


                                
inherited