[ic] Vend/Payment sometimes fails to get response from Authorize.Net

Chris Wenham interchange-users@icdevgroup.org
Wed Jun 25 14:00:01 2003


 I'm having a problem with false negatives on credit card transactions.
 I have a site (http://www.thelpa.com) that uses Authorize.Net to process 
credit cards, but some transactions fail because Vend/Payment.pm doesn't get 
the response from Authorize.Net indicating success. Interchange reports a 
failure to the user, who tries again.
 Meanwhile, Authorize.Net believes it completed the transaction successfully 
on the fist try, and when it sees the customer's second try it fails with a 
"duplicate transaction" error. 

 The success of the transaction from Authorize.Net's point of view indicates 
there are no problems with the customer's data entry, so I looked at 
debugging traces from Payment.pm and Authorizenet.pm. Here's what comes back 
on the false negatives.

Vend::Payment:debug: received Net::SSLeay header:
Vend::Payment:debug: returning thing: {'result_page' => "",'header_string' => 
"",'status_line' => "",}
Vend::Payment:debug:
authorizenet page:  response:

Vend::Payment:debug: authorizenet response_reason_text= response_code:

 A normal response--even for a denied transaction--should be chock full of 
header and document data, but all the variables are blank

 I don't know how to tell if the problem is mine or Authorize.Net. Can someone 
help me figure out what's going on, or how to fix it?

Regards,

Chris Wenham
http://www.synesmedia.com/