elcieloenlatierra.es Posted February 23, 2014 Share Posted February 23, 2014 (edited) Hola, soy bastante nueva con Prestashop. Hoy me he dado cuenta de que no se puede comprar en mi tienda y no se cómo debuggar ni saber qué es lo que está pasando. He probado lo siguiente: * he mirado en la base de datos, en la tabla de logs pero el error no se guarda alli * he probado a comprar usando el modulo bankwire (transformado en "recoger en tienda") y también he habilitado el módulo de pago telefónico y ambos me dan error y me redirigen a: https://elcieloenlatierra.es/module/bankwire/validation ¿Alguien me puede ayudar por favor? Mi versión de prestashop es PrestaShop™ 1.5.5.0 Gracias Edited February 23, 2014 by elcieloenlatierra.es (see edit history) Link to comment Share on other sites More sharing options...
elcieloenlatierra.es Posted February 23, 2014 Author Share Posted February 23, 2014 Hola, vale, he ejecutado el debug (gracias al thead http://www.prestashop.com/forums/topic/232477-%C2%BFqu%C3%A9-hacer-cuando-se-queda-la-pantalla-en-blanco-en-prestashop/ ) y me sale el error [PrestaShopException]Can't load Order state statusat line 147 in file classes/PaymentModule.php 141. if (Configuration::get('PS_TAX_ADDRESS_TYPE') == 'id_address_delivery')142. $context_country = $this->context->country;143. 144. $order_status = new OrderState((int)$id_order_state, (int)$this->context->language->id);145. if (!Validate::isLoadedObject($order_status))146. throw new PrestaShopException('Can\'t load Order state status');147. 148. if (!$this->active)149. die(Tools::displayError());150. // Does order already exists ?151. if (Validate::isLoadedObject($this->context->cart) && $this->context->cart->OrderExists() == false) PaymentModuleCore->validateOrder - [line 64 - modules/bankwire/controllers/front/validation.php] - [9 Arguments] BankwireValidationModuleFrontController->postProcess - [line 158 - classes/controller/Controller.php] - [0 Argument] ControllerCore->run - [line 348 - classes/Dispatcher.php] - [0 Argument] DispatcherCore->dispatch - [line 28 - index.php] - [0 Argument] Link to comment Share on other sites More sharing options...
elcieloenlatierra.es Posted February 23, 2014 Author Share Posted February 23, 2014 Hola, por fín lo he solucionado.. No tenía el estado 10 (Awaiting Bankwire Payment) que es donde se redirige el pedido al ser confirmado Porgo [sOLUCIONADO] en la cabecera! Link to comment Share on other sites More sharing options...
Recommended Posts