Cannot update to new USPS v4 rates
I am trying to update to the latest USPS updates for domestic/international. I cannot get any of the updates (for July) to work. The closest I got was a line item for USPS in my admin modules, but it was working strange, as the fields were half empty. Nothing worked on the site. i am using 1.3.8a. I checked my account with USPS, all is fine. They did add access for v4, supposedly I did not have it yet. This did not help.
I heard reference to CURL, not sure what this is. Never had to do anything with it. I obtained a path from my hosting company, who said I would need to place in front of the curl binary being called. Must I do this?
Please help!!
Thanks.
Re: Cannot update to new USPS v4 rates
Could you try to run from your site this file:
your_domain.com/extras/curltest.php
your_domain.com/your_catalog_directory/extras/curltest.php
NOTE: which one you run is based on if your shop in in your main directory or a subdirectory on your server ...
And see what the results are ...
Re: Cannot update to new USPS v4 rates
I get a 404 not found...assuming I have tried the correct path. has anyone successfully updated to USPS v4 with 1.3.8a?
I am having no luck. My hosting company has provided curl paths, not sure where to place this. They also asked if I am using cron?
Thanks so much for the help!!
Re: Cannot update to new USPS v4 rates
I referenced your reply to another user and discovered that I had removed the curltest.php file per the security instructions to drop the whole folder. I was able to run the file.
It returned:
You submitted the following fields and data:
Array
(
[field1] => This is a test
[statuskey] => ready
)
Data validation
Good
Array
(
[url] => "http://www.zen-cart.com/testcurl.php"
[content_type] => text/html
[http_code] => 200
[header_size] => 179
[request_size] => 174
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 1.605757
[namelookup_time] => 0.024264
[connect_time] => 0.064783
[pretransfer_time] => 0.064884
[size_upload] => 37
[size_download] => 2078
[speed_download] => 1294
[speed_upload] => 23
[download_content_length] => 2078
[upload_content_length] => 37
[starttransfer_time] => 1.605667
[redirect_time] => 0
)
Re: Cannot update to new USPS v4 rates
Go to your Zen Cart Admin and go to Tools ... Developers Tool Kit ...
In the bottom input box enter:
usps.php
Then, select Catalog ... click SEARCH ...
What comes up on the lines for:
Quote:
* @version $Id: usps.php
Re: Cannot update to new USPS v4 rates
I got two items:
Line #10 : * @version $Id: usps.php 2013-07-28 ajeh $ Version J 2013-07-28
Line #12 : * @version $Id: usps.php 2013-07-30 ajeh Version J5 $
Re: Cannot update to new USPS v4 rates
What file path was this one located in?
Code:
Line #10 : * @version $Id: usps.php 2013-07-28 ajeh $ Version J 2013-07-28
Re: Cannot update to new USPS v4 rates
Also, in the Config>My Store, do I need to do anything with:
cURL Proxy Status
cURL Proxy Address
I never have touched those two items.
Re: Cannot update to new USPS v4 rates
It was:
/includes/languages/english/modules/shipping/usps.php
Re: Cannot update to new USPS v4 rates
While both files should have J5 in that line, it should be okay ... though to be consistent, you should update the language file with the right file ...
On the cURL settings, I am not sure if those need changing or not as your cURL test is working ... I think we'd have to wait on DrByte for that answer ...