Results 1 to 8 of 8
  1. #1
    Join Date
    Mar 2011
    Posts
    39
    Plugin Contributions
    0

    Default Zip Code Error Check?

    New to Zen Cart. Just got my site up and running.

    Here's some background:

    Zen Cart v 1.3.8a fresh install
    PHP Version 4.4.9
    I have the USPS patch from Jan '11 installed
    Website hosted by GoDaddy
    Using Authorize.net as my credit card gateway

    I've tested the cart using several shipping addresses while in live mode, including international addresses, all worked as expected, then voided the transaction in Authorize.net. So I'm fairly confident the cart should work.


    Had a customer call today saying he got both these error messages when trying to check out (It would have been my first sale through Zen Cart):

    "We are unable to find a USPS shipping quote suitable for your mailing address"

    and

    "We are unable to find a UPS shipping quote suitable for your mailing address"


    I did some sleuthing in the customer files and discovered the customer only entered four digits in the zip code field when he registered. I'm guessing this is what returned the message about unable to find a shipping quote for both UPS and USPS shipping methods.

    Shouldn't there be an error check routine to check for a minimum of five digits in U.S. zip codes? And then a prompt to the customer to enter a valid zip code? Or possibly there is a patch I can apply to my two year old version of Zen Cart?

    I searched the FAQs but didn't see anything regarding this problem.

    --Alan
    Last edited by powrwrap; 31 Mar 2011 at 11:45 PM.

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Zip Code Error Check?

    You should really be using the current version of Zen Cart v1.3.9h from our Home page and not such an old, buggy and insecure version as v1.3.8 ...

    Meanwhile, you have an old version of the USPS shipping module and need to get the current USPS January 2, 2011 C shipping module and follow the instructions on post #26 from:
    http://www.zen-cart.com/forum/showth...S+January+2011
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    Mar 2011
    Posts
    39
    Plugin Contributions
    0

    Default Re: Zip Code Error Check?

    Quote Originally Posted by Ajeh View Post
    You should really be using the current version of Zen Cart v1.3.9h from our Home page and not such an old, buggy and insecure version as v1.3.8 ...

    Meanwhile, you have an old version of the USPS shipping module and need to get the current USPS January 2, 2011 C shipping module and follow the instructions on post #26 from:
    http://www.zen-cart.com/forum/showth...S+January+2011
    Yeah, looks like I've got an upgrade project to work on this weekend. I did install the Jan '11 USPS module after I discovered in testing that International shipping quotes would not display.

    Is there a digit error check for zip codes in v1.39h?

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Zip Code Error Check?

    The size is compared to the Minimum Values that you have set ...

    Unfortunately, some countries use 4 digit so the default is set to 4 ...

    To customize this further, you would need to customize the code ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  5. #5
    Join Date
    Mar 2011
    Posts
    39
    Plugin Contributions
    0

    Default Re: Zip Code Error Check?

    Quote Originally Posted by Ajeh View Post
    The size is compared to the Minimum Values that you have set ...

    Unfortunately, some countries use 4 digit so the default is set to 4 ...

    To customize this further, you would need to customize the code ...
    OK, I see that in Minimum Values, Post Code = 4.
    If I change that to Post Code = 5 and the customer only enters four digits, will they get an error message prompting them to enter 5 digits?

    As long as I have your attention, if you happen to know, what countries have only four digits in the postal code?
    Last edited by powrwrap; 1 Apr 2011 at 12:07 AM. Reason: clarity

  6. #6
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Zip Code Error Check?

    I forget on the 4 digit countries but that is why there is Google ...

    If you change it to 5 then the minimum is 5 ... and if you put in too few you get a warning ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  7. #7
    Join Date
    Mar 2011
    Posts
    39
    Plugin Contributions
    0

    Default Re: Zip Code Error Check?

    Quote Originally Posted by Ajeh View Post
    I forget on the 4 digit countries but that is why there is Google ...
    You're a walking encyclopedia, it was worth a shot.


    If you change it to 5 then the minimum is 5 ... and if you put in too few you get a warning ...
    Excellent. Done.

  8. #8
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Zip Code Error Check?

    You might hunt through here:
    en.wikipedia.org/wiki/List_of_postal_codes

    Australia is one of them ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

 

 

Similar Threads

  1. Replies: 2
    Last Post: 21 Oct 2012, 09:56 PM
  2. Check new users for zip code
    By jmacdoug in forum General Questions
    Replies: 2
    Last Post: 29 Jul 2011, 07:02 AM
  3. Please check that your Zip Code is entered correctly...
    By ksolito in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 17 Nov 2009, 12:18 AM
  4. Help need to set up per zip code shipping module with 5 zip code areas flat fee
    By cshart in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 11 Feb 2009, 06:31 AM
  5. Zip Code Error
    By angientx in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 20 Sep 2007, 11:34 PM

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