Git Product home page Git Product logo

gerencianet / gn-api-prestashop Goto Github PK

View Code? Open in Web Editor NEW
1.0 8.0 9.0 7.3 MB

Módulo PrestaShop integrado a API Gerencianet. Este Plug-in está preparado para integração à API Boletos da Gerencianet, que lhe permite a realização de cobranças por boleto/Bolix, cartão de crédito e muito mais.

Home Page: https://dev.gerencianet.com.br/docs/prestashop

PHP 92.27% CSS 0.68% JavaScript 1.88% Makefile 0.80% Python 0.08% Smarty 4.28%
prestashop prestashop-module prestashop-payment card cartao-de-credito boleto billet bolix

gn-api-prestashop's People

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gn-api-prestashop's Issues

500 Server Error

Olá, após instalar ativar e configurar o módulo de pagamento de vocês em minha loja Prestashop 1.6.1.6... recebo erro 500 ao tentar finalizar uma compra (todos os passos do carrinho de compras vão bem até chegar na última parte, ao clicar no botão do GerenciaNet para pagar, sou redirecionado para a url: https://www.MEUDOMINIO.com.br/module/gerencianet/payment e à partir dai já recebo erro 500....

Erro informado na tela:
500 Server Error
Oops, something went wrong.

Try to refresh this page or feel free to contact us if the problem persists.

Após isso ativei o "modo desenvolvedor" no meu Prestashop e dessa forma consegui as seguintes informações de erro:

Notice: Use of undefined constant _PS_CLOUDFLARE_SSL - assumed '_PS_CLOUDFLARE_SSL' in /home/MEU-USUARIO/public_html/classes/Tools.php on line 411

Warning: Cannot modify header information - headers already sent by (output started at /home/MEU-USUARIO/public_html/classes/Tools.php:411) in/home/MEU-USUARIO/public_html/classes/controller/FrontController.php on line 1000

Warning: Cannot modify header information - headers already sent by (output started at /home/MEU-USUARIO/public_html/classes/Tools.php:411) in/home/MEU-USUARIO/public_html/classes/controller/FrontController.php on line 1001

Warning: Cannot modify header information - headers already sent by (output started at /home/MEU-USUARIO/public_html/classes/Tools.php:411) in/home/MEU-USUARIO/public_html/classes/exception/PrestaShopException.php on line 37
[PrestaShopException]
Property Customer->document is empty
at line 909 in file classes/ObjectModel.php
904. }
905.
906. $message = $this->validateField($field, $this->$field);
907. if ($message !== true) {
908. if ($die) {
909. throw new PrestaShopException($message);
910. }
911. return $error_return ? $message : false;
912. }
913. }
914.
ObjectModelCore->validateFields - [line 246 - classes/ObjectModel.php]
ObjectModelCore->getFields - [line 47 - modules/gerencianet/controllers/front/payment.php]
GerencianetPaymentModuleFrontController->initContent - [line 189 - classes/controller/Controller.php]
ControllerCore->run - [line 367 - classes/Dispatcher.php]
DispatcherCore->dispatch - [line 28 - index.php]

Aguardo ajuda, pois já cancelei com o Mercado Pago e agora fiquei com a loja parada devido à isso, estou apostando na qualidade do serviços de vocês, por isso migrei, espero ter feito um escolha feliz.

Se precisar de qualquer informação, adicional, basta me solicitar, abraço e muito obrigado desde já!

Prestashop 1.7.6

PHP Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /usr/share/nginx/html/equipamentos/modules/gerencianet/lib/gerencianet/guzzlehttp/ringphp/src/Client/CurlFactory.php on line 382 [30-Mar-2020 14:54:39 America/Sao_Paulo] PHP Fatal error: Cannot use lexical variable $eventName as a parameter name in /usr/share/nginx/html/equipamentos/modules/gerencianet/lib/gerencianet/guzzlehttp/guzzle/src/Event/Emitter.php on line 48

Prestashop 1.7.6. Error 500 in BO

Hello!
PS 1.7.6.7 in the BO-International-Lahguage have the Error 500 ((
In the Debug mode I see the next

CRITICAL01:48:39 php Uncaught Exception: Indentation problem at line 118 (near " modules_to_hook:").
CRITICAL01:48:39 request Uncaught PHP Exception Symfony\Component\Yaml\Exception\ParseException: "Indentation problem at line 118 (near " modules_to_hook:")." at /var/www/tefold/te.com.ua/vendor/symfony/symfony/src/Symfony/Component/Yaml/Parser.php line 642

But I don't know, what do with this ((

Please help!

Erro

Olá, estou com um erro no modulo, fiz a instalação como orienta o tutorial, mas olha o erro que obtenho no momento da compra:
http://prntscr.com/b004ma
Obrigado e parabéns pelo modulo que está em desenvolvimento.

ERRO FATAL MODULO PRESTASHOP 1.6.1.6

Olá amigos, estou implementando mais uma loja virtual em Prestashop, e fui instalar o módulo de vocês (que baxei no github) e após enviar pra instalar o módulo, retornou o seguinte erro:

[PrestaShop] Fatal error in module file :/home/MEU-USUARIO/public_html/config/smarty.config.inc.php:
Cannot redeclare smartyDieObject() (previously declared in /home/MEU-USUARIO/public_html/lojavirtual/config/smarty.config.inc.php:87)

Então, sai e voltei no painel, e ele funciona normal, porém se eu clicar em módulos, recebo o erro novamente, ou seja, estragou a parte de módulos da loja, o que pode ser???

Com o modo DEBUG ativo, tenho o seguinte erro:

Fatal error: Cannot redeclare smartyDieObject() (previously declared in /home/MEU-USUARIO/public_html/lojavirtual/config/smarty.config.inc.php:87) in /home/MEU-USUARIO/public_html/config/smarty.config.inc.php on line 90
[PrestaShop] Fatal error in module file :/home/MEU-USUARIO/public_html/config/smarty.config.inc.php:
Cannot redeclare smartyDieObject() (previously declared in /home/MEU-USUARIOm/public_html/lojavirtual/config/smarty.config.inc.php:87)

AGUARDO AJUDA, OBRIGADO DESDE JÁ!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.