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

usps.com Click-n-ship AutoFill Button Contrib

Views: 224,989

Results 281 to 300 of 827
21 Apr 2008, 4:09 PM
#281
qhome avatar

qhome

Totally Zenned

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

usps.com Click-n-ship AutoFill Button Contrib

Well as a side step, I've been trying to use the iMacros FF Extension to create a macro that can read "data" from one site and populate it into a form.

It looks like it should work pretty good actually so it is possible that this could become even a more permanent solution.

I will hopefully have something done today, as I too have a good dozen labels to make today.

21 Apr 2008, 5:15 PM
#282
buzzville avatar

buzzville

New Zenner

Join Date:
May 2006
Posts:
87
Plugin Contributions:
0

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

I'm another person now suddenly struggling with the AutoFill contribution and USPS error messages. I'm on ZC 1.3.7 and have never had any problems with the mod until Friday, 4/21. We've found that international (outside the US) labels will autofill just fine, but the domestic (US addresses) will not. Perhaps that's another clue as to what is going wrong? I've got hundreds of labels to print, so any solution will be most welcome!

21 Apr 2008, 5:17 PM
#283
coop1979 avatar

coop1979

New Zenner

Join Date:
May 2006
Location:
Columbia, SC
Posts:
26
Plugin Contributions:
0

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

Add me to list of people having troubles.

Thanks for taking a look at it, qhome.

21 Apr 2008, 6:21 PM
#284
eloi avatar

eloi

New Zenner

Join Date:
Feb 2006
Posts:
2
Plugin Contributions:
0

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

For me at least, the problem is related to the "trkConfirmEmail" form field.

For some reason, usps.com will not accept the "@" character in in this field. For a temporary workaround, I set "Return Tracking Email" to myaccountwebsite.com.
When the usps.com form comes up, I just insert the "@".

Works like a charm!

21 Apr 2008, 7:13 PM
#285
qhome avatar

qhome

Totally Zenned

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

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

aha! Eloi you beautiful genius. That fixed it for me! I removed my value for "Return: Tracking Email" and it worked.

21 Apr 2008, 7:23 PM
#286
qhome avatar

qhome

Totally Zenned

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

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

I wonder how USPS could have broken that. I tried adding an escape '' character before the @ but it copies the whole thing, including the ''. But sure enough that seems to be the culprit for me. Tried a few times. Also tried re-arranging the inputs as I sent them, but it all goes back to that @ symbol.

Something so small and stupid causing such a big impact. Well I better add some notes to the download.

But I just want to be sure everyone else's problems are fixed by this.

21 Apr 2008, 7:33 PM
#287
foilman avatar

foilman

New Zenner

Join Date:
May 2006
Posts:
51
Plugin Contributions:
0

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

ok I must be blind! where do I find the Return Email setting?? I do not see it under the uspsautofill link on admin...

21 Apr 2008, 7:39 PM
#288
qhome avatar

qhome

Totally Zenned

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

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

foilman:

ok I must be blind! where do I find the Return Email setting?? I do not see it under the uspsautofill link on admin...

you are using the latest version?
It should be labeled "Return: Tracking Email".

The 9th item down.

21 Apr 2008, 8:01 PM
#289
foilman avatar

foilman

New Zenner

Join Date:
May 2006
Posts:
51
Plugin Contributions:
0

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

Well I thought I was... but wasn't... just upgraded and changed the email to no @ sign and it works! Thanks!!! This will at least get me through for now, thank you!!

22 Apr 2008, 6:00 AM
#290
linksys avatar

linksys

New Zenner

Join Date:
Nov 2006
Posts:
30
Plugin Contributions:
0

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

Based on the above report on "no @ in email workaround" (thanks you guys) I did more tests and here is my conclusion:

Conclusion A: Their backend now starts to check for session TOKEN and packageID/labelID values.

Here is my thoughts on the flow of their backend logic:

  1. When the form is submitted. Form validation is performed for form fields.

2.1) If form validation passes (all data are valid), the session token is checked. If there's no valid token and packageID/labelID, backend throws error as we saw lately and redirect to the Sign In page.

2.2) If form validation failed, backend redisplay the label form and give us a chance to fix the data. No token and and packageID/labelID checking.

Based on the above logic, I've Conclusion B:

Conclusion B: Using an invalid Email address is just one of the workarounds. Using any invalid data would do the same trick (for example making any required data "missing").

To verify Conclusion B, open usps_autofill_button.php and delete the following line:

<input type="hidden" name="returnZipcode" value="<?php echo addslashes(USPS_RETURN_ZIPCODE); ?>" id="returnZipcode">

And autofill works. Note you don't have to use an invalid email address with this test.

Now we just need to find an easy to fix field and intentionally invalidate it. I see "Shipping from ZIP Code" and "Size" very good candidates!!! :D

Wow~ analyzing a blackbox is fun! :wink:

22 Apr 2008, 10:26 AM
#291
qhome avatar

qhome

Totally Zenned

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

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

Well done link :)
Sounds like you are in the Quality Assurance business! (me too) :D

22 Apr 2008, 2:43 PM
#292
linksys avatar

linksys

New Zenner

Join Date:
Nov 2006
Posts:
30
Plugin Contributions:
0

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

LOL I am not, unfortunately. You did an excellent job making this contrib. Everyone here realizes how dependent we are on this. BIG thanks!

qhome:

Well done link :)
Sounds like you are in the Quality Assurance business! (me too) :D

22 Apr 2008, 2:45 PM
#293
gunnerman avatar

gunnerman

New Zenner

Join Date:
Apr 2008
Posts:
2
Plugin Contributions:
0

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

Thank you guys. I am new to the forum. Just installed Auto fill today. I keep getting the following error from the USPS website: Internal Error : We've experienced an unexpected condition.
Error Tracking Number : 1208874192926
Tried Linksys fix, which did not work for us. I have over 1000 orders to ship so any help would be great.
Thanks

22 Apr 2008, 4:05 PM
#294
qhome avatar

qhome

Totally Zenned

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

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

gunnerman:

Thank you guys. I am new to the forum. Just installed Auto fill today. I keep getting the following error from the USPS website: Internal Error : We've experienced an unexpected condition.
Error Tracking Number : 1208874192926
Tried Linksys fix, which did not work for us. I have over 1000 orders to ship so any help would be great.
Thanks

you are sure you have no email address in the "Return: Tracking Email" and the "Return: Tracking Notify via Email (checkbox)" set to true? Based on what Linksys found, you have to fool the form by forcing an error condition. So telling the form you want to be notified but giving an invalid email is a good error scenario.

What I do is set my Return: Tracking Email to "[email protected]"
and set the checkbox to true

then when the form loads, i just delete the '' in front of the @

22 Apr 2008, 5:08 PM
#295
gunnerman avatar

gunnerman

New Zenner

Join Date:
Apr 2008
Posts:
2
Plugin Contributions:
0

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

Thanks guys. It is up and running now
Kevin

22 Apr 2008, 5:09 PM
#296
barco57 avatar

barco57

Totally Zenned

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

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

I found that using a letter for the weight instead of a number worked best for us, being we always change the weight anyway. That way I could leave the email alone.

23 Apr 2008, 9:37 PM
#297
mauryg avatar

mauryg

Zen Follower

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

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

Well just to add some fuel to the discussion I have been looking at the possibility of upgrading this mod to use XML APIs. That is when I learned how crazy the USPS restrictions are. We use the USPS shipping module like everyone else to get shipping quotes. We registered with USPS to do this and have an ID. If you want to use the DeliveryConfirmationLabel3.0 API you have to go back to them and request ADDITIONAL PERMISSION. Quick process but required. Be advised. I'll let you know if I have any success. If I can get the USPS one working it shouldn't be hard to include Fedex and UPS. Yeah, right! :lamo:

24 Apr 2008, 2:34 AM
#298
qhome avatar

qhome

Totally Zenned

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

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

mauryg:

Well just to add some fuel to the discussion I have been looking at the possibility of upgrading this mod to use XML APIs. That is when I learned how crazy the USPS restrictions are. We use the USPS shipping module like everyone else to get shipping quotes. We registered with USPS to do this and have an ID. If you want to use the DeliveryConfirmationLabel3.0 API you have to go back to them and request ADDITIONAL PERMISSION. Quick process but required. Be advised. I'll let you know if I have any success. If I can get the USPS one working it shouldn't be hard to include Fedex and UPS. Yeah, right! :lamo:

Sounds Great!

24 Apr 2008, 8:22 AM
#299
mauryg avatar

mauryg

Zen Follower

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

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

Utterly simple fix for the USPS form problem (no software hacks)...
Go to the Configuration menu for USPS Autofill.
Set Delivery: Default Shipping from Same ZipCode (Radio Button) to "other"
Set Delivery: Default Shipping from Other ZipCode (If Radio Button set to Other) to BLANK.

then when the form shows an error condition, just click the "Same as return address from above" radio button (or enter a proper zip code) and you are good to go. :clap:

25 Apr 2008, 5:50 PM
#300
jijizworld_com avatar

jijizworld_com

New Zenner

Join Date:
Apr 2007
Posts:
14
Plugin Contributions:
0

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

Great fix

Thanks