Jump to content

AuthorizeAIM not accepting any expiration date


Recommended Posts

I am currently running a shop with the AuthorizeAIM module to take in credit card information and I have run into a problem with it accepting card expiration dates.

Any time the form is submitted I get the error "Error detail from AuthorizeAIM : "Credit card expiration date is invalid."" back from it.

Has anyone else been seeing anything similar and have a possible fix for this?

Link to comment
Share on other sites

There is a bug in the module, I do not know if it is fixed in the production version yet. here is the git that you should use to replace the file. https://github.com/PrestaShop/PrestaShop-modules/blob/master/authorizeaim/authorizeaim.tpl

I went ahead and swapped my authorizeaim.tpl for the code you have there, but it is still giving me the exact same error. Any ideas of what else this could be?

Link to comment
Share on other sites

Thanks for the pm. You either need to clear the sites cache, or you did not apply the fix in the git I linked you to. Check line 80 of your authorizeaim.tpl against the git I posted above, that is where the error is. 

Link to comment
Share on other sites

Thanks for the pm. You either need to clear the sites cache, or you did not apply the fix in the git I linked you to. Check line 80 of your authorizeaim.tpl against the git I posted above, that is where the error is. 

Clearing the cache under performance->smarty did the trick for that. And the module is now technically working, as in orders do go through and cards are authorized.

 

But now when an order is accepted, the checkout page is returned with an error, but the error says Transaction Approved. How do I get this to instead forward to a standard order confirmation page, saying something like "Thanks for ordering"? I am sure this is something easy to correct, I just don't know where to look for it.

Edited by DMG (see edit history)
Link to comment
Share on other sites

×
×
  • Create New...