thecodingmonkey Posted June 11, 2004 Share Posted June 11, 2004 I am having problem my customers when they try to purchase are getting rejected beacuse their credit card expiration is wrong, when I check why i Notice my credit card processing company is only excepting the first two digits 20 instead of 2004 When I go into my credt card script I see that the rop down is defined like this $expires_year[] = array('id' => strftime('%y',mktime(0,0,0,1,1,$i)), 'text' => strftime('%Y',mktime(0,0,0,1,1,$i))); but if I change it to this $expires_year[] = array('id' => strftime('%y',mktime(0,0,0,1,1,$i)), 'text' => strftime('%y',mktime(0,0,0,1,1,$i))); so that year read like this 04 05 06 Instead of like this 2004 2005 2006 it is still sending the 20 to my credit card processor Why is this, and how can I fix it Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.