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 41 to 60 of 827
2 Jan 2007, 3:59 AM
#41
rcrosier avatar

rcrosier

Zen Follower

Join Date:
Dec 2006
Location:
Vermont
Posts:
128
Plugin Contributions:
0

usps.com Click-n-ship AutoFill Button Contrib

qhome:

Hmm You seem to have the two confused.

The USPS Shipping module is just for offering shipping to your customers and that does come with the Official Zen-Cart.

USPS AutoFill contrib is an ADMIN utility that I created to allow easy population of the usps.com click-n-ship website to auto populate the customers information. This contrib includes the totalweight function that is used to calculate total weight for automatic filling of the weight on that same click-n-ship page.

This thread is related to that contrib, not to the zencart built-in usps shipping module.

You can DL the contrib from my signature

No, I understand that this thread is for the Autofill contrib, however, I installed the official Zen Cart, and I do not have the field "orders.total_weight", which caused an error in the USPS autofill mods... so I'm wondering Why Not? If it was not created when I installed ZC 1.3.6, then how is it to get populated? I don't get any errors upon creating an order..??

Where/how does that field get populated?

VTstuff.com, Quality gifts and products from Vermont.

2 Jan 2007, 6:09 AM
#42
qhome avatar

qhome

Totally Zenned

Join Date:
Feb 2004
Posts:
1,702
Plugin Contributions:
5

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

rcrosier:

No, I understand that this thread is for the Autofill contrib, however, I installed the official Zen Cart, and I do not have the field "orders.total_weight", which caused an error in the USPS autofill mods... so I'm wondering Why Not? If it was not created when I installed ZC 1.3.6, then how is it to get populated? I don't get any errors upon creating an order..??

Where/how does that field get populated?

Aha! Good catch. Surprised we've had so many happy users since I forgot to add that sql line to the sql file.

I've updated the file to version 0.2b. The only change is I added this line to the sql file:

ALTER TABLE `orders` ADD `total_weight` FLOAT NOT NULL DEFAULT '-1';

Sorry about that

5 Jan 2007, 9:01 PM
#43
tonybenedetti avatar

tonybenedetti

Zen Follower

Join Date:
Apr 2004
Posts:
79
Plugin Contributions:
0

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

qhome:

... I've updated the file to version 0.2b. ...
Hmmmm .... looks like the contribution has evolved from a ZIP file into a RAR file.

  • uspscom_clicknship_autofill_button_0.2.zip:yes:
  • uspscom_clicknship_autofill_button_v0.2b.rar:yuck:
    Any chance you could go back to ZIP format?

Thanks,
Tony Benedetti

5 Jan 2007, 9:07 PM
#44
qhome avatar

qhome

Totally Zenned

Join Date:
Feb 2004
Posts:
1,702
Plugin Contributions:
5

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

TonyBenedetti:

Hmmmm .... looks like the contribution has evolved from a ZIP file into a RAR file.

  • uspscom_clicknship_autofill_button_0.2.zip:yes:
  • uspscom_clicknship_autofill_button_v0.2b.rar:yuck:

Any chance you could go back to ZIP format?

eep.. sorry. WinRar defaults to RAR.. i will update with a zip

5 Jan 2007, 9:16 PM
#45
tonybenedetti avatar

tonybenedetti

Zen Follower

Join Date:
Apr 2004
Posts:
79
Plugin Contributions:
0

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

Many thanks !!!

qhome:

eep.. sorry. WinRar defaults to RAR.. i will update with a zip

Thanks,
Tony Benedetti

6 Jan 2007, 5:13 PM
#47
stephen avatar

stephen

New Zenner

Join Date:
Jul 2006
Posts:
12
Plugin Contributions:
0

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

I tried the update code but get this error:
ERROR: Cannot ADD column total_weight because it already exists.

Is it better to run the 0.2b sql file instead of this one line?

qhome:

Aha! Good catch. Surprised we've had so many happy users since I forgot to add that sql line to the sql file.

I've updated the file to version 0.2b. The only change is I added this line to the sql file:

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

> 
> Sorry about that
6 Jan 2007, 5:48 PM
#48
qhome avatar

qhome

Totally Zenned

Join Date:
Feb 2004
Posts:
1,702
Plugin Contributions:
5

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

Stephen:

I tried the update code but get this error:
ERROR: Cannot ADD column total_weight because it already exists.

Is it better to run the 0.2b sql file instead of this one line?

If you already have it then you already have it so you should see the usps form fill in your weight properly

6 Jan 2007, 6:14 PM
#49
rcrosier avatar

rcrosier

Zen Follower

Join Date:
Dec 2006
Location:
Vermont
Posts:
128
Plugin Contributions:
0

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

Stephen:

I tried the update code but get this error:
ERROR: Cannot ADD column total_weight because it already exists.

Is it better to run the 0.2b sql file instead of this one line?

This isn't my mod, but it sounds like the field is already there, so I would just remove that line from the code, and rerun it. You may already have all the fields you need in all the files, and just need the updated program files.

VTstuff.com, Quality gifts and products from Vermont.

6 Jan 2007, 9:21 PM
#50
stephen avatar

stephen

New Zenner

Join Date:
Jul 2006
Posts:
12
Plugin Contributions:
0

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

I have checked php myadmin and the field 'total weight' does exist. And all the files for the mod are up to date but the total weight is not being filled in by the usps form fill. However the total weight fields are blank in the admin/super orders/order details page. So the problem may be with super orders?

Here is what that field looks like in the orders total page:
'Total Weight is lbs. oz.'

qhome:

If you already have it then you already have it so you should see the usps form fill in your weight properly

6 Jan 2007, 9:31 PM
#51
rcrosier avatar

rcrosier

Zen Follower

Join Date:
Dec 2006
Location:
Vermont
Posts:
128
Plugin Contributions:
0

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

Stephen:

I have checked php myadmin and the field 'total weight' does exist. And all the files for the mod are up to date but the total weight is not being filled in by the usps form fill. However the total weight fields are blank in the admin/super orders/order details page. So the problem may be with super orders?

Here is what that field looks like in the orders total page:
'Total Weight is lbs. oz.'

Maybe... Mine shows the weight as "Total Weight is 4 lbs. 10 oz."

Although I've had a couple cases since I installed it, where the USPS screen gets no weight when I use the Autofill... not sure why.

VTstuff.com, Quality gifts and products from Vermont.

7 Jan 2007, 4:26 PM
#52
qhome avatar

qhome

Totally Zenned

Join Date:
Feb 2004
Posts:
1,702
Plugin Contributions:
5

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

Stephen:

I have checked php myadmin and the field 'total weight' does exist. And all the files for the mod are up to date but the total weight is not being filled in by the usps form fill. However the total weight fields are blank in the admin/super orders/order details page. So the problem may be with super orders?

Here is what that field looks like in the orders total page:
'Total Weight is lbs. oz.'

Hmm are you using the SuperOrders version of the file (I assume yes) I dont remember If I ever tested SuperOrders with the weight part of it. I will try to take a look to see if it is working for me.

Does the normal orders version prepopulate weight for you?

7 Jan 2007, 8:41 PM
#53
rcrosier avatar

rcrosier

Zen Follower

Join Date:
Dec 2006
Location:
Vermont
Posts:
128
Plugin Contributions:
0

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

qhome:

Hmm are you using the SuperOrders version of the file (I assume yes) I dont remember If I ever tested SuperOrders with the weight part of it. I will try to take a look to see if it is working for me.

Does the normal orders version prepopulate weight for you?

Although I'm not the person who is having the problem, I'll reply here...

I am using SuperOrders with mine, and the weight shows up on the order view fine. It seems that sometimes the weight does not make it to the USPS entry screen, though... I have not spent any time looking at that though, and it works sometimes, too.

VTstuff.com, Quality gifts and products from Vermont.

9 Jan 2007, 1:41 AM
#54
neweditionfanclub avatar

neweditionfanclub

New Zenner

Join Date:
Jan 2007
Posts:
25
Plugin Contributions:
0

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

I click on the button and nothing loads. I'm using FireFox.

10 Jan 2007, 6:18 PM
#56
puppet87112 avatar

puppet87112

New Zenner

Join Date:
Oct 2004
Location:
Albuquerque, NM
Posts:
91
Plugin Contributions:
0

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

I am using version 1.3.7 and I have this mod installed. When I installed in on my test site it worked perfectly (also 1.3.7) but when I installed it live it didn't work. I am a web host installing this for a client and we currently have it running off an IP address for testing purposes to get everything working before they change there name servers.

I dont know if running off the IP address is what is causing the problem as the test site was not.

When I click the auto fill button nothing happens, no screen pops up, it doesn't try anything it just acts like you never touched the button.

The other mods that have to do with orders that are installed are edit orders but I had that on the test site to.

I also updated the orders.php file manually as this was for an earlier release.

If anyone could help it would be greatly appreicated.

Thank you

10 Jan 2007, 7:59 PM
#57
afterglow avatar

afterglow

New Zenner

Join Date:
Jan 2007
Posts:
15
Plugin Contributions:
0

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

hi there,
I tried installing v0.2b it works great but now I'm getting this error when updating the status or when deleting an order...

Warning: Cannot modify header information - headers already sent by (output started at /home/yogasa2/public_html/store/admin/includes/modules/usps_autofill_button.php:41) in /home/yogasa2/public_html/store/admin/includes/functions/general.php on line 34

can anyone help me out?
thanks in advance

-Kris

10 Jan 2007, 8:32 PM
#58
qhome avatar

qhome

Totally Zenned

Join Date:
Feb 2004
Posts:
1,702
Plugin Contributions:
5

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

puppet87112:

I am using version 1.3.7 and I have this mod installed. When I installed in on my test site it worked perfectly (also 1.3.7) but when I installed it live it didn't work. I am a web host installing this for a client and we currently have it running off an IP address for testing purposes to get everything working before they change there name servers.

I dont know if running off the IP address is what is causing the problem as the test site was not.

When I click the auto fill button nothing happens, no screen pops up, it doesn't try anything it just acts like you never touched the button.

The other mods that have to do with orders that are installed are edit orders but I had that on the test site to.

I also updated the orders.php file manually as this was for an earlier release.

If anyone could help it would be greatly appreicated.

Thank you

Verify that the admin/includes/modules/usps_autofill_button.php exists. Sounds like the button has no code for it.

afterglow:

Warning: Cannot modify header information - headers already sent by (output started at /home/yogasa2/public_html/store/admin/includes/modules/usps_autofill_button.php:41) in /home/yogasa2/public_html/store/admin/includes/functions/general.php on line 34

Did you add any spaces to the top of the includes/modules/usps_autofill_button.php file? Besure that there are no spaces at the top or bottom of this file. Also check that there is no weird bunch of characters at the top like >!? or something which means that it was uploaded as a UTF-8 or something

NewEditionFanClub:

I click on the button and nothing loads. I'm using FireFox.

Firefox doesn't like this script.. FF will stop on a javascript error instead of continuing so it is not FF compatible. Works on IE and Opera tho

10 Jan 2007, 8:34 PM
#59
afterglow avatar

afterglow

New Zenner

Join Date:
Jan 2007
Posts:
15
Plugin Contributions:
0

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

I'm using version 1.3.6 by the way. and no i didn't add any spaces or anything. I just copied the files as they were. Checking files now.

10 Jan 2007, 8:48 PM
#60
afterglow avatar

afterglow

New Zenner

Join Date:
Jan 2007
Posts:
15
Plugin Contributions:
0

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

Ok I checked usps_autofill_button.php file, there are no spaces and no odd characters at the top or bottom of the code. by chance does it have something to do with me using 1.3.6 and it was made for 1.3.5? I just backed up and then overwrote the original files (order.php, etc) it seems to autofill fine, but i'm getting that header error when updating an order...


Did you add any spaces to the top of the includes/modules/usps_autofill_button.php file? Besure that there are no spaces at the top or bottom of this file. Also check that there is no weird bunch of characters at the top like >!? or something which means that it was uploaded as a UTF-8 or something