Guest Posted January 12, 2005 Posted January 12, 2005 I installed the UPS XML module correctly to the best of my knowledge and have the XML access key but when you go to checkout your order I get an error saying: Rating and Service 1.0001 0 An unknown error occured while attempting to contact the UPS gateway : Rating and Service 1.0001 0 An unknown error occured while attempting to contact the UPS gateway does that look familiar to anyone?
Jan Zonjee Posted January 12, 2005 Posted January 12, 2005 does that look familiar to anyone?Yep, and there are plenty of reasons why this is happening (probably something with cURL and/or other server related things).Start logging errors (see the code in includes/modules/shipping/upsxml.php) and look for what shows up.
genius8237 Posted January 18, 2005 Posted January 18, 2005 I am having the same problem. and i enabled error logging and received this error... Error from cURL: Error [60]: error setting certificate verify locations: CAfile: /hsphere/shared/share/curl/curl-ca-bundle.crt CApath: none does anyone know what the problem could be? I have also just installed a SSL from thwate and no longer using the shared SSL from the host. Thanks.
Jan Zonjee Posted January 18, 2005 Posted January 18, 2005 does anyone know what the problem could be?The underlying problem has something to do with PHP not being able to find a file with valid certificates, but in the source code of UPS XML (around line 657) you will find what to do: $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); // uncomment the next line if you get curl error 60: error setting certificate verify locations // curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0); // uncommenting the next line is most likely not necessary in case of error 60 // curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
Recommended Posts
Archived
This topic is now archived and is closed to further replies.