Look at http://en.wikipedia.org/wiki/Luhn_algorithm.
It's a good screen against flat-out invalid numbers. After that, it's between you and your credit card payment acceptor. On Feb 3, 2009, at 12:47 AM, Cyrus Dev wrote: > > Hello Everyone > > any one know how to validate credit card information in rails ? > > please help me > > thanks in advance > -- > Posted via http://www.ruby-forum.com/. > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---