AFemaleProdigy Posted February 17, 2013 Share Posted February 17, 2013 How can I add additional years to the credit card expiration date in the Authorize.net module? I have a customer that cannot pay because the years do not go far enough. Link to comment Share on other sites More sharing options...
bellini13 Posted February 17, 2013 Share Posted February 17, 2013 you don't say what version of Prestashop you are using, or which version of the module for that matter, so these instructions may not be exact. You have to edit the authorizeaim.tpl file and search for the following code section. <select name="x_exp_date_y">{section name=date_y start=11 loop=20} <option value="{$smarty.section.date_y.index}">20{$smarty.section.date_y.index}</option>{/section} </select> You could probably change start=11 to start=13. That means the first year would be 2013. Then change the loop=20 to something higher, like loop=25 for 2025 or whatever year you need. Link to comment Share on other sites More sharing options...
AFemaleProdigy Posted February 17, 2013 Author Share Posted February 17, 2013 Fantastic! Found it! Thank you very much! And it was for 1.4.7.3 Link to comment Share on other sites More sharing options...
slswallow Posted January 10, 2014 Share Posted January 10, 2014 How do I get to the tpl file? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now