dino705 Posted August 31, 2005 Share Posted August 31, 2005 Hi- My store has been working great until today but suddenly today, when customers try to confirm and submit their order, they get this error: "The server cannot connect to Authorize.net. Please check your cURL and server settings." We have made no code or any other changes to the store or server settings. Any ideas as to what may have happened? I called Authorize.net and they asked me for an error code. How do I get the error code? Thanks. Link to comment Share on other sites More sharing options...
Daemonj Posted August 31, 2005 Share Posted August 31, 2005 Assuming that you are using the Authorize.net AIM payment method (if not, you should be), then around line 258 change: tep_redirect(tep_href_link(FILENAME_CHECKOUT_PAYMENT, 'error_message=' . urlencode(implode(': ', $this->error) . ' ' . MODULE_PAYMENT_AUTHORIZENETAIM_TEXT_ERROR_MESSAGE), 'SSL', true, false)); to be: tep_redirect(tep_href_link(FILENAME_CHECKOUT_PAYMENT, 'error_message=' . urlencode(implode(': ', $this->error) . ' ' . MODULE_PAYMENT_AUTHORIZENETAIM_TEXT_ERROR_MESSAGE), 'SSL', true, false)); and the error code and description will be displayed on the checkout_payment page. One thing to check is your server's time for accuracy. "Great spirits have always found violent opposition from mediocre minds. The latter cannot understand it when a man does not thoughtlessly submit to hereditary prejudices but honestly and courageously uses his intelligence." - A. Einstein Link to comment Share on other sites More sharing options...
dino705 Posted August 31, 2005 Author Share Posted August 31, 2005 Thanks for your answer. What page is this code on? I can't seem to find it. Also, the two snippets you sent look the same to me. Am I missing something? thanks. Link to comment Share on other sites More sharing options...
Daemonj Posted August 31, 2005 Share Posted August 31, 2005 The file is includes/modules/payment/authorizenet_aim.php assuming that you are using the AIM payment method. Well, I don't have the original code so compare what I gave you to what you have. There shouldn't be too many tep_redirect lines in that file. Sorry about that. :) "Great spirits have always found violent opposition from mediocre minds. The latter cannot understand it when a man does not thoughtlessly submit to hereditary prejudices but honestly and courageously uses his intelligence." - A. Einstein Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.