Jump to content

how to add more years to the expiration year for the credit cards in the authorizenet module


NVaporize

Recommended Posts

You should be able to go into the module directory and look for the template for it, it ends in .tpl from there you can add more dates. Have you not updated your module in a while? An update should fix that and also provide a security patch for the module too.

Link to comment
Share on other sites

i tried editing the following code but knowing happened after i uploaded it. Trying to get to at least 2023. it only shows up to 2019 either way.

 

ORIGINAL CODE

<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}
 
Edited Code:
<select name="x_exp_date_y">{section name=date_y start=11 loop=23}
 
<option value="{$smarty.section.date_y.index}">20{$smarty.section.date_y.index}</option>{/section}
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...