Welcome to WebmasterWorld Guest from 18.104.22.168
Forum Moderators: buckworks
I'm using a basic list of years (2006, 2007, etc.) for a credit card expiration select list. It's been so long since I've had a credit card that I don't remember exactly how long they're valid from the date of issuance. I think 3 years, but I'm not sure.
The site I'm building this for accepts Visa, MC, AMEX and JCB - years of expiration are probably different for one or more of these cards.
Can anyone give me a heads up on which of these four cards has the longest "active" lifespan? Like if JBC is good for 5 years (for example) then I'll build out this list 2006, 2007 ... 2010.
Thanks to all in advance.
Generally, unless you're a really big, heavily insured corporate, you should be looking at credit card payment processors who handle all the credit card transactions on your behalf
If you want to handle credit card payments yourself, you would also have to qualify for the security and other operational and trust certifications all the credit cards you've mentioned require
The other option, is not let them enter the information and then your change it if necessary
>>why are you building a site to hold credit card details<<
I'm validating the essential information (cc number, cc exp date) before sending it on to the CC payment gateway.
joined:Dec 10, 2005
Using your system date and dynamically adding for the max year means you don't have to go update your code manually every few years.
joined:July 14, 2005
[edited by: OvertureUser at 9:42 pm (utc) on Oct. 4, 2006]