Page 28 of 83 FirstFirst ... 1826272829303878 ... LastLast
Results 271 to 280 of 827
  1. #271
    Join Date
    Jul 2006
    Posts
    213
    Plugin Contributions
    0

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

    My USPS Autofill has stopped working. I just checked my install and I am using v1.3 for ZC 1.38.
    The ParseIt() function in the modules/usps_autofill_button.php line 122 reads:
    Code:
    function ParseIt() {
      //document.forms['labelInformationForm'].submit();
      document.getElementById('labelInformationForm').submit();
      //window.history.go(-1)
    }
    </script>
    <script src="https://sss-web.usps.com/cns/jscript/labelInformation.js"></script>
    
    <form target="_blank" method="post" action="https://sss-web.usps.com/cns/labelInformation.do" name="labelInformationForm" id="labelInformationForm">
    but https://sss-web.usps.com/cns/labelInformation.do is the "sign-on" page for USPS.
    The actual label info is on https://sss-web.usps.com/cns/labelSubmit.do if you just hit the "Go" button on the signon page or on https://sss-web.usps.com/cns/signinLanding.do if you sign in first. However changing to either of these two new URLs does NOT solve the problem and only brings you to the sign on page, even if you sign in first and then hit the Autofill button. Bummer .

  2. #272
    Join Date
    Feb 2004
    Posts
    1,774
    Plugin Contributions
    14

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

    Quote Originally Posted by mauryg View Post
    My USPS Autofill has stopped working. I just checked my install and I am using v1.3 for ZC 1.38.
    The ParseIt() function in the modules/usps_autofill_button.php line 122 reads:
    Code:
    function ParseIt() {
      //document.forms['labelInformationForm'].submit();
      document.getElementById('labelInformationForm').submit();
      //window.history.go(-1)
    }
    </script>
    <script src="https://sss-web.usps.com/cns/jscript/labelInformation.js"></script>
    
    <form target="_blank" method="post" action="https://sss-web.usps.com/cns/labelInformation.do" name="labelInformationForm" id="labelInformationForm">
    but https://sss-web.usps.com/cns/labelInformation.do is the "sign-on" page for USPS.
    The actual label info is on https://sss-web.usps.com/cns/labelSubmit.do if you just hit the "Go" button on the signon page or on https://sss-web.usps.com/cns/signinLanding.do if you sign in first. However changing to either of these two new URLs does NOT solve the problem and only brings you to the sign on page, even if you sign in first and then hit the Autofill button. Bummer .
    I know what you are saying. I was confused for a while with that too. Actually, lableinformation.do only redirects you to the sign on page if you aren't signed in or don't pass any valid parameters. If you look at the actual address entry page, the form "POST" site is

    Code:
    <form target="_blank" method="post" action="https://sss-web.usps.com/cns/labelInformation.do" name="labelInformationForm" id="labelInformationForm">
    and the name of the form that gets submitted is labelInformationForm

    The odd thing is that hasn't changed so I'm still under as to what they may have done on the back end. USPS Autofill was a hack, a pretty good hack.. but a hack all the same. The same goes with my attempts to get it to work with Paypal's USPS form and UPS... On paypal, using the same method... only the Name city and phone number fields would load. The Address, state and other stuff wouldn't. I could never figure out why, I just assumed they had some form autoclearing javascript that loaded on the page. But there may be other powers at work that override the hack. At least if it is browser based, it should be run at the client level, after all other page scripts have loaded.

    This should technically allow us to be able to make it work with multiple page steps. Then you could autofill the form, and auto-select the shipping method, etc. Should also be able to work with UPS and FedEx. THEORETICALLY
    Last edited by qhome; 20 Apr 2008 at 10:24 PM.

  3. #273
    Join Date
    Nov 2006
    Posts
    30
    Plugin Contributions
    0

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

    Well, :) the non-hacking, ultimate official way of doing this is through USPS Shipping Label API, as I researched:
    http://www.usps.com/webtools/shipping.htm
    Anybody tried this before?

    Quote Originally Posted by qhome View Post
    USPS Autofill was a hack, a pretty good hack.. but a hack all the same.

  4. #274
    Join Date
    Nov 2006
    Posts
    30
    Plugin Contributions
    0

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

    Looks like oscommerce already has this module using API: http://www.oscommerce.com/community/contributions,1498

    It's open source so perhaps somebody could migrate it to ZenCart.

  5. #275
    Join Date
    Nov 2006
    Posts
    30
    Plugin Contributions
    0

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

    Sorry my bad. I take this back. This does not use API. Lessons learned - never post before having a coffee at midnight!

    Quote Originally Posted by linksys View Post
    Looks like oscommerce already has this module using API: http://www.oscommerce.com/community/contributions,1498

    It's open source so perhaps somebody could migrate it to ZenCart.

  6. #276
    Join Date
    Aug 2007
    Location
    Cannon Beach, OR
    Posts
    180
    Plugin Contributions
    0

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

    Just a tidbit of data for qhome:

    I've been using Autofill just fine the last few days. Tonight, out of 3 labels, one of them gave me the error page. It went like this:

    I pressed the Autofill button and got the first USPS page OK, with names and addresses filled in correctly. But when I continued to the next page (that should let me select my service option), I got a blank page with "Error" in the upper left corner. I tried with this label twice.

    I then tried the next label in my list, and it worked normally. When I got to USPS "label cart", all of my labels were there, including 2 labels for the guy that generated the error page above. The labels were generated, but didn't have a service option, and I had to edit one of the labels to select Priority Mail. Otherwise it was fine.

    So, I'm mostly still able to use Autofill. Hoping this helps isolate the error.

  7. #277
    Join Date
    Feb 2004
    Posts
    1,774
    Plugin Contributions
    14

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

    Thanks for the update Kehril, I have still unfortunately not be able to get any labels sent successfully with the contrib.. tried diff browsers on diff pc's and tried clearing the cache.. but no luck.

    I have also been looking at the FF extensions idea. It looks like it might be possible to do, but I will learn more today when I have time to really spend on it.

  8. #278
    Join Date
    Aug 2007
    Location
    Cannon Beach, OR
    Posts
    180
    Plugin Contributions
    0

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

    That's funny that it's working for me (mostly), and not for you. I'm running ZenCart 1.3.7.1. You must be using 1.3.8.x. The problem may be findable in the difference between the two versions of your module.

    Anyway, good luck. Let me know if you need any testing done or the like.

  9. #279
    Join Date
    Feb 2004
    Posts
    1,774
    Plugin Contributions
    14

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

    I am also using 1.3.7.1. There are also no differences in the module file for usps autofill contrib. Only the admin/orders.php file.

  10. #280
    Join Date
    May 2006
    Posts
    51
    Plugin Contributions
    0

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

    Do we know if we will be able to get this working anytime soon? I have 53 lables to create today and ealize now how dependant I actually am on this module :)

    Hoping I do not have to go back to typing them all out

 

 
Page 28 of 83 FirstFirst ... 1826272829303878 ... LastLast

Similar Threads

  1. v139h Fill the total_weight table without having to click on the USPS click-in-Ship Mod
    By bradlawson25 in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 4 Dec 2013, 06:11 PM
  2. Replies: 1
    Last Post: 11 Jun 2010, 05:46 PM
  3. autoclick usps click-n-ship button missing?
    By fattyfat in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 24 Sep 2009, 02:52 AM
  4. usps.com Click-n-ship AutoFill stopped working?
    By EZorb in forum Addon Shipping Modules
    Replies: 1
    Last Post: 12 Jul 2009, 09:38 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg