Hello,
I have latest Joomla 3 VM 3.0.6 Using Authorize.net payment processor.
I have a customer who has a credit card that expires 2023 and there is no option to choose. I believe it only goes to 2022. Is there a way to change this? I haven't upgraded to VM 3.0.8 yet if that has been changed in that version?
Thank you.
in plugins\vmpayment\authorizenet\authorizenet.php
line 229
$html .= shopfunctions::listYears('cc_expire_year_' . $this->_currentMethod->virtuemart_paymentmethod_id, $this->_cc_expire_year, NULL, 2022, " onchange=\"javascript:changeDate(" . $this->_currentMethod->virtuemart_paymentmethod_id . ", this);\" ");
change to what u need the last year as
same in 3.0.8
Works thank you!
Hello
Actually the correct answer is this one
in plugins\vmpayment\authorizenet\authorizenet.php
line 229
change the line with
$html .= shopfunctions::listYears('cc_expire_year_' . $this->_currentMethod->virtuemart_paymentmethod_id, $this->_cc_expire_year, NULL, null, " onchange=\"javascript:changeDate(" . $this->_currentMethod->virtuemart_paymentmethod_id . ", this);\" ");
it willl automatically set the end date to this year +11
i am fixing the code, so you can update VM with n problem.
Quote from: alatak on May 18, 2015, 12:16:16 PM
Hello
Actually the correct answer is this one
in plugins\vmpayment\authorizenet\authorizenet.php
line 229
change the line with
$html .= shopfunctions::listYears('cc_expire_year_' . $this->_currentMethod->virtuemart_paymentmethod_id, $this->_cc_expire_year, NULL, null, " onchange=\"javascript:changeDate(" . $this->_currentMethod->virtuemart_paymentmethod_id . ", this);\" ");
it willl automatically set the end date to this year +11
i am fixing the code, so you can update VM with n problem.
This method would not work for me. I'm on VM 3.2.14. The expiration date only goes to 2022.