Jump to content

[Correção] Erro Gateway Pagseguro No Boxbilling


Recommended Posts

Galera, pra quem tá tendo erro 11029 ( An exception has been thrown during the rendering of a template ("11029: Item amount invalid pattern: 0. Must fit the patern: \d+.\d{2} ") in "mod_invoice_invoice.phtml" at line 214.)
 
 
Edita o módulo PagSeguro.php e altera a linha:
 
 
$itemAmount = $xml->createElement('amount', $i['price'] * (($this->config['perc_tax']+100)/100) + $this->config['fixe_tax']));
 
para
 
$itemAmount = $xml->createElement('amount', $i['price']);
 
 
geralmente eu não uso taxas adicionais... é esta conta que está causando o erro.... pelo menos no meu caso resolveu blz...
 
 
 
Não esqueça de conhecer o gerenciador que tou fazendo LINK: http://portaldohost.com.br/forum/index.php?showtopic=12800
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.

×
×
  • Create New...

Important Information

Do you agree with our terms?