Jump to content

Error al finalizar el pedido de la tienda. Pagina en blanco.


Recommended Posts

Cuando confirmo pedido me da error con el modulo de transferencia bancaria, he activado los mensajes de error y me da el siguiente.

 

PrestaShopException]

Can't load Order state status
at line 146 in file classes/PaymentModule.php

140. if (Configuration::get('PS_TAX_ADDRESS_TYPE') == 'id_address_delivery')
141. $context_country = $this->context->country;
142.
143. $order_status = new OrderState((int)$id_order_state, (int)$this->context->language->id);
144. if (!Validate::isLoadedObject($order_status))
145. throw new PrestaShopException('Can\'t load Order state status');
146.
147. if (!$this->active)
148. die(Tools::displayError());
149. // Does order already exists ?
150. if (Validate::isLoadedObject($this->context->cart) && $this->context->cart->OrderExists() == false)

  • PaymentModuleCore->validateOrder - [line 65 - modules/bankwire/controllers/front/validation.php] - [9 Arguments]

    59. '{bankwire_owner}' => Configuration::get('BANK_WIRE_OWNER'),
    60. '{bankwire_details}' => nl2br(Configuration::get('BANK_WIRE_DETAILS')),
    61. '{bankwire_address}' => nl2br(Configuration::get('BANK_WIRE_ADDRESS'))
    62. );
    63.
    64. $this->module->validateOrder($cart->id, Configuration::get('PS_OS_BANKWIRE'), $total, $this->module->displayName, NULL, $mailVars, (int)$currency->id, false, $customer->secure_key);
    65. Tools::redirect('index.php?controller=order-confirmation&id_cart='.$cart->id.'&id_module='.$this->module->id.'&id_order='.$this->module->currentOrder.'&key='.$customer->secure_key);
    66. }
    67. }


    Argument [0]
    15
    Argument [1]
    10
    Argument [2]
    228.31
    Argument [3]
    Bank Wire
    Argument [4]

    Argument [5]
    Array
    (
    [{bankwire_owner}] =>
    [{bankwire_details}] =>
    [{bankwire_address}] =>
    )

    Argument [6]
    2
    Argument [7]

    Argument [8]
    7c661221684c9e0049ae72fce7dc4e98
  • BankwireValidationModuleFrontController->postProcess - [line 159 - classes/controller/Controller.php] - [0 Argument]

    153. // setMedia MUST be called before postProcess
    154. if (!$this->content_only && ($this->display_header || (isset($this->className) && $this->className)))
    155. $this->setMedia();
    156.
    157. // postProcess handles ajaxProcess
    158. $this->postProcess();
    159.
    160. if (!empty($this->redirect_after))
    161. $this->redirect();
    162.
    163. if (!$this->content_only && ($this->display_header || (isset($this->className) && $this->className)))
  • ControllerCore->run - [line 349 - classes/Dispatcher.php] - [0 Argument]

    343. // Execute hook dispatcher
    344. if (isset($params_hook_action_dispatcher))
    345. Hook::exec('actionDispatcher', $params_hook_action_dispatcher);
    346.
    347. // Running controller
    348. $controller->run();
    349. }
    350. catch (PrestaShopException $e)
    351. {
    352. $e->displayMessage();
    353. }
  • DispatcherCore->dispatch - [line 29 - index.php] - [0 Argument]
Link to comment
Share on other sites

  • nadie locked this topic
Guest
This topic is now closed to further replies.
×
×
  • Create New...