Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

authorize.net in test mode doesn't work


gopher

Recommended Posts

Posted

When I checkout I get this error using the Authorize.net module in testing mode.

 

An error occurred while trying to report this transaction to the Merchant. An e-mail has been sent to the merchant informing them of the error. The following is the result of the attempt to charge your credit card.

 

This transaction cannot be accepted.

 

I enter the credit card number listed in the Authorize. net (4111111111111111) module and enter in a random expiration date... when I checkout I get the error above.. please help! My version of php does not support CURL... Is that the problem?

Posted

Is it possible that you did not enter a transaction key in the admin under authorize.net? You mentioned you were working in test mode, will it work in production mode? Curl is only an issue of you are using Boa Nguyen's ADC contribution. You do not need curl for the SIM method.

 

Mark

  • 3 weeks later...
Posted

I am running the SIM method and have been for several months. I was doing fine. Just this last week my site began failing on the CC authorization. I switched to test mode to verify it wasn't a card issue and I still get the same error. I spoke with authorize.net and they say that it does not appear to be an issue on their end. Still researching.

Posted

Here is what I found out. You need to get the error response code for Authorize.net to help you. In my case it was an issue with timestamp on my server. to get the response code, in your modules/payment/authorizenet.php file, around line 269 in the before_process() function, modify this line:

tep_redirect(tep_href_link(FILENAME_CHECKOUT_PAYMENT, 'error_message=' . urlencode(MODULE_PAYMENT_AUTHORIZENET_TEXT_ERROR_MESSAGE), 'SSL', true, false));

to this

tep_redirect(tep_href_link(FILENAME_CHECKOUT_PAYMENT, 'error_message=' . urlencode(MODULE_PAYMENT_AUTHORIZENET_TEXT_ERROR_MESSAGE . ' &RC=' . $HTTP_POST_VARS['x_response_code'] . '&RSC=' . $HTTP_POST_VARS['x_response_subcode'] . '&RRC=' . $HTTP_POST_VARS['x_response_reason_code']), 'SSL', true, false));

This will change the red error code bar to have 3 fields. RC = Response Code, RSC = Response SubCode, RRC = Response Reason Code. By giving this info to authorize.net techs, they can help you zero in on your problem.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...