I have a shopping cart that sends all the required x fields to authorize.net, which works fine. Credit cards are validated correctly but the relay response won't work. The error I get from Authorize.net is "script timed out". This script collects the x values and updates a MySQL database to capture the invoice. When the script started timing out, I removed everything except to echo the x_cust_id, and nothing else.
I can run the relay script from the browser and it runs just fine.
Anyone have any suggestions why this timeout is happening on such a simple script? I've worked online with the Authorize.Net people and they don't have any suggestions.
Solved! Go to Solution.
06-05-2014 05:46 AM
Just try it with the http://68.169.37.66/authorize_postback.html
it work with the relay response.
Something is not updating.
Just try the name iectraining.org again, it failed
and look at my ipconfig /displaydns
it show the ip as 69.64.147.234
06-05-2014 02:07 PM - edited 06-05-2014 02:09 PM
Relay Response Basics and Troubleshooting
Have you try just a static screen first.
06-05-2014 07:07 AM
I have simple perl script that just reads all input paramenters, prints a header and prints one of the x variables. Here is the script:
http://iectraining.org/cgi-bin/CMS6.0/authorize_postback.cgi?x_cust_id=31
As you can see, there is no delay orr timeout involved.
06-05-2014 11:55 AM
Is that what you meant by a "static screen"?
06-05-2014 11:59 AM
static html page. no logic, no anything.
06-05-2014 12:38 PM
I create a page that is just a basic html page here:
http://iectraining.org/authorize_postback.html
I changed the x_relay_url to point to that page, and I changed the Relay Response in the authorize.net backend to point to that page.
I submitted a new transaction.
Same time error.
06-05-2014 01:13 PM
Hello @phils
I tried accessing your URL from my browser and it times out as well. The Relay Response URL must be available publicly, it won't work if it's behind a firewall or uses a port other than 80 or 443.
Richard
06-05-2014 01:41 PM - edited 06-05-2014 01:41 PM
Are you saying that you can't access http://iectraining.org/authorize_postback.html? That is a plain html page in the root folder of the webserver, the same location where the default index.html file is.
06-05-2014 01:45 PM
That is correct. I cannot access either the specific URL you provided, nor the root.
After a bit, it returns: Network Error (tcp_error) A communication error occurred: "Operation timed out"
Richard
06-05-2014 01:49 PM
Richard, I was able to get to the page without issue.
phils, did the DNS(ip address)got update recently?
The only time I got a time out is if I add www in front of iectraining.org
06-05-2014 01:50 PM - edited 06-05-2014 01:53 PM