Jump to content

[Solved] Authorize.net update and payment error


Recommended Posts

Hello, I'm on PS 1.5. I am using authorize.net payment module. Every time I process a card it says "Credit card expiration date is invalid" (In every mode test and live, test credit card and original credit card). When I look at the code there is some value for the years which are like 0,1,2,3.... when I changed the values and tested it worked. I removed a the module and installed again by downloading from the add-on store. Now the version is 1.4 and it says to update but when I update In gets updated to the same version. I switched to developer mode, tried to update and got this error.

Notice: Undefined variable: params in /mywebsite.com/html/controllers/admin/AdminModulesController.php on line 771

Warning: Cannot modify header information - headers already sent by (output started at /mywebsite.com/html/controllers/admin/AdminModulesController.php:771) in /mywebsite.com/html/classes/Tools.php on line 141 

Please someone give some suggestion on this.

 

Edited by J.Sahu (see edit history)
Link to comment
Share on other sites

I solved my problem. If anyone getting the same problem can try this.

 

What I did :

# Uninstalled the old module and completely deleted that.

# After deleting, searched in the payment section and found another module with name authorize.net (sim).

# Installed that module

# Now I got the latest version of the authorize.net module but that also didn't work

# Changed the value in authorizeaim.tpl

<option value="{$smarty.section.date_y.index}">{'Y'|date + $smarty.section.date_y.index}</option>{/section}

  to

<option value="{'y'|date + $smarty.section.date_y.index}">{'Y'|date + $smarty.section.date_y.index}</option>{/section}

I saw that when I was trying to make a transaction then the year value was coming like 0,1,2.... but it should be like 13,14,15....

 

I don't know whether it's my server not taking the value but after changing the value it worked.

  • Like 1
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...