d0153 Posted November 27, 2013 Share Posted November 27, 2013 Hi , i'm having a problem on my orders... sometimes orders in the back office has no status (Payment accepted, etc.)... and these orders that has no status was being passed correctly to Authorize.net and it's being settled or charged successfully. so i tried testing it further, i tried to make an order without adding a comment/message during checkout and it was successful . the order was marked Payment Accepted, email notification received etc. all works fine i tried buying the same product but this time i added a comment/message on my order during the checkout process... enter the necessary details for my payment and when i submit it i get blank page.order was added on the back office BUT NO ORDER STATUS... no email notification that was an order was placed and no order confirmation for the customer that he ordered something... the transaction was also recorded in the Authorize.net dashboard. so in short there's something wrong in adding a comment on the order... so i tried to browse the Authorize.net module folder through FTP and i found an error_log and it matches the date and time of the orders that has no ORDER STATUS.. the error is as follows: 24-Nov-2013 21:05:26 America/La_Paz] PHP Fatal error: Uncaught exception 'PrestaShopException' with message 'Property CustomerThread->name is empty' in /home/-----/public_html/classes/ObjectModel.php:837Stack trace:#0 /home/-----/public_html/classes/ObjectModel.php(265): ObjectModelCore->validateFields()#1 /home/-----/public_html/classes/ObjectModel.php(465): ObjectModelCore->getFields()#2 /home/-----/public_html/classes/PaymentModule.php(505): ObjectModelCore->add()#3 /home/-----/public_html/modules/authorizeaim/validation.php(127): PaymentModuleCore->validateOrder(280, '2', 220, 'Authorize.net A...', 'This transactio...', NULL, NULL, false, '9f590dc1d2b1264...')#4 {main} thrown in /home/-----/public_html/classes/ObjectModel.php on line 837 can anyone help me on this please. Thanks. Link to comment Share on other sites More sharing options...
d0153 Posted November 29, 2013 Author Share Posted November 29, 2013 anyone can help me? or someone who experience the same issue? Link to comment Share on other sites More sharing options...
J.Sahu Posted December 18, 2013 Share Posted December 18, 2013 have you solved your problem ? Link to comment Share on other sites More sharing options...
d0153 Posted December 18, 2013 Author Share Posted December 18, 2013 i still haven't solved it... i just hide the comment field during checkout to avoid it. Link to comment Share on other sites More sharing options...
J.Sahu Posted December 18, 2013 Share Posted December 18, 2013 Well I have solved it by changing the encoder.php file inside tools/swift/swift/message/encoder.php. I replaced the file with my working websites file. If you want it then I can give it to you and you can have a try. Link to comment Share on other sites More sharing options...
d0153 Posted December 18, 2013 Author Share Posted December 18, 2013 yes please.. it will be helpful.. can you attached it on this thread? Link to comment Share on other sites More sharing options...
J.Sahu Posted December 19, 2013 Share Posted December 19, 2013 This is the "Encoder.php" file. Replace the encoder.php in /tools/swift/Swift/Message This is the original file I've not modified it but it works for me. Encoder.php 1 1 Link to comment Share on other sites More sharing options...
mamolx Posted February 8, 2014 Share Posted February 8, 2014 Somebody solved the problem ? 1 Link to comment Share on other sites More sharing options...
prestatent Posted February 4, 2015 Share Posted February 4, 2015 Prestashop 1.6.0.8 Did this problem ever get resolved in the version I'm using. This is still happening and as the original poster says, the problem seems to be in the whether or not a message is added to the order. Does anyone know where these messages are stored in the database? Thanks for any help. Link to comment Share on other sites More sharing options...
prestatent Posted February 4, 2015 Share Posted February 4, 2015 (edited) Update So effectively, as the original poster says, and I agree with, the problem is that if a customer inputs a message on the order at checkout, the error occurs although the payment is successful. The payment status is not updated and hence the order email is not sent to the customer and administrator of the site. Looking at the data on the ps_message database table, the messages with issues agree with the problems we've had and also the "private" column on this table is set to zero which is also common to all these messages. I think this is a bug with the core Prestashop software and should probably be fixed. I'll try to identify where this initial problem is occurring and try and fix. Edited February 4, 2015 by prestatent (see edit history) 1 Link to comment Share on other sites More sharing options...
vekia Posted February 4, 2015 Share Posted February 4, 2015 you've got this issue with each payment method or only to certain of them? Link to comment Share on other sites More sharing options...
Luc1979 Posted March 10, 2015 Share Posted March 10, 2015 Update So effectively, as the original poster says, and I agree with, the problem is that if a customer inputs a message on the order at checkout, the error occurs although the payment is successful. The payment status is not updated and hence the order email is not sent to the customer and administrator of the site. Looking at the data on the ps_message database table, the messages with issues agree with the problems we've had and also the "private" column on this table is set to zero which is also common to all these messages. I think this is a bug with the core Prestashop software and should probably be fixed. I'll try to identify where this initial problem is occurring and try and fix. Hi I have this problem, no matter what payment method I chose. How can it be solved??? Thank you! 1 Link to comment Share on other sites More sharing options...
Recommended Posts