Letter != number. Seriously?




  • Company somehow screws up the dropdown for their credit card expiration date to include the LETTER O INSTEAD OF THE NUMERAL ZERO for September.

    You can guess what month one of my cards expires in--the server-side validation failed and I had to use another card (though I do realize I could have edited the selection with Firebug or the Web developer toolbar).

    Making it so 1/12th of your customers can't make a purchase from your website: priceless.

    (It's also awesome that you can still enter cards from 2003. At least we know the site has been in this state for the last four years...)
     



  • :-D

    It also means, that the numbers are hand-generated. A computer generation via a script would not only be easier but also correct ;-) 

    Have you told the website owner?  I would like to see his reaction^^

     



  • @rotalever said:

    :-D

    It also means, that the numbers are hand-generated by a moron. A computer generation via a script would not only be easier but also correct ;-) 

    Have you told the website owner?  I would like to see his reaction^^

     

    Fixed that for you. 



  • This sort of thing makes me think that somewhere they did a parseInt("09") and ended up with zero. So to fix this some clever person decided to change the 0 to an O, which at least generates a NaN exception :)

    It's likely more mundane than that with some developer using a code or web snippet containing the original developer. It might be interesting to do a Google code search for <option value="O9">09</option>



  • Or perhaps the original code just had an irrational, passionate hatred of the month of september. If so, this is the lamest act of rebellion against a unit of time ever.



  • You're all wrong. He's obviously well-studied in <A href="http://www.web-hits.org/txt/codingunmaintainable.html">baffling maintenance programmers</a>. Nothing wrong with a little job security...



  • Oh for frig's sake. I keep forgetting the forum software blows.

    For the copy/paste-averse: http://www.web-hits.org/txt/codingunmaintainable.html
     



  • @sootzoo said:

    Oh for frig's sake. I keep forgetting the forum software blows.

    Hint: noscript



  • @rbowes said:

    @sootzoo said:

    Oh for frig's sake. I keep forgetting the forum software blows.

    Hint: noscript

    That just makes it suck instead.
     



  • @asuffield said:

    @rbowes said:
    @sootzoo said:

    Oh for frig's sake. I keep forgetting the forum software blows.

    Hint: noscript

    That just makes it suck instead.
     

    I disagree, you get a raw HTML editor, which I quite like.



  • Not zero, but a message saying "09" is an illegal octal... mind you, 08 should be as well...-



  • @rbowes said:

    @asuffield said:
    @rbowes said:
    @sootzoo said:

    Oh for frig's sake. I keep forgetting the forum software blows.

    Hint: noscript

    That just makes it suck instead.
     

    I disagree, you get a raw HTML editor, which I quite like.

    Unfortunately it's not all that raw. The wretched thing mangles the HTML after you're done with it. I forget the details. 



  • @asuffield said:

    @rbowes said:
    @asuffield said:
    @rbowes said:
    @sootzoo said:

    Oh for frig's sake. I keep forgetting the forum software blows.

    Hint: noscript

    That just makes it suck instead.
     

    I disagree, you get a raw HTML editor, which I quite like.

    Unfortunately it's not all that raw. The wretched thing mangles the HTML after you're done with it. I forget the details. 

    I haven't had a problem with using the plain text mode of the editor (go to your profile there is a setting for that somewhere), also I have no scropt disabled and have yet to have any problems with mangled HTML. And if you use "It's All Text" for Firefox you can edit your posts in your favorite HTML editor.


  • I don't know how crap !FFX browsers are, but since this forum uses TinyMCE, it works just fine.

    Select some text, click a button, paste the link and bam

    And another one

    Images: exactly the same.

    What is the problem?

    (a problem is in th fact that if I manually add user="flurp" to a quote tag, it'll complain about malformed quotes, so that's something of an issue.)



  • @ammoQ said:

    @rotalever said:

    :-D

    It also means, that the numbers are hand-generated by a moron. A computer generation via a script would not only be easier but also correct ;-) 

    Have you told the website owner?  I would like to see his reaction^^

     

    Fixed that for you. 

    Look down at your keyboard. Notice the relative positions of the 0 and the O key. It's a very easy typo, and unless you code in a font with a slashed 0, rather difficult to spot. At least

    l is nowhere near 1

    .



  • ThinkGeek's (yeah, yeah, I just bought an 8-bit tie. I couldn't help myself) CC order thinger has CC expiry dates up to 2057.

    Where can I get a card that expires in 2057? That would rock!
     



  • @m0ffx said:

    Look down at your keyboard. Notice the relative positions of the 0 and the O key. It's a very easy typo, and unless you code in a font with a slashed 0, rather difficult to spot. At least

    l is nowhere near 1

    .

    Lowercase o doesn't look like 0. And how could you type o9 without noticing? Most people would type oi instead (given the relative positions of 0 and 9).



  • @m0ffx said:

    Look down at your keyboard. Notice the relative positions of the 0 and the O key. It's a very easy typo, and unless you code in a font with a slashed 0, rather difficult to spot. At least

    l is nowhere near 1

    Do you find it easy to reach the O key with your pinky or to reach the 0 key with your ring finger?


Log in to reply
 

Looks like your connection to What the Daily WTF? was lost, please wait while we try to reconnect.