Live data from Hacker News

Ziptastic: Isn't a zipcode enough?

daspecster.github.com

31–40 of 113 posts

Re: Ziptastic: Isn't a zipcode enough?

#31

Earlier quoted context omitted.

I was just about to say the same thing. I also noticed it doesn't ask you for the name on card. I'd suggest using PayPal or Google Checkout with the whole trust issue.

Really bad. Use PayPal for donations.

No don't, unless you're a real charitable organization. Would be better to offer a premium tier.

Re: Ziptastic: Isn't a zipcode enough?

#34

I love APIs. One recommendation though would be to change the server response slightly for the API call. In Chrome, it had me download a file instead of showing the response in the browser. I think it might be because the response has a Content-Type "text/json" instead of "application/json". http://stackoverflow.com/questions/477816/the-right-json-con...

Thanks! Change made. https://github.com/daspecster/ziptastic/commit/de2cf83274b81...

Re: Ziptastic: Isn't a zipcode enough?

#35

My big pet peeve is when they ask you what type of credit card you're using, when that is easily determined by the first four digits of the CC number. Thankfully, more and more web sites are figuring this out.

Even less than that -- if the card # starts with "4", it's Visa; 36|37 is Amex; 5[1-5] is MC and so forth.

Totally with you, why do I have to choose from a dropdown -- you already have my number!

Re: Ziptastic: Isn't a zipcode enough?

#36
post #28
post #20

Earlier quoted context omitted.

For example: 94062 can be either Woodside or Redwood City or Emerald Hills.

Yup, here the USPS response to 94062 https://tools.usps.com/go/ZipLookupResultsAction!input.actio...

Note that it says "the actual city in 94062 is REDWOOD CITY." The others are merely "acceptable." For mailing purposes, at least, I understand this to mean that the USPS would prefer you to address mail items to Redwood City, regardless of what administrative entity the recipient is in (e.g. Woodside).

Of course, if you're using the information from this API for purposes other than mailing, such as providing an address for verification along with credit card processing, I suppose your processor won't like seeing Redwood City if the cardholder has Woodside on file.

Re: Ziptastic: Isn't a zipcode enough?

#37

If you're going to do this, do the whole enchilada: zip code + person's name ought to give you their whole address for 99% of the population (hint: voter records). Well, 95%, considering such records are often out of date. The problem is this will likely spook many people - "how does this website know my street address?"

Besides spooking people out, they may not be using their residential address in the case of a shipping address and at times billing addresses. We regularly have a customers shipping address be their office and (surprisingly) it's not uncommon to see P.O. Boxes for billing addresses.

Re: Ziptastic: Isn't a zipcode enough?

#38

I just love it when people create projects to solve problems that have already been solved before. 5 minutes of web searching would have told you: * The USPS already has this information * ZIP codes are not precise enough to provide a single city/town result (in fact, many web sites already get this wrong). * ZIP+4 codes will give you block-level detail, but I doubt more than a few percent of people know what their +…

The USPS already has this information

The USPS does have this information, but when I checked a year or two ago, you either have to (1) agree to use the information only for purposes of mailing packages, per their TOS; or (2) pay them, e.g. something like $500 for a list of all five digit ZIP codes plus associated cities and states (the "City State File").

Corrections very welcome!

Edit to add: As philfreo asked, I'm also very interested in knowing where the data in zipcodes.db comes from.

Post reply on HN