Erro ao fechar pedido (There has been an error processing your request)

Seguir

Comentários

13 comentários

  • Avatar
    Jorge San

    Bruno Elisei, você poderia me ajudar... fiz conforme informado e agora recebo o seguinte erro:

    SQLSTATE[42S02]: Base table or view not found: 1146 Table 'neo7digi_ecommerce.moip' doesn't exist

    Trace:
    #0 /home/meudominio/public_html/shopping/lib/Varien/Db/Statement/Pdo/Mysql.php(110): Zend_Db_Statement_Pdo->execute(Array)
    #1 /home/meudominio/public_html/shopping/lib/Zend/Db/Statement.php(300): Varien_Db_Statement_Pdo_Mysql->execute(Array)
    #2 /home/meudominio/public_html/shopping/lib/Zend/Db/Adapter/Abstract.php(479): Zend_Db_Statement->execute(Array)
    #3 /home/meudominio/public_html/shopping/lib/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SELECT *??     ...', Array)
    #4 /home/meudominio/public_html/shopping/lib/Varien/Db/Adapter/Pdo/Mysql.php(419): Zend_Db_Adapter_Pdo_Abstract->query('SELECT *??     ...', Array)
    #5 /home/meudominio/public_html/shopping/lib/Zend/Db/Adapter/Abstract.php(734): Varien_Db_Adapter_Pdo_Mysql->query('SELECT *??     ...', Array)
    #6 /home/meudominio/public_html/shopping/app/code/local/O2TI/Moip/Block/Standard/Redirect.php(46): Zend_Db_Adapter_Abstract->fetchAll('SELECT *??     ...')
    #7 /home/meudominio/public_html/shopping/app/code/core/Mage/Core/Block/Abstract.php(863): O2TI_Moip_Block_Standard_Redirect->
    toHtml()
    #8 /home/meudominio/public_html/shopping/app/code/core/Mage/Core/Block/Text/List.php(43): Mage_Core_Block_Abstract->toHtml()
    #9 /home/meudominio/public_html/shopping/app/code/core/Mage/Core/Block/Abstract.php(863): Mage_Core_Block_Text_List->toHtml()
    #10 /home/meudominio/public_html/shopping/app/code/core/Mage/Core/Block/Abstract.php(582): Mage_Core_Block_Abstract->toHtml()
    #11 /home/meudominio/public_html/shopping/app/code/core/Mage/Core/Block/Abstract.php(526): Mage_Core_Block_Abstract->_getChildHtml('content', true)
    #12 /home/meudominio/public
    html/shopping/app/design/frontend/default/mt_dend/template/page/1column.phtml(55): Mage_Core_Block_Abstract->getChildHtml('content')
    #13 /home/meudominio/public_html/shopping/app/code/core/Mage/Core/Block/Template.php(241): include('/home/meudominio/...')
    #14 /home/meudominio/public
    html/shopping/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('frontend/defaul...')
    #15 /home/meudominio/public_html/shopping/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView()
    #16 /home/meudominio/public_html/shopping/app/code/core/Mage/Core/Block/Abstract.php(863): Mage_Core_Block_Template->toHtml()
    #17 /home/meudominio/public_html/shopping/app/code/core/Mage/Core/Model/Layout.php(555): Mage_Core_Block_Abstract->toHtml()
    #18 /home/meudominio/public_html/shopping/app/code/core/Mage/Core/Controller/Varien/Action.php(390): Mage_Core_Model_Layout->getOutput()
    #19 /home/meudominio/public_html/shopping/app/code/local/O2TI/Moip/controllers/StandardController.php(48): Mage_Core_Controller_Varien_Action->renderLayout()
    #20 /home/meudominio/public_html/shopping/app/code/core/Mage/Core/Controller/Varien/Action.php(419): O2TI_Moip_StandardController->redirectAction()
    #21 /home/meudominio/public_html/shopping/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(250): Mage
    Core_Controller_Varien_Action->dispatch('redirect')
    #22 /home/meudominio/public_html/shopping/app/code/core/Mage/Core/Controller/Varien/Front.php(176): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
    #23 /home/meudominio/public_html/shopping/app/code/core/Mage/Core/Model/App.php(354): Mage_Core_Controller_Varien_Front->dispatch()
    #24 /home/meudominio/public_html/shopping/app/Mage.php(683): Mage_Core_Model_App->run(Array)
    #25 /home/meudominio/public_html/shopping/index.php(87): Mage::run('', 'store')
    #26 {main}

  • Avatar
    Bruno Elisei

    Jorge neste caso ele está solicitando a criação de outra tabela: moip

    Segue o sql para upar:

    CREATE TABLE IF NOT EXISTS moip (
      transaction_id int(11) NOT NULL AUTO_INCREMENT,
      realorder_id int(11) NOT NULL,
      sale_id int(11) NOT NULL,
      xml_sent text NOT NULL,
      xml_return text NOT NULL,
      status varchar(20) NOT NULL,
      formapg varchar(60) NOT NULL,
      bandeira varchar(60) NOT NULL,
      digito varchar(60) NOT NULL,
      vencimento datetime NOT NULL,    
      datetime datetime NOT NULL,
      PRIMARY KEY (transaction_id)
    ) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=1;

  • Avatar
    DaviSiqueira

    Fiz estes procedimentos e nada!

    segue o erro

    a:5:{i:0;s:161:"Unable to Connect to ssl://www.moip.com.br:443. Error #36444440: Unable to find the socket transport "ssl" - did you forget to enable it when you configured PHP?";i:1;s:1139:"#0 /home/misstura/public_html/lib/Zend/Http/Client.php(973): Zend_Http_Client_Adapter_Socket->connect('www.moip.com.br', 443, true)

    #1 /home/misstura/public_html/app/code/local/O2TI/Moip/Model/Api.php(255): Zend_Http_Client->request('POST')
    #2 /home/misstura/public_html/app/code/local/O2TI/Moip/controllers/StandardController.php(40): O2TI_Moip_Model_Api->getToken('redirectAction()
    #4 /home/misstura/public_html/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(250): Mage_Core_Controller_Varien_Action->dispatch('redirect')
    #5 /home/misstura/public_html/app/code/core/Mage/Core/Controller/Varien/Front.php(176): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
    #6 /home/misstura/public_html/app/code/core/Mage/Core/Model/App.php(354): Mage_Core_Controller_Varien_Front->dispatch()
    #7 /home/misstura/public_html/app/Mage.php(683): Mage_Core_Model_App->run(Array)
    #8 /home/misstura/public_html/index.php(87): Mage::run('', 'store')
    #9 {main}";s:3:"url";s:24:"/Moip/standard/redirect/";s:11:"script_name";s:10:"/index.php";s:4:"skin";s:7:"default";}

  • Avatar
    Robson712

    o meu apresenta o seguinte erro 

    Unable to Connect to ssl://desenvolvedor.moip.com.br:443. Error #49287744: Unable to find the socket transport "ssl" - did you forget to enable it when you configured PHP?
    Trace:
    #0 /home/vprod/public_html/magento/lib/Zend/Http/Client.php(973): Zend_Http_Client_Adapter_Socket->connect('desenvolvedor.m...', 443, true)
    #1 /home/vprod/public_html/magento/app/code/local/O2TI/Moip/Model/Api.php(255): Zend_Http_Client->request('POST')
    #2 /home/vprod/public_html/magento/app/code/local/O2TI/Moip/controllers/StandardController.php(40): O2TI_Moip_Model_Api->getToken('<EnviarInstruca...')
    #3 /home/vprod/public_html/magento/app/code/core/Mage/Core/Controller/Varien/Action.php(418): O2TI_Moip_StandardController->redirectAction()
    #4 /home/vprod/public_html/magento/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(253): Mage_Core_Controller_Varien_Action->dispatch('redirect')
    #5 /home/vprod/public_html/magento/app/code/core/Mage/Core/Controller/Varien/Front.php(176): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
    #6 /home/vprod/public_html/magento/app/code/core/Mage/Core/Model/App.php(340): Mage_Core_Controller_Varien_Front->dispatch()
    #7 /home/vprod/public_html/magento/app/Mage.php(627): Mage_Core_Model_App->run(Array)
    #8 /home/vprod/public_html/magento/index.php(80): Mage::run('', 'store')
    #9 {main}

  • Avatar
    Anderson Kaue Plebani

    Aos desavisados: para a atual versão do módulo, a tabela a ser criada é esta:

    CREATE TABLE o2ti_onestepcheckout (
    o2ti_onestepcheckout_date_id int(11) unsigned NOT NULL auto_increment,
    sales_order_id int(11) unsigned NOT NULL,
    o2ti_customercomment_info varchar(255) default '',
    o2ti_deliverydate_date varchar(15) default '',
    o2ti_deliverydate_time varchar(10) default '',
    status smallint(6) default '0',
    created_time datetime NULL,
    update_time datetime NULL,
    PRIMARY KEY (o2ti_onestepcheckout_date_id)
    ) ENGINE=InnoDB DEFAULT CHARSET=utf8;

  • Avatar
    Allan Aievoli

    esse é o erro que ocorre
    Como arruma isso

    Invalid URI supplied
    Trace:
    #0 /home3/rootbiju/public_html/lib/Zend/Uri.php(143): Zend_Uri_Http->construct('https', '//www.moip.com....')
    #1 /home3/rootbiju/public_html/lib/Zend/Http/Client.php(270): Zend_Uri::factory('https://www.moi...')
    #2 /home3/rootbiju/public_html/lib/Zend/Http/Client.php(253): Zend_Http_Client->setUri('https://www.moi...')
    #3 /home3/rootbiju/public_html/app/code/local/O2TI/Moip/Model/Api.php(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(177): Zend_Http_Client->
    construct('https://www.moi...')
    #4 /home3/rootbiju/public_html/app/design/frontend/default/default/template/moip/form.phtml(6): O2TI_Moip_Model_Api->hasPagamentoDireto()
    #5 /home3/rootbiju/public_html/app/code/core/Mage/Core/Block/Template.php(241): include('/home3/rootbiju...')
    #6 /home3/rootbiju/public_html/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('frontend/defaul...')
    #7 /home3/rootbiju/public_html/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView()
    #8 /home3/rootbiju/public_html/app/code/core/Mage/Core/Block/Abstract.php(863): Mage_Core_Block_Template->toHtml()
    #9 /home3/rootbiju/public_html/app/code/core/Mage/Core/Block/Abstract.php(582): Mage_Core_Block_Abstract->toHtml()
    #10 /home3/rootbiju/public_html/app/code/core/Mage/Core/Block/Abstract.php(526): Mage_Core_Block_Abstract->getChildHtml('payment.method....', true)
    #11 /home3/rootbiju/public_html/app/code/core/Mage/Checkout/Block/Onepage/Payment/Methods.php(74): Mage_Core_Block_Abstract->getChildHtml('payment.method....')
    #12 /home3/rootbiju/public_html/app/design/frontend/default/default/template/mw_onestepcheckout/daskboard/onepage/payment/methods.phtml(57): Mage_Checkout_Block_Onepage_Payment_Methods->getPaymentMethodFormHtml(Object(O2TI_Moip_Model_Standard))
    #13 /home3/rootbiju/public_html/app/code/core/Mage/Core/Block/Template.php(241): include('/home3/rootbiju...')
    #14 /home3/rootbiju/public_html/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('frontend/defaul...')
    #15 /home3/rootbiju/public_html/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView()
    #16 /home3/rootbiju/public_html/app/code/core/Mage/Core/Block/Abstract.php(863): Mage_Core_Block_Template->toHtml()
    #17 /home3/rootbiju/public_html/app/code/core/Mage/Core/Block/Abstract.php(582): Mage_Core_Block_Abstract->toHtml()
    #18 /home3/rootbiju/public
    html/app/code/core/Mage/Core/Block/Abstract.php(526): Mage_Core_Block_Abstract->_getChildHtml('methods', true)
    #19 /home3/rootbiju/public
    html/app/design/frontend/default/default/template/mw_onestepcheckout/daskboard/onepage/payment.phtml(34): Mage_Core_Block_Abstract->getChildHtml('methods')
    #20 /home3/rootbiju/public_html/app/code/core/Mage/Core/Block/Template.php(241): include('/home3/rootbiju...')
    #21 /home3/rootbiju/public_html/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('frontend/defaul...')
    #22 /home3/rootbiju/public_html/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView()
    #23 /home3/rootbiju/public_html/app/code/core/Mage/Core/Block/Abstract.php(863): Mage_Core_Block_Template->toHtml()
    #24 /home3/rootbiju/public_html/app/code/core/Mage/Core/Block/Abstract.php(582): Mage_Core_Block_Abstract->toHtml()
    #25 /home3/rootbiju/public_html/app/code/core/Mage/Core/Block/Abstract.php(526): Mage_Core_Block_Abstract->_getChildHtml('payment', true)
    #26 /home3/rootbiju/public
    html/app/design/frontend/default/default/template/mw_onestepcheckout/daskboard.phtml(920): Mage_Core_Block_Abstract->getChildHtml('payment')
    #27 /home3/rootbiju/public_html/app/code/core/Mage/Core/Block/Template.php(241): include('/home3/rootbiju...')
    #28 /home3/rootbiju/public
    html/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('frontend/defaul...')
    #29 /home3/rootbiju/public_html/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView()
    #30 /home3/rootbiju/public_html/app/code/core/Mage/Core/Block/Abstract.php(863): Mage_Core_Block_Template->toHtml()
    #31 /home3/rootbiju/public_html/app/code/core/Mage/Core/Block/Text/List.php(43): Mage_Core_Block_Abstract->toHtml()
    #32 /home3/rootbiju/public_html/app/code/core/Mage/Core/Block/Abstract.php(863): Mage_Core_Block_Text_List->toHtml()
    #33 /home3/rootbiju/public_html/app/code/core/Mage/Core/Block/Abstract.php(582): Mage_Core_Block_Abstract->toHtml()
    #34 /home3/rootbiju/public_html/app/code/core/Mage/Core/Block/Abstract.php(526): Mage_Core_Block_Abstract->getChildHtml('content', true)
    #35 /home3/rootbiju/public_html/app/design/frontend/base/default/template/page/1column.phtml(48): Mage_Core_Block_Abstract->getChildHtml('content')
    #36 /home3/rootbiju/public
    html/app/code/core/Mage/Core/Block/Template.php(241): include('/home3/rootbiju...')
    #37 /home3/rootbiju/public
    html/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('frontend/base/d...')
    #38 /home3/rootbiju/public_html/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView()
    #39 /home3/rootbiju/public_html/app/code/core/Mage/Core/Block/Abstract.php(863): Mage_Core_Block_Template->_toHtml()
    #40 /home3/rootbiju/public
    html/app/code/core/Mage/Core/Model/Layout.php(555): Mage_Core_Block_Abstract->toHtml()
    #41 /home3/rootbiju/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(390): Mage_Core_Model_Layout->getOutput()
    #42 /home3/rootbiju/public_html/app/code/local/MW/Onestepcheckout/controllers/IndexController.php(49): Mage_Core_Controller_Varien_Action->renderLayout()
    #43 /home3/rootbiju/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(419): MW_Onestepcheckout_IndexController->indexAction()
    #44 /home3/rootbiju/public_html/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(250): Mage_Core_Controller_Varien_Action->dispatch('index')
    #45 /home3/rootbiju/public_html/app/code/core/Mage/Core/Controller/Varien/Front.php(176): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
    #46 /home3/rootbiju/public_html/app/code/core/Mage/Core/Model/App.php(354): Mage_Core_Controller_Varien_Front->dispatch()
    #47 /home3/rootbiju/public_html/app/Mage.php(683): Mage_Core_Model_App->run(Array)
    #48 /home3/rootbiju/public_html/index.php(87): Mage::run('', 'store')
    #49 {main}

  • Avatar
    Allan Aievoli

    Pessoal Boa Tarde

    Achei o erro 

    mais ainda não consegui arrumar

    o problema é no login do moip quando tem espaços

    gostaria se alguem sabe como resolver isso

    obrigado

     

  • Avatar
    Clayton Eduardo Mergulhão

    eu segui todos os passo mais está dando seguinte erro
    Notice: Undefined variable: b in E:\Vhosts\shopimport.com.br\httpdocs\loja\modules\checkout\moip\module.moip.php(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code on line 159

    Notice: Undefined variable: b in E:\Vhosts\shopimport.com.br\httpdocs\loja\modules\checkout\moip\module.moip.php(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code on line 159

    eu já crie as duas tabelas e mesmo assim o erro continua

  • Avatar
    Renato Aleksander Ferreira

    a:5:{i:0;s:83:"SQLSTATE[42S22]: Column not found: 1054 Unknown column 'order_id' in 'where clause'";i:1;s:4135:"#0 /home/fatorcom/public_html/lib/Varien/Db/Statement/Pdo/Mysql.php(110): Zend_Db_Statement_Pdo->execute(Array)
    #1 /home/fatorcom/public_html/app/code/core/Zend/Db/Statement.php(291): Varien_Db_Statement_Pdo_Mysql->execute(Array)
    #2 /home/fatorcom/public_html/lib/Zend/Db/Adapter/Abstract.php(479): Zend_Db_Statement->execute(Array)
    #3 /home/fatorcom/public_html/lib/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('DELETE FROM o2...', Array)
    #4 /home/fatorcom/public_html/lib/Varien/Db/Adapter/Pdo/Mysql.php(428): Zend_Db_Adapter_Pdo_Abstract->query('DELETE FROM
    o2...', Array)
    #5 /home/fatorcom/public_html/lib/Zend/Db/Adapter/Abstract.php(661): Varien_Db_Adapter_Pdo_Mysql->query('DELETE FROM `o2...')
    #6 /home/fatorcom/public_html/app/code/core/Mage/Core/Model/Resource/Db/Abstract.php(508): Zend_Db_Adapter_Abstract->delete('o2ti_moip', 'order_id=''')
    #7 /home/fatorcom/public_html/app/code/core/Mage/Core/Model/Abstract.php(480): Mage_Core_Model_Resource_Db_Abstract->delete(Object(O2TI_Moip_Model_Write))
    #8 /home/fatorcom/public_html/app/code/local/O2TI/Moip/Block/Standard/Redirect.php(16): Mage_Core_Model_Abstract->delete()
    #9 /home/fatorcom/public_html/app/design/frontend/default/default/template/O2TI/moip/boleto.phtml(20): O2TI
    Moip_Block_Standard_Redirect->getSaveDate('100000031', Array, Object(O2TI_Onestepcheckout_Model_Customer_Customer), Array, Array)
    #10 /home/fatorcom/public_html/app/code/core/Mage/Core/Block/Template.php(241): include('/home/fatorcom/...')
    #11 /home/fatorcom/public_html/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('frontend/defaul...')
    #12 /home/fatorcom/public_html/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView()
    #13 /home/fatorcom/public_html/app/code/core/Mage/Core/Block/Abstract.php(919): Mage_Core_Block_Template->toHtml()
    #14 /home/fatorcom/public_html/app/code/core/Mage/Core/Block/Text/List.php(43): Mage_Core_Block_Abstract->toHtml()
    #15 /home/fatorcom/public_html/app/code/core/Mage/Core/Block/Abstract.php(919): Mage
    Core_Block_Text_List->_toHtml()
    #16 /home/fatorcom/public_html/app/code/core/Mage/Core/Block/Abstract.php(637): Mage
    Core_Block_Abstract->toHtml()
    #17 /home/fatorcom/public_html/app/code/core/Mage/Core/Block/Abstract.php(581): Mage_Core_Block_Abstract->getChildHtml('content', true)
    #18 /home/fatorcom/public_html/app/design/frontend/default/MAG060067/template/page/1column.phtml(51): Mage_Core_Block_Abstract->getChildHtml('content')
    #19 /home/fatorcom/public_html/app/code/core/Mage/Core/Block/Template.php(241): include('/home/fatorcom/...')
    #20 /home/fatorcom/public_html/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('frontend/defaul...')
    #21 /home/fatorcom/public_html/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView()
    #22 /home/fatorcom/public_html/app/code/core/Mage/Core/Block/Abstract.php(919): Mage_Core_Block_Template->toHtml()
    #23 /home/fatorcom/public_html/app/code/core/Mage/Core/Model/Layout.php(555): Mage_Core_Block_Abstract->toHtml()
    #24 /home/fatorcom/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(390): Mage
    Core_Model_Layout->getOutput()
    #25 /home/fatorcom/public_html/app/code/local/O2TI/Moip/controllers/StandardController.php(86): Mage
    Core_Controller_Varien_Action->renderLayout()
    #26 /home/fatorcom/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(418): O2TI_Moip_StandardController->redirectAction()
    #27 /home/fatorcom/public_html/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(250): Mage_Core_Controller_Varien_Action->dispatch('redirect')
    #28 /home/fatorcom/public_html/app/code/core/Mage/Core/Controller/Varien/Front.php(172): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
    #29 /home/fatorcom/public_html/app/code/core/Mage/Core/Model/App.php(354): Mage_Core_Controller_Varien_Front->dispatch()
    #30 /home/fatorcom/public_html/app/Mage.php(684): Mage_Core_Model_App->run(Array)
    #31 /home/fatorcom/public_html/index.php(97): Mage::run()
    #32 {main}";s:3:"url";s:24:"/Moip/standard/redirect/";s:11:"script_name";s:10:"/index.php";s:4:"skin";s:8:"bemvindo";}

  • Avatar
    Filipe Oliveira

    Oi Elisei, Estou com um problema que não estou conseguindo resolver..

    No Checkout quando finaliza a compra, depois dos dados todos devidamente preenchidos, não redireciona para o Moip, fica rodando infinitamente.

    Já revisei todos suas dicas... ajude me... obrigado

  • Avatar
    Elderpalma

    Boa tarde Elisei, também estava com esse problema e agora piorou.

    Ficava carregando por bastante tempo na finalização da compra até aparecer o erro. Executei o comando que você orientou e agora o erro acontece antes de chegar no checkout.

    Qual será o problema?

  • Avatar
    Angelo Rodrigo de Souza

    Boa tarde, quando finalizo minha compra a pagina é direcionada para o carrinho, o pedido não é gerado , verifiquei que a função que direciona para o carrinho é essa :

     

    public function successAction()
    {
    $session = $this->getOnepage()->getCheckout();
    if (!$session->getLastSuccessQuoteId()) {
    $this->_redirect('checkout/cart');
    return;
    }

    $lastQuoteId = $session->getLastQuoteId();
    $lastOrderId = $session->getLastOrderId();
    $lastRecurringProfiles = $session->getLastRecurringProfileIds();
    if (!$lastQuoteId || (!$lastOrderId && empty($lastRecurringProfiles))) {
    $this->_redirect('checkout/cart');
    return;
    }

    $session->clear();
    $this->loadLayout();
    $this->_initLayoutMessages('checkout/session');
    Mage::dispatchEvent('checkout_onepage_controller_success_action', array('order_ids' => array($lastOrderId)));
    $this->renderLayout();
    }

     

    Vocês teriam alguma solução ? 

    A loja é Venum Beta  -> https://v.venum.com.br

  • Avatar
    Angelo Rodrigo de Souza

    Essas tabelas existem no banco mas estão vazias. 

Por favor, entre para comentar.

Powered by Zendesk