USPS.com Click-n-Ship AutoFill Button
*** Moderator note: Please be advised that at the current time (07/10/15), this plugin does not work and causes problems. It is being left up in case someone wants to work on it or needs it for file comparison purposes, but using it is not advised at this time. This contrib adds a simple, yet highly advanced javscript button to your Admin-_Orders page that can automatically take the Shipping Address of that customer and pre-fill the Click-N-Ship form at www.usps.com. A few other people have made previous attempts at this and have failed. This one, however, is working perfectly. Unlike some other attempts at this, you do not have to be initially logged into your usps.com account to use this. You can complete the form process and the usps.com website will keep the label when it asks you to log in. This contrib is also completely modular. There is only a one-line change to the admin/orders.php file to require the module file. |
![]() |
v1.3.9, v1.5.0, v1.5.1 |
![]() |
qhome |
![]() |
jackie.taferner - 7 Nov 2012 |
![]() |
11,882 |
Version History
USPS.com Click-n-Ship AutoFill Button - Version: 1.6 | |||||||||||||
-Fix delivery state & country field so they show up in USPS site. -Added 'Save to address book' functionality. |
|||||||||||||
|
|||||||||||||
USPS.com Click-n-Ship AutoFill Button - Version: 1.5.1 | |||||||||||||
Some payment modules enter the delivery state as two characters instead of using the zone code lookup function which caused problems with US addresses. | |||||||||||||
|
|||||||||||||
USPS.com Click-n-Ship AutoFill Button - Version: v1.4 | |||||||||||||
- USPS.com made a change on their site that broke the functionality. This fixes it. Only the admin/includes/modules/usps_autofill_button.php file has changed from the last version. | |||||||||||||
|
|||||||||||||
USPS.com Click-n-Ship AutoFill Button - Version: 1.3a | |||||||||||||
No Code change. Only added a second readme file called IMPORTANT_README.TXT file that explains how to work around the USPS.com problem for the: Internal Error : We've experienced an unexpected condition. Error Tracking Number : xxxxxxxxxxxxxxx It's not a permanent solution, but it works. |
|||||||||||||
|
|||||||||||||
USPS.com Click-n-Ship AutoFill Button - Version: v1.3 | |||||||||||||
- Updated admin/includes/module/usps_autofill_button.php to include support for 2 new fields on the USPS.com website: -- Get Tracking updates (checkbox) -- Email field for Get Tracking updates Now you can set a default email address for automatic tracking updates that will email you when a package is delivered. - Updated usps.sql file to include new fields. - No other files were changed. If you are upgrading from the previous version, just replace the module file and run the sql. |
|||||||||||||
|
|||||||||||||
USPS.com Click-n-Ship AutoFill Button - Version: v1.2 | |||||||||||||
Updated to support zc138a using the updated orders.php page as a base. Included a merged info-at-a-glance version and quick update order version as well. No functional changes. | |||||||||||||
|
|||||||||||||
USPS.com Click-n-Ship AutoFill Button - Version: 1.1b-again | |||||||||||||
I apparently forgot to upload the correct files when I fixed the sql file. This should replace the other 1.1b | |||||||||||||
|
|||||||||||||
USPS.com Click-n-Ship AutoFill Button - Version: v1.1b | |||||||||||||
escape characters removed from the sql code. Some sql environments don't like it. No need to install if you already have 1.1a | |||||||||||||
|
|||||||||||||
USPS.com Click-n-Ship AutoFill Button - Version: v1.1a | |||||||||||||
- Minor fix from v1.1 to remove the old javascript fix for apostrophes. It was causing them to be over-escaped with a slash when apostrophes were used in the address. Only the admin/includes/modules/usps_autofill_button.php file changed since v1.1. | |||||||||||||
|
|||||||||||||
USPS.com Click-n-Ship AutoFill Button - Version: v1.1 | |||||||||||||
- Added ‘total’ as an option for Default insurance value and Default International Contents value. - Finally figured out how to make the backend calculate the total order weight, including attributes. This removes the need for modifying the classes/order.php file to get the weight during checkout. - Added BONUS STUFF which includes: -- Super_Orders 2.0 + USPS Autofill integration -- Super_Orders 2.0 + USPS Autofill integration + Info At a Glance -- Normal Orders.php + USPS Autofill integration + Info At a Glance - Firefox (and other browsers) now supported! Thanks to zen-cart member linksys for helping me set the code up in a more proper way with native html instead of putting it all as javascript, the contrib works with all browsers now. - Added feature to use the order_id as the usps reference number field for the order. It will auto-populate now (no config changes) - Rewrote/Cleaned up code to check the logic before running unnecessary functions (total_weight function won’t run if using fixed weight, subtotal query won’t run unless using the value for declaration/insurance. Removed some excess javascript code now that much of it is done with server-side php - Attempted to make the Readme file easier to read/understand |
|||||||||||||
|
|||||||||||||
USPS.com Click-n-Ship AutoFill Button - Version: v0.4 | |||||||||||||
- Added some code checks. - Added auto-escaping apostrophes in Return Address Names/Company Names - Added ability to set default insurance to ‘subtotal’ - Added ability to set default declaration for international packages to ‘subtotal’ - Fixed the attribute weight not being part of the total weight calculation. This was done by modifying the class file at the customer order level. - Cleaned up Readme a bit - NOTE 1: ALL files have changed, please be sure to upload them all or make manual changes to your existing admin/orders.php file. - NOTE 2: There were database changes. You will need to install the sql file again and it will clear any previous settings you had. |
|||||||||||||
|
|||||||||||||
USPS.com Click-n-Ship AutoFill Button - Version: v0.3 | |||||||||||||
- Updated to be compatible with zc 1.3.7 - Changed only the admin/orders.php file |
|||||||||||||
|
|||||||||||||
USPS.com Click-n-Ship AutoFill Button - Version: v0.2b | |||||||||||||
Just an update to replace the rar file with more popular ZIP format. No functional changes | |||||||||||||
|
|||||||||||||
USPS.com Click-n-Ship AutoFill Button - Version: v0.2b | |||||||||||||
- forgot to add sql code for total_weight. Added to the top of USPS AutoFill-v0.2b_Full.sql file If you already have 0.2 installed, just run this sql query: ALTER TABLE `orders` ADD `total_weight` FLOAT NOT NULL DEFAULT '-1'; |
|||||||||||||
|
|||||||||||||
USPS.com Click-n-Ship AutoFill Button - Version: 0.2 | |||||||||||||
– reduced the db query to only include the fields used - fixed a potential bug with country matching. – Added ability to use zen-cart total order weight for weight (thanks castylx for your total weight function) – Added ability to create the label from the quick order view instead of only the edit view – Changed the button structure a bit. |
|||||||||||||
|
|||||||||||||
USPS.com Click-n-Ship AutoFill Button - Version: v0.1 | |||||||||||||
This contrib adds a simple, yet highly advanced javscript button to your Admin-_Orders page that can automatically take the Shipping Address of that customer and pre-fill the Click-N-Ship form at www.usps.com. A few other people have made previous attempts at this and have failed. This one, however, is working perfectly. Unlike some other attempts at this, you do not have to be initially logged into your usps.com account to use this. You can complete the form process and the usps.com website will keep the label when it asks you to log in. This contrib is also completely modular. There is only a one-line change to the admin/orders.php file to require the module file. Support thread: http://www.zen-cart.com/forum/showthread.php?p=260877 |
|||||||||||||
|
|||||||||||||