Forums / Addon Shipping Modules / usps.com Click-n-ship AutoFill Button Contrib

usps.com Click-n-ship AutoFill Button Contrib

Started by qhome on 12 Sep 2006, 7:53 PM · Views: 225,345

Results 721 to 740 of 827
8 Nov 2012, 8:09 PM
#721
guido49 avatar

guido49

New Zenner

Join Date:
Oct 2012
Location:
Natrona Heights, PA
Posts:
23
Plugin Contributions:
0

usps.com Click-n-ship AutoFill Button Contrib

OK...after much ado and taking another good look at the SQL code, I finally got it right and fixed the problem.

Obviously I was being really blind and/or stupid (or both) as I found a bunch of typos in the SQL I posted before.

Now I can access the config under the Admin login with no issues...AND...the module still works properly.

Anyway, ses707, thanks for your input.

If you act like you know what you're doing,
everyone thinks that you do................

8 Nov 2012, 9:11 PM
#722
ses707 avatar

ses707

Zen Follower

Join Date:
Dec 2003
Location:
Astoria, Or
Posts:
342
Plugin Contributions:
0

Re: usps.com Click-n-ship AutoFill Button Contrib

guido49:

OK...after much ado and taking another good look at the SQL code, I finally got it right and fixed the problem.

Obviously I was being really blind and/or stupid (or both) as I found a bunch of typos in the SQL I posted before.

Now I can access the config under the Admin login with no issues...AND...the module still works properly.

Anyway, ses707, thanks for your input.

Glad you got it figured out, it's frustrating when zen sql insert doesn't let you run perfectly acceptable statements depending on the environment. Not getting the prepend right will make it fail to appear. I hope you enjoy using the addon!

12 Nov 2012, 4:40 PM
#723
jackie_taferner avatar

jackie_taferner

Totally Zenned

Join Date:
Jun 2009
Location:
Orange County, California
Posts:
547
Plugin Contributions:
3

Re: usps.com Click-n-ship AutoFill Button Contrib

New version of the module is available for download: http://www.zen-cart.com/downloads.php?do=file&id=182

Included fixes:
-Fix delivery state & country field so they show up in USPS site.
-Added 'Save to address book' functionality.

Jackie Taferner - JT Website Design
Custom Website Design and Ecommerce
Support the community. Don't Private Message, post your questions in the forum.

12 Nov 2012, 7:33 PM
#724
romy avatar

romy

New Zenner

Join Date:
May 2007
Location:
york, pa
Posts:
98
Plugin Contributions:
0

Re: usps.com Click-n-ship AutoFill Button Contrib

guido49:

By the way, here's the SQL code as it's being run...maybe there's something wrong I just can't seem to see?

SET @gid=0;
SELECT @gid:=configuration_group_id
FROM zen_configuration_group
WHERE configuration_group_title LIKE '%USPS Auto-Fill Config%'
LIMIT 1;
DELETE FROM zen_configuration_group WHERE configuration_group_title LIKE '%USPS Auto-Fill Config%';
DELETE FROM zen_configuration_group WHERE configuration_group_title LIKE '%USPS AutoFill%';
DELETE FROM zen_configuration_group WHERE configuration_group_title LIKE '%USPS AutoFill Config%';
DELETE FROM zen_admin_pages WHERE page_key='uspsautofill';
DELETE FROM zen_configuration WHERE configuration_key LIKE 'USPS_RETURN%' LIMIT 8;
DELETE FROM zen_configuration WHERE configuration_key LIKE 'USPS_DELIVERY%' LIMIT 9;

Insert New USPS AutoFill Configuration Group

INSERT INTO zen_configuration_group VALUES ('', 'USPS AutoFill', 'USPS AutoFill Config', '1', '1');
SET @gid=last_insert_id();
UPDATE zen_configuration_group SET sort_order = @gid WHERE configuration_group_id = @gid;
INSERT INTO zen_configuration VALUES (NULL, 'Return: Tracking Email', 'USPS_RETURN_TRACKING_EMAIL', '', 'Set this to the email address used for receiving tracking updates. ', @gid, '41', now(), now(), NULL, NULL), (NULL, 'Return: Tracking Notify via Email (checkbox)', 'USPS_RETURN_TRACKING_EMAIL_NOTIFY', 'false', 'Set this to true if you want to check the tracking notifications checkbox to receive tracking updates to the email specified.', @gid, '42', now(), now(), NULL, "cfg_select_option(array('true', 'false'),"), (NULL, 'Delivery: Default Notify via Email (checkbox)', 'USPS_DELIVERY_DEFAULT_EMAIL_NOTIFY', 'true', 'Set this to true if you want the Notify By Email checkbox checked by default', @gid, '45', now(), now(), NULL, "cfg_select_option(array('true', 'false'),"), NULL, 'Delivery: Default Contents Value', 'USPS_DELIVERY_DEFAULT_CONTENTS_VALUE', '', 'Set this to total or subtotal if you want to use that order value for the declaration value, or set this to a price if you want a default contents value for International shipping, or leave blank to not use it', @gid, '50', now(), now(), NULL, NULL), (NULL, 'Delivery: Default Weight (Pounds)',
'USPS_DELIVERY_DEFAULT_WEIGHTS_POUNDS', '', 'Set this to the default weight in pounds. Useful if you sell only one type of item. Leave blank if using the order total weight', @gid, '55', now(), now(), NULL, NULL), (NULL, 'Delivery: Default Weight (Ounces)', 'USPS_DELIVERY_DEFAULT_WEIGHTS_OUNCES', '', 'Set this to the default weight in ounces. Useful if you sell only one type of item. Leave blank if using the order total weight', @gid, '60', now(), now(), NULL, NULL), (NULL, 'Delivery: Default Shipping from Same ZipCode (Radio Button)', 'USPS_DELIVERY_SAME_ZIPCODE', 'same', 'Set this to same if you want to have your Return Address Zipcode as the default Ship-From zipcode. If set to Other, then enter in your default Ship-From zipcode in the next setting', @gid, '65', now(), now(), NULL, "cfg_select_option(array('same', 'other'),"), (NULL, 'Delivery: Default Shipping from Other ZipCode (If Radio Button set to Other)', 'USPS_DELIVERY_OTHER_ZIPCODE', '', 'Set the default ZipCode you would like as your Ship-From zipcode. Only if the above setting is set to Other', @gid, '70', now(), now(), NULL, NULL), (NULL, 'Delivery: Default Insurance Value', 'USPS_DELIVERY_INSURANCE_VALUE', '', 'Set to total or subtotal if you want to use that order value for the insurance value, or set to a price (i.e. 5.25) if you want to use a preset price. Or leave blank to not use it', @gid, '75', now(), now(), NULL, NULL);

ALTER TABLE zen_orders DROP total_weight;
ALTER TABLE zen_orders ADD total_weight FLOAT NOT NULL DEFAULT '-1';

Register the pages for Admin Access Control

DELETE FROM zen_admin_pages WHERE page_key='uspsautofill';
INSERT INTO zen_admin_pages (page_key,language_key,main_page,page_params,menu_key,display_on_menu,sort_order) VALUES

('uspsautofill','BOX_CONFIGURATION_USPS_AUTOFILL','FILENAME_CONFIGURATION','1','configuration','Y','1');
UPDATE zen_admin_pages SET sort_order = (SELECT configuration_group_id FROM zen_configuration_group WHERE configuration_group_title = 'USPS AutoFill') WHERE page_key = 'uspsautofill';
UPDATE zen_admin_pages SET page_params = CONCAT('gID=',(SELECT configuration_group_id FROM zen_configuration_group WHERE configuration_group_title = 'USPS AutoFill')) WHERE page_key = 'uspsautofill';

working with 1.5.0
read this whole forum and nothing has helped.
what should the install-1.5.0 sql look like.
when I install install-1.5.0 it gives me a 404 page
Thanks

12 Nov 2012, 11:33 PM
#725
jackie_taferner avatar

jackie_taferner

Totally Zenned

Join Date:
Jun 2009
Location:
Orange County, California
Posts:
547
Plugin Contributions:
3

Re: usps.com Click-n-ship AutoFill Button Contrib

romy, I hope this helps you:

  1. Make sure you have downloaded the latest copy of USPS AutoFill from the link above.
  2. Make sure that ALL 1.5.0 files are uploaded to your admin directory before running SQL.
  3. Use the SQL inside that package, by opening the install-1.5.0.sql file in Notepad and copy/paste into Tools > SQL Patches

Jackie Taferner - JT Website Design
Custom Website Design and Ecommerce
Support the community. Don't Private Message, post your questions in the forum.

13 Nov 2012, 2:14 AM
#726
romy avatar

romy

New Zenner

Join Date:
May 2007
Location:
york, pa
Posts:
98
Plugin Contributions:
0

Re: usps.com Click-n-ship AutoFill Button Contrib

Hello,
I did everything you listed before.
did give the copy/paste a try in the SQL
I get "The website cannot display the page"
when I hit send or upload..
I gave it a try with 1.3.9 and it worked perfect but with 1.5.0 no luck.

13 Nov 2012, 3:37 PM
#727
jackie_taferner avatar

jackie_taferner

Totally Zenned

Join Date:
Jun 2009
Location:
Orange County, California
Posts:
547
Plugin Contributions:
3

Re: usps.com Click-n-ship AutoFill Button Contrib

Which version of Zen Cart are you using? You should only install the SQL that matches your version of Zen Cart.

Jackie Taferner - JT Website Design
Custom Website Design and Ecommerce
Support the community. Don't Private Message, post your questions in the forum.

29 Nov 2012, 8:39 PM
#728
atfpodcast avatar

atfpodcast

New Zenner

Join Date:
Jun 2012
Location:
North Hollywood, California, United States
Posts:
37
Plugin Contributions:
0

Re: usps.com Click-n-ship AutoFill Button Contrib

I get errors when I upload the .sql patch file. It says to refresh and try again.

29 Nov 2012, 9:08 PM
#729
atfpodcast avatar

atfpodcast

New Zenner

Join Date:
Jun 2012
Location:
North Hollywood, California, United States
Posts:
37
Plugin Contributions:
0

Re: usps.com Click-n-ship AutoFill Button Contrib

when i apply the 1.50 but it is working the only downfall about click and ship is it only works with flat rate and priority grrrr

19 Dec 2012, 4:46 PM
#730
barco57 avatar

barco57

Totally Zenned

Join Date:
Apr 2006
Location:
West Salem, IL
Posts:
2,846
Plugin Contributions:
0

Re: usps.com Click-n-ship AutoFill Button Contrib

UK addresses are not populating correctly, it appears to not be sending the country correctly.
Any addresses with the country listed as United Kingdom fail to pass the country correctly.........
Apparently the client can get it to work because they have the module that allows them to edit the clients information, and they are changing the country to Great Britain and then submitting and it works.

am I going to have to change the Country name from United Kingdom to Great Britain (for new Customers) and then mass change it in the database (for old customers) ?

Mike
AEIIA - Zen Cart Certified & PCI Compliant Hosting
The Zen Cart Forum...Better than a monitor covered with post-it notes!

20 Dec 2012, 1:44 AM
#731
jackie_taferner avatar

jackie_taferner

Totally Zenned

Join Date:
Jun 2009
Location:
Orange County, California
Posts:
547
Plugin Contributions:
3

Re: usps.com Click-n-ship AutoFill Button Contrib

barco, are you using the latest version? http://www.zen-cart.com/downloads.php?do=file&id=182

Jackie Taferner - JT Website Design
Custom Website Design and Ecommerce
Support the community. Don't Private Message, post your questions in the forum.

27 Dec 2012, 4:30 PM
#733
jackie_taferner avatar

jackie_taferner

Totally Zenned

Join Date:
Jun 2009
Location:
Orange County, California
Posts:
547
Plugin Contributions:
3

Re: usps.com Click-n-ship AutoFill Button Contrib

On closer inspection, this has to do with the way USPS labels the UK. I would expect it to be listed as the United Kingdom, but for some reason their dropdown shows "Great Britain and Northern Ireland".

Try going to Zen Cart Admin > Locations/Taxes > Countries > United Kingdom (on the 12th page), and change that to say "Great Britain". You could also try "United Kingdom (Great Britain)"

Let me know if that works. It would be a temporary fix until USPS changes their label for the UK. Another option is to modify the code so it "translates" the country label for the UK. I will consider adding this to the next release.

Jackie Taferner - JT Website Design
Custom Website Design and Ecommerce
Support the community. Don't Private Message, post your questions in the forum.

18 Jan 2013, 4:40 AM
#734
lauriesscraps avatar

lauriesscraps

Zen Follower

Join Date:
Sep 2009
Posts:
255
Plugin Contributions:
0

Re: usps.com Click-n-ship AutoFill Button Contrib

I have been having the same issue that a lot of people have had. I installed the files and sql file. It works fine in the orders tab, but I do not have the USPS Autofill option in my configuration menu. When I click on it, it just brings me back to the "My Store" menu. I read on here that I have to do something in my database to fix this? What exactly do I need to do?

When I install the sql file in tells me an error occurred and to hit refresh. I know it was said we can ignore that, but thought I would mention it. I am also using version 1.5.1.

BTW, I use FF and Chrome. It is doing it in both browsers. Thanks for your help.

15 Feb 2013, 6:37 PM
#735
jackie_taferner avatar

jackie_taferner

Totally Zenned

Join Date:
Jun 2009
Location:
Orange County, California
Posts:
547
Plugin Contributions:
3

Re: usps.com Click-n-ship AutoFill Button Contrib

@lauriesscraps,
Make sure you're using the very latest version of the plugin found here: http://www.zen-cart.com/downloads.php?do=file&id=182

If you are still having issues, then: 1) backup your database. 2) in phpmyadmin, search for USPS Autofill and remove all of the configurations so you can start fresh. 3) Run the plugin SQL again and see if it works.

Jackie Taferner - JT Website Design
Custom Website Design and Ecommerce
Support the community. Don't Private Message, post your questions in the forum.

28 Feb 2013, 4:29 PM
#736
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

Re: usps.com Click-n-ship AutoFill Button Contrib

Jackie,

I have a customer who switched to paypal pro and it seems that the shipping address is not transferred to USPS for these orders. I cannot figure how a payment module would affect this. Have you heard of anything? I didn't find any mention about this when I searched.

The full-time Zen Cart Guru. WizTech4ZC.com
New template for 2.0 viewable here: 2.0 Demo

6 Mar 2013, 3:38 PM
#738
jackie_taferner avatar

jackie_taferner

Totally Zenned

Join Date:
Jun 2009
Location:
Orange County, California
Posts:
547
Plugin Contributions:
3

Re: usps.com Click-n-ship AutoFill Button Contrib

Thanks ses707, that is correct. If I'm not mistaken, that fix is included in the latest version of the plugin. Please try installing version 1.6 and if the problem is still present, let me know. Then I can get it included in 1.7

Jackie Taferner - JT Website Design
Custom Website Design and Ecommerce
Support the community. Don't Private Message, post your questions in the forum.

9 Mar 2013, 4:02 PM
#739
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

Re: usps.com Click-n-ship AutoFill Button Contrib

ses707:

This was fixed back at post 690 - http://www.zen-cart.com/showthread.php?46059-usps-com-Click-n-ship-AutoFill-Button-Contrib&p=1144211#post1144211

Issue with how the zone is stored by PP.

Then I shouldn't have a problem with the newest version, correct? I thought that I uploaded it before I asked you about this. I'll check once again that I have the newest one installed.

The full-time Zen Cart Guru. WizTech4ZC.com
New template for 2.0 viewable here: 2.0 Demo

28 Jul 2013, 6:40 AM
#740
able avatar

able

New Zenner

Join Date:
Dec 2012
Posts:
13
Plugin Contributions:
0

Re: usps.com Click-n-ship AutoFill Button Contrib

This add on works perfectly.
The only problem is with the USPS itself.
USPS has a 1st class shipping rate for small and low-weight items, like envelopes. We can ship the catalog for under $1.50 1st class mail and cheaper if we use Parcel Post (for bulkier, lightweight items like bubble envelopes which we sometimes send replacement parts etc).
When people order our catalog, we send it free (no charge).
However, the USPS Click-n-Ship website will not support 1st class mail. The cheapest option is Flat Rate for between $5.15-$5.50 or so depending on the box or envelope etc. So while Click-n-Ship is great, and this add on works perfectly for regular orders, the Post Office might force you to use more postage than you need.
If you send in boxes, the Flat Rate boxes are awesome and we use them a lot too but our #1 mailing is the catalog and this means we need to find another option.

Thanks for the add on we are using it, and it works great. We just can't use it for all the orders we get.