Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Credit Expiry Date update


Recommended Posts

  • 2 months later...
We have a customer with a credit card year that expires in 2017. Currently, our lookup for Expiry Date goes till 2016. How do we update the year for the credit card expiration dates? Is it done in the database or in a PHP fuile somewhere?



Hi all - for the record, I just encountered this - a customer with a card with expiration of 2017. We are using authorize.net AIM payment module - the dropdown for year went out only 10 years. I changed that to 11.


I changed:




for ($i=$today['year']; $i < $today['year']+10; $i++) {




for ($i=$today['year']; $i < $today['year']+11; $i++) {


and voila.


seemed to do the trick.


Hope this helps someone,





Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...