USPS.com Click-n-Ship AutoFill Button

Description
*** 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.
+ Download Latest

Forum Support Thread

Submit An Updated Version
Zen Cart® Versions v1.3.9, v1.5.0, v1.5.1
Original Author qhome
Last Updated by jackie.taferner - 7 Nov 2012
Downloads 11,838

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.
  + Download
Zen Cart® Versions v1.3.9, v1.5.0, v1.5.1
Date Added 7 Nov 2012
Author jackie.taferner
File Size 46.3 KB
PHP 5.3 Safe? Unknown
Downloads 1,051
 
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.   + Download
Zen Cart® Versions v1.3.9, v1.5.0
Date Added 15 Aug 2012
Author ses707
File Size 42.9 KB
PHP 5.3 Safe? Yes
Downloads 274
 
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.   + Download
Zen Cart® Versions v1.3.8
Date Added 6 Oct 2008
Author qhome
File Size 146.8 KB
PHP 5.3 Safe? Unknown
Downloads 3,596
 
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.
  + Download
Zen Cart® Versions v1.3.8
Date Added 22 Apr 2008
Author qhome
File Size 147.2 KB
PHP 5.3 Safe? Unknown
Downloads 906
 
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.
  + Download
Zen Cart® Versions v1.3.8
Date Added 20 Mar 2008
Author qhome
File Size 144.6 KB
PHP 5.3 Safe? Unknown
Downloads 340
 
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.   + Download
Zen Cart® Versions v1.3.8
Date Added 28 Feb 2008
Author qhome
File Size 155.1 KB
PHP 5.3 Safe? Unknown
Downloads 268
 
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   + Download
Zen Cart® Versions v1.3.7
Date Added 9 May 2007
Author qhome
File Size 99.5 KB
PHP 5.3 Safe? Unknown
Downloads 1,498
 
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   + Download
Zen Cart® Versions v1.3.7
Date Added 24 Apr 2007
Author qhome
File Size 98.1 KB
PHP 5.3 Safe? Unknown
Downloads 337
 
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.   + Download
Zen Cart® Versions v1.3.7
Date Added 24 Apr 2007
Author qhome
File Size 99.5 KB
PHP 5.3 Safe? Unknown
Downloads 218
 
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
  + Download
Zen Cart® Versions v1.3.7
Date Added 20 Apr 2007
Author qhome
File Size 88.6 KB
PHP 5.3 Safe? Unknown
Downloads 239
 
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.
  + Download
Zen Cart® Versions v1.3.7
Date Added 12 Apr 2007
Author qhome
File Size 57.0 KB
PHP 5.3 Safe? Unknown
Downloads 259
 
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
  + Download
Zen Cart® Versions v1.3.7
Date Added 12 Jan 2007
Author qhome
File Size 41.8 KB
PHP 5.3 Safe? Unknown
Downloads 862
 
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   + Download
Zen Cart® Versions v1.3.5
Date Added 5 Jan 2007
Author qhome
File Size 41.3 KB
PHP 5.3 Safe? Unknown
Downloads 333
 
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';
  + Download
Zen Cart® Versions v1.3.5
Date Added 2 Jan 2007
Author qhome
File Size 39.9 KB
PHP 5.3 Safe? Unknown
Downloads 334
 
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.
  + Download
Zen Cart® Versions v1.3.5
Date Added 21 Sep 2006
Author qhome
File Size 42.0 KB
PHP 5.3 Safe? Unknown
Downloads 888
 
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
  + Download
Zen Cart® Versions
Date Added 12 Sep 2006
Author qhome
File Size 37.5 KB
PHP 5.3 Safe? Unknown
Downloads 435
 


disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR