DMG Posted December 27, 2013 Share Posted December 27, 2013 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 More sharing options...
Dh42 Posted December 28, 2013 Share Posted December 28, 2013 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 Link to comment Share on other sites More sharing options...
DMG Posted December 30, 2013 Author Share Posted December 30, 2013 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 More sharing options...
Dh42 Posted December 30, 2013 Share Posted December 30, 2013 Can you link to your site or send me a pm with a link to your site? Link to comment Share on other sites More sharing options...
Dh42 Posted December 30, 2013 Share Posted December 30, 2013 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 More sharing options...
DMG Posted December 30, 2013 Author Share Posted December 30, 2013 (edited) 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 December 30, 2013 by DMG (see edit history) Link to comment Share on other sites More sharing options...
Dh42 Posted December 30, 2013 Share Posted December 30, 2013 Does it happen when you have the cache turned off? Also does it happen when your account is in test mode? Link to comment Share on other sites More sharing options...
Recommended Posts