thecodingmonkey Posted June 12, 2004 Share Posted June 12, 2004 The credit card processing company I am using only excepts two digits of the last year while on the other hand oscommerce send all four so my credit card processing company only see 20 instead of 2004 does anyone know anyway around this. Link to comment Share on other sites More sharing options...
Paycheck Posted June 12, 2004 Share Posted June 12, 2004 Not really sure how to get this to 2 digits but I am pretty sure the page to look into is catalog/includes/classes/cc_validation.php Look int here first. JM Always remember, we need patience, guidance and most of all understanding. My Contributions Link to comment Share on other sites More sharing options...
kagg Posted June 12, 2004 Share Posted June 12, 2004 Find the following line in your payment module file: $this->cc_expiry_year = $cc_validation->cc_expiry_year; Add the following line after above: $this->cc_expiry_year = substr($this->cc_expiry_year, -2) Hope it helps! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.