Quote Originally Posted by swortis View Post
Wondering if anyone can suggest a way of troubleshoot an authorize.net AIM setup. I'm getting a 500 (internal error) on the final step of checkout (Testing Mode). Server logs don't shed any light at all on the problem.

How can I troubleshoot this issue?

Thanks!
I am having the exact same issue... Similarly, the server logs tell me nothing. Very frustrating. This site is hosted on goDaddy and the error occurs when trying to load the last step of the checkout process...

/store/index.php?main_page=checkout_process

The order goes through on the zen backend but it does not reach Authorize.net for payment. I tried running the script that the good doctor uploaded. Without SSL it works. With SSL I either get a timeout or a cURL error code 7 (Failed to connect() to host or proxy.) Here's what it outputs:

Code:
28 connect() timed out!
Array
(
    [url] => "https://www.zen-cart.com/testcurl.php"
    [http_code] => 0
    [header_size] => 0
    [request_size] => 0
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 0
    [namelookup_time] => 0.016
    [connect_time] => 0
    [pretransfer_time] => 0
    [size_upload] => 0
    [size_download] => 0
    [speed_download] => 0
    [speed_upload] => 0
    [download_content_length] => 0
    [upload_content_length] => 0
    [starttransfer_time] => 0
    [redirect_time] => 0
)
Here's the funny thing... I have another site with goDaddy that runs authorize.net AIM with the same version of zen (slightly different modules, but nothing dealing with payment), same phpinfo() settings too, but on a different server. There I get the same error code from cURL when I run DrByte's script... Here's the odd thing: authorize.net AIM works there just fine with no 500 error...



The configure.php files are identical for both sites; ENABLE_SSL is set to false on each. openssl is enabled on both servers. Yet it works on one and not the other! Argh! What's going on?


Thanks in advance for your assistance; you guys are awesome to help support the zen community like you have.