Erro ao tentar integrar Bling no Opencart 2.0.3.1
Enviado: 10 Mai 2016, 02:47
Olá Boa noite !
Seguir os passos do manual do site do bling , porém quando tento importar as vendas gera o seguinte erro no log da opencart:
2016-05-10 5:37:28 - PHP Notice: Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'order oo, order_total ot
WHERE ot.order_id = '9779' AND ( ot.code ='s' at line 2<br />Error No: 1064<br />SELECT ot.value as valueShipping, ot.code as codeShipping
FROM order oo, order_total ot
WHERE ot.order_id = '9779' AND ( ot.code ='shipping' or ot.code = 'frete')
GROUP BY ot.value in /home/sjons256/public_html/system/library/db/mysqli.php on line 41
2016-05-10 5:37:28 - PHP Notice: Trying to get property of non-object in /home/sjons256/public_html/system/modification/catalog/model/account/order.php on line 257
Segue o código do php
http://codepad.org/3Rx7wSPL
Desde já agradeço qualquer ajuda e caso for alguma difícil de executar estou disposto a pagar para quem corrigir o problema.
Atenciosamente,
Anderson
Seguir os passos do manual do site do bling , porém quando tento importar as vendas gera o seguinte erro no log da opencart:
2016-05-10 5:37:28 - PHP Notice: Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'order oo, order_total ot
WHERE ot.order_id = '9779' AND ( ot.code ='s' at line 2<br />Error No: 1064<br />SELECT ot.value as valueShipping, ot.code as codeShipping
FROM order oo, order_total ot
WHERE ot.order_id = '9779' AND ( ot.code ='shipping' or ot.code = 'frete')
GROUP BY ot.value in /home/sjons256/public_html/system/library/db/mysqli.php on line 41
2016-05-10 5:37:28 - PHP Notice: Trying to get property of non-object in /home/sjons256/public_html/system/modification/catalog/model/account/order.php on line 257
Segue o código do php
http://codepad.org/3Rx7wSPL
Desde já agradeço qualquer ajuda e caso for alguma difícil de executar estou disposto a pagar para quem corrigir o problema.
Atenciosamente,
Anderson