When I do a test run with the following parameters I don't get a response that can be parsed with a delimiter to get an array.
$params = array('x_login' => 'XXXXXXXXX','x_tran_key' => 'XXXXXXXXXXXX','x_version' => '3.1','x_type' => 'AUTH_CAPTURE','x_test_request' => 'TRUE', // Just a test transaction'x_relay_response' => 'FALSE','x_market_type' => 2,'x_device_type' => '8','x_delim_data' => 'TRUE','x_delim_char' => '|','x_encap_char' => '',
'x_method' => 'CC','x_card_num' => $data['credit_card_number'],'x_exp_date' => '1112', //$data['credit_card_expiration_month'] . $data['credit_card_expiration_year'],'x_card_code' => $data['credit_card_csc'],'x_first_name' => $data['billing_first_name'],'x_last_name' => $data['billing_last_name'],'x_address' => $data['billing_address1'],'x_city' => $data['billing_city'],'x_state' => $data['billing_state'],'x_zip' => $data['billing_zip_code'],//'x_country' => $data['billing_country'],'x_email' => $data['billing_email'],//'x_phone' => $data['billing_phone'],'x_cust_id' => '12','x_invoice_num' => '23',
'x_amount' => number_format(100,2));
I get this as a response: 36P00E1393E206CD3AAB85074567D8EFD4701XXXX0024
Which doesn't seem any bit correct. If I change my login ID or something else to be incorrect, I will get an array back with the error response, but when everything seems to be correct I get that above response.
Can someone please help me out! Need to get this working ASAP.
Solved! Go to Solution.
07-20-2011 06:24 AM
Assuming you are working on Card Present Integration
To get delimited response. Pass a "1" to "x_response_format"
Page 20 on
http://www.authorize.net/support/CP_guide.pdf
07-20-2011 06:50 AM
Assuming you are working on Card Present Integration
To get delimited response. Pass a "1" to "x_response_format"
Page 20 on
http://www.authorize.net/support/CP_guide.pdf
07-20-2011 06:50 AM