ellenb4t Posted January 11, 2022 Share Posted January 11, 2022 Hello, I use product configuration to create a product and have Cash on delivery as the only payment method, plus you need a special account to be able to actually 'pay' the configured product. This morning I had an instant problem with my shop. First I created a customized bike, saved it in the shopping cart and continued the payment process. I noticed again the button 'place the order' was greyed out and the mouse turned into a round 'forbidden' circle, but I could still click on it apparently and the payment was succesfull. This button has been behaving like this for a couple of weeks now, but I was always able to proceed with the order. This morning, Five minutes later I tried again, I needed to configure another bike for the customer. I tried another configuration, same greyed out button but then there is no succesfull payment page, but a blank page with 'irrecoverable error". Payment wasn't succesfull and no order was placed. Of course I tried again with another bike, but same error over and over again. I haven't run any updates in between those two bikes and until this morning with the second bike, I did not have an issue with the payment.You have to log in to be able to actually make a payment (don't worry, no actual payment has to be made), so if someone wants to see what happens, I can send you login information to try for yourself. https://avaghon.nl/configurator/ Prestashop 1.7.8.0 PHP 7.4.27 I have uninstalled and reinstalled the Cash on delivery addon, no changes. If you need more info, please let me know. Thank you for helping me. Ellen Link to comment Share on other sites More sharing options...
ellenb4t Posted January 11, 2022 Author Share Posted January 11, 2022 I have turned on debug mode and this is what I get: Onherstelbare fout at line 1182 in file classes/Tools.php 1177. ->getTranslator() 1178. ->trans('Fatal error', [], 'Admin.Notifications.Error'); 1179. } 1180. 1181. if (_PS_MODE_DEV_) { 1182. throw new PrestaShopException($errorMessage); 1183. } 1184. 1185. return $errorMessage; 1186. } 1187. ToolsCore::displayError - [line 1530 - classes/Cart.php] CartCore->updateQty - [line 703 - modules/idxrcustomproduct/idxrcustomproduct.php] - [3 Arguments] IdxrCustomProduct->adjustStock - [line 32 - override/classes/PaymentModule.php] - [1 Arguments] PaymentModule->validateOrder - [line 57 - modules/ps_cashondelivery/controllers/front/validation.php] - [9 Arguments] Ps_CashondeliveryValidationModuleFrontController->postProcess - [line 295 - classes/controller/Controller.php] ControllerCore->run - [line 518 - classes/Dispatcher.php] DispatcherCore->dispatch - [line 28 - index.php] I don't have a clue what this means, but maybe someone does... Link to comment Share on other sites More sharing options...
ellenb4t Posted January 12, 2022 Author Share Posted January 12, 2022 Anybody? Or is this in the wrong topic? As a test I turned off Cash on Delivery and turned on Bank Transfer, unfortunately same issue. So, I guess it has nothing to do with the Cash on Delivery module. How can this just occur between two orders? The hosting provider says nothing has changed or updated either.. can someone help? Thank you, Ellen Link to comment Share on other sites More sharing options...
ellenb4t Posted January 12, 2022 Author Share Posted January 12, 2022 The whole error code: Onherstelbare fout at line 1182 in file classes/Tools.php 1177. ->getTranslator() 1178. ->trans('Fatal error', [], 'Admin.Notifications.Error'); 1179. } 1180. 1181. if (_PS_MODE_DEV_) { 1182. throw new PrestaShopException($errorMessage); 1183. } 1184. 1185. return $errorMessage; 1186. } 1187. ToolsCore::displayError - [line 1530 - classes/Cart.php] 1525. } else { 1526. $minimal_quantity = (int) $product->minimal_quantity; 1527. } 1528. 1529. if (!Validate::isLoadedObject($product)) { 1530. die(Tools::displayError()); 1531. } 1532. 1533. if (isset(self::$_nbProducts[$this->id])) { 1534. unset(self::$_nbProducts[$this->id]); 1535. } CartCore->updateQty - [line 703 - modules/idxrcustomproduct/idxrcustomproduct.php] - [3 Arguments] Argument [0] 1 Argument [1] 14 Argument [2] 0 IdxrCustomProduct->adjustStock - [line 32 - override/classes/PaymentModule.php] - [1 Arguments] Argument [0] 737 PaymentModule->validateOrder - [line 63 - modules/ps_wirepayment/controllers/front/validation.php] - [9 Arguments] Argument [0] 737 Argument [1] 10 Argument [2] 8739 Argument [3] Bankoverschrijving Argument [4] Argument [5] Array ( [{bankwire_owner}] => Bike4travel [{bankwire_details}] => NL65INGB0009641329 [{bankwire_address}] => Rotterdam ) Argument [6] 1 Argument [7] Argument [8] eb73f49dd63385291c91edddcd83294a Ps_WirepaymentValidationModuleFrontController->postProcess - [line 295 - classes/controller/Controller.php] 290. if (!$this->content_only && ($this->display_header || (isset($this->className) && $this->className))) { 291. $this->setMedia(); 292. } 293. 294. // postProcess handles ajaxProcess 295. $this->postProcess(); 296. 297. if (!empty($this->redirect_after)) { 298. $this->redirect(); 299. } 300. ControllerCore->run - [line 518 - classes/Dispatcher.php] 513. if (isset($params_hook_action_dispatcher)) { 514. Hook::exec('actionDispatcher', $params_hook_action_dispatcher); 515. } 516. 517. // Running controller 518. $controller->run(); 519. 520. // Execute hook dispatcher after 521. if (isset($params_hook_action_dispatcher)) { 522. Hook::exec('actionDispatcherAfter', $params_hook_action_dispatcher); 523. } DispatcherCore->dispatch - [line 28 - index.php] 23. * @copyright Since 2007 PrestaShop SA and Contributors 24. * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) 25. */ 26. 27. require dirname(__FILE__).'/config/config.inc.php'; 28. Dispatcher::getInstance()->dispatch(); Anybody? Link to comment Share on other sites More sharing options...
ellenb4t Posted January 12, 2022 Author Share Posted January 12, 2022 I think it's resolved, so for anybody having the same issues, this is what I did: I clicked the 'Reset' button in the module manager for both payments installed, then cleared cache en now it looks like it's working again! So simple! I hope it will stay this way and it is a riddle why it happened... Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now