cancel
Showing results for 
Search instead for 
Did you mean: 

Magento 1.9 returning response code 0 for authorize.net

Magento 1.9 returning response code 0 for authorize.net

When submitting a transaction to authorize.net, I am getting a response code of 0 even though the transaction was successful. This is part of the debug from the log:

 

[response_code] => 0
[response_subcode] => 0
[response_reason_code] => 0
[response_reason_text] => 'This transaction has been approved.'
[approval_code] => '070302'
[avs_result_code] => 'Y'
[transaction_id] => '****************'

 

I contacted authorize.net and they said that it might be an issue on how Magento is parsing the response. I'm not sure if that is true, but I thought that I would check to see if anyone knows how to solve this issue.

 

Thanks!