webguy5 Posted October 22, 2012 Share Posted October 22, 2012 (edited) When I attempt to utilize the AIM module to pay for an item at my customer's shop, I receive the following error: An unrecoverable error occurred: Missing parameter I know this means that the validation.php file is not pulling an invoice number, but I have enabled invoices, and ensured that the invoice number was being generated with a number. I contacted Authorize.net to make sure my ID and key were correct (they are). I have uninstalled and reinstalled the module. I found a ticket here with this same issue, but those solutions have not helped my case any. I am at the end of my rope here. I inherited this customer in a buyout, and have not used prestashop very much, I usually just write the code myself. using module v1.4.3, prestashop v1.4.7.3 Edited October 22, 2012 by webguy5 (see edit history) Link to comment Share on other sites More sharing options...
webguy5 Posted October 24, 2012 Author Share Posted October 24, 2012 I worked with authorize.net people and they informed me they have no error messages, so the problem is with my site. I also checked my error messages on my customer's logs and found 2 messages from AIM about missing invoice numbers and conflict between cart id order and customer order Link to comment Share on other sites More sharing options...
Dh42 Posted October 25, 2012 Share Posted October 25, 2012 Depending on what version of the auth.net module you are using, you can comment out the invoice check in the validation.php file. Link to comment Share on other sites More sharing options...
webguy5 Posted October 26, 2012 Author Share Posted October 26, 2012 I commented out everything having to do with invoice # requests and now it works fine. Thanks for your help! Link to comment Share on other sites More sharing options...
Dh42 Posted October 26, 2012 Share Posted October 26, 2012 Word up, I am glad you could get it going. Link to comment Share on other sites More sharing options...
aee156 Posted April 26, 2013 Share Posted April 26, 2013 Hello I also am using prestashop 1.4.7 and have the same Authnet Issue. I commented out some stuff but it still doesnt work I am not sure I am commenting out the right stuff. Here is what I did // if (!isset($_POST['x_invoice_num'])) { // Logger::addLog('Missing x_invoice_num', 4); // die('An unrecoverable error occured: Missing 1st invoice parameter'); } if (!Validate::isLoadedObject($cart)) { // Logger::addLog('Cart loading failed for cart '.(int)$_POST['x_invoice_num'], 4); // die('An unrecoverable error occured with the cart '.(int)$_POST['x_invoice_num']); } if ($cart->id != $_POST['x_invoice_num']) { Logger::addLog('Conflit between cart id order and customer cart id'); // die('An unrecoverable conflict error occured with the cart '.(int)$_POST['x_invoice_num']); } I then get more errors. Is this what I am supposed to comment out? Can you be more specific of what exactly to comment out? Link to comment Share on other sites More sharing options...
aee156 Posted May 1, 2013 Share Posted May 1, 2013 Hello?? Is anyone seeing my post here? Please respond. Link to comment Share on other sites More sharing options...
Recommended Posts