|
Friends,
I just found that the problem was in the app/design/frontend/Farmadelivery/default/template/payment/info/default.phtml
we were testing the method type to put a link to re-print the document that the customer uses to pay.
the code was:
$html = $this->htmlEscape($this->getMethod()->getTitle()); $code = $this->htmlEscape($this->getMethod()->getCode());
echo $html;
if ($code == "Boleto_standard"){ $loja_id = $this->getMethod()->getConfigData('LojaID'); $venda = $this->getMethod()->getData(); $venda = $venda['info_instance']; $venda = $venda->getOrder()->getData(); $venda_id = $venda['increment_id']; echo " <a href='https://www.pagador.com.br/pagador/reenvia.asp?id_loja=$loja_id&VENDAID;=$venda_id' target='_blank'>[Re-emitir boleto]</a>"; }
On line
$venda = $this->getMethod()->getData();
a system exception occurs in new orders
any help?
|