Open saliozzia opened 9 years ago
USPS does not work When store is in SSL. USPS does not supply SSL url for rate calls. I found it is issue with curl class. includes/classes/transport/curl.php
$curl = curl_init($request_type . '://' . $parameters['server']['host'] . $parameters['server']['path'] . (isset($parameters['server']['query']) ? '?' . $parameters['server']['query'] : ''));
Here $request_type is for store url $request_type = $isSecure ? 'https' : 'http'; which checks whether store is http or https.
Changed curl execute() to
$curl = curl_init($parameters['server']['scheme'] . '://' . $parameters['server']['host'] . $parameters['server']['path'] . (isset($parameters['server']['query']) ? '?' . $parameters['server']['query'] : ''));
USPS returning rates.
USPS no longerworks
on checkout we see error message
U.S. Postal Service
An error occured with the USPS shipping calculations. If you prefer to use USPS as your shipping method, please contact the store owner.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.