I have not been able to test this, but I believe I have fixed the issue.
The whole script had to be updated to match USPS's update. I'll test it when I get back to the office later today.
http://www.cheaptechguy.com/zenFix/
-Ken
I have not been able to test this, but I believe I have fixed the issue.
The whole script had to be updated to match USPS's update. I'll test it when I get back to the office later today.
http://www.cheaptechguy.com/zenFix/
-Ken
Last edited by CrashWolf; 19 Mar 2012 at 04:23 PM.
I just submitted a request to USPS regarding the script (https://sss-web.usps.com/cns/jscript...Information.js) and the landing page.
If your volume of sales is large enough, you might want to investigate ShipStation.com. I signed up with them for a trial period about a week ago. The integration with Zencart is quite tight. Everything loads up nicely, and setup is very easy. No tokens or additional software. Everything is web-based, so this is a big plus for Mac-users. Other than uploading the ShipStation module, the only thing you'll need to do is to include a new username and password in your admin specifically for ShipStation. After that, the rest of the setup occurs on ShipStation's website.
The only glitch is that ShipStation reads Zencart's weights in ounces rather than in pounds. I reported this to ShipStatoin, and they said they'll fix the glitch in a day or two. This was on Friday. Their customer service is also very swift. They report an average response time of 30 minutes. When my trial period is over, I'll post a review.
You can download the module at:
http://www.zen-cart.com/index.php?ma...oducts_id=2007
In any case, I'd like to see USPS Autofill fixed since it is handy for shipping last minute orders.
Oh Ha! I forgot to point the new form name.
It should work now.
http://www.cheaptechguy.com/zenFix/
That would be if the USPS site wasn't down!![]()
Have you had a chance to test it yet?
I have confirmed it works with domestic, however I do not have any international packages to ship today as of yet.
Off to tell my developer. Thanks!
USPS FIX for usps_autofill_button.php
http://www.cheaptechguy.com/zenFix/u...button.php_fix
Please note there are some changes outside just updating the field ID's.
USPS now requires a First & Last name in both Shipper and Destination addresses.
For the Shippers First & Last name, I hard coded "Shipping Department". You can change that to whatever you like.
<input type="hidden" name="form.returnFirstName" value="Shipping" id="form.returnFirstName">
<input type="hidden" name="form.returnLastName" value="Department" id="form.returnLastName">
As for the destination, Zen Combines the users Name in the orders table. Instead of reworking Zen Cart I delimited it using:
TRIM(TRAILING substring_index(delivery_name,' ', -1) from delivery_name) as delivery_firstname
,
substring_index(delivery_name,' ', -1) as delivery_lastname,
Since the name on the Shipping label combines it back when printed, it should not show any different to the customer.
Please let me know if there are any issues.
Last edited by CrashWolf; 19 Mar 2012 at 08:05 PM. Reason: added link for fixed code