Good Afternoon All!
I have been trying to install this contribution for the better part of 8 hours now and I finally got the checkout_shipping page to quit hanging. I have now encountered a new problem.
I am using a Go Daddy hosting account, but I have followed all of the steps outlined in the forums for the cURL problem.
I have pasted the lines (GODADDY STUFF) in the catalog/includes/modules/shipping/upsxml.php file so now the code looks like this;
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $xmlRequest);
curl_setopt($ch, CURLOPT_TIMEOUT, (int)$timeout);
curl_setopt ($ch, CURLOPT_HTTPPROXYTUNNEL, TRUE);
//GODADDY STUFF
curl_setopt ($ch, CURLOPT_PROXYTYPE, CURLPROXY_HTTP);
curl_setopt ($ch, CURLOPT_PROXY, "http://64.202.165.130:3128");
curl_setopt ($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
curl_setopt ($ch, CURLOPT_PORT, 80);
//END GODADDY STUFF
I also have enabled the error log and I have pasted it below;
DATE AND TIME: 2007-06-12 13:54:37
UPS URL: https://www.ups.com:443/ups.app/xml/Rate
UPS REQUEST: <?xml version="1.0"?>
<AccessRequest xml:lang="en-US">
<AccessLicenseNumber>AC026F8CDA*****</AccessLicenseNumber>
<UserId>***********</UserId>
<Password>*******</Password>
</AccessRequest>
<?xml version="1.0"?>
<RatingServiceSelectionRequest xml:lang="en-US">
<Request>
<TransactionReference>
<CustomerContext>Rating and Service</CustomerContext>
<XpciVersion>1.0001</XpciVersion>
</TransactionReference>
<RequestAction>Rate</RequestAction>
<RequestOption>shop</RequestOption>
</Request>
<PickupType>
<Code>01</Code>
</PickupType>
<Shipment>
<Shipper>
<Address>
<City>Waterford</City>
<StateProvinceCode>MI</StateProvinceCode>
<CountryCode>US</CountryCode>
<PostalCode>48328</PostalCode>
</Address>
</Shipper>
<ShipTo>
<Address>
<City>Commerce</City>
<StateProvinceCode>MI</StateProvinceCode>
<CountryCode>US</CountryCode>
<PostalCode>48382</PostalCode>
<ResidentialAddressIndicator/>
</Address>
</ShipTo>
<Package>
<PackagingType>
<Code>02</Code>
</PackagingType>
<Dimensions>
<UnitOfMeasurement>
<Code>IN</Code>
</UnitOfMeasurement>
<Length>24.00</Length>
<Width>24.00</Width>
<Height>24.00</Height>
</Dimensions>
<PackageWeight>
<UnitOfMeasurement>
<Code>LBS</Code>
</UnitOfMeasurement>
<Weight>25.5</Weight>
</PackageWeight>
<PackageServiceOptions>
<InsuredValue>
<CurrencyCode></CurrencyCode>
<MonetaryValue>210</MonetaryValue>
</InsuredValue>
</PackageServiceOptions>
</Package>
</Shipment>
<CustomerClassification>
<Code>01</Code>
</CustomerClassification>
</RatingServiceSelectionRequest>
[b]Error from cURL: Error [3]:
UPS RESPONSE: [/b]
The error email I received states this;
Error from cURL: Error [7]: experienced by customer with id 21 on 2007-06-12 14:19:12
and the user sees the following message:
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
If you prefer to use ups as your shipping method, please contact us via Email.
I have not been able to get this thing working. It states cURL is enabled, I am losing faith. :'(
Here is some server info;
PHP Version: 4.3.11 (Zend: 1.3.0)
Server OS: Linux 2.4.21-47.0.1.ELsmp
CURL support enabled
CURL Information libcurl/7.10.6 OpenSSL/0.9.7a ipv6 zlib/1.2.3
--with-curl=/usr/bin/curl
I have also made sure the product has a weight and dimensions.
Please help!!
Matt