WooCommerce Correios
[resolved] Calculate Shipping with weird characters and not working (2 posts)

  1. Ana Carolina Cordeiro
    Posted 2 years ago #

    Hello Claudio!
    Thanks for the awesome plugin! We're using a lot here in my office.

    So, the problem is that I have two sites, in the same host, with the same 3.6 version of wordpress, the same theme (pk sold!) and the same version of woocommerce (2.0.13).
    I'm having problems to calculate the shipping with Correios in one of them. It's http://www.laborconcursos.com.br. Ojn the checkout page, when you try to calculate the shipping, a unrecognized character appears in the state field and the log says:

    09-12-2013 @ 17:33:10 - Weight and cubage of the order: Array
    [weight] => 2
    [height] => 10.2
    [width] => 10.2
    [length] => 30

    09-12-2013 @ 17:33:10 - Requesting the Correios WebServices...
    09-12-2013 @ 17:33:10 - Correios WebServices response [PAC]: SimpleXMLElement Object
    [Codigo] => 41106
    [Valor] => 0,00
    [PrazoEntrega] => 0
    [ValorMaoPropria] => 0,00
    [ValorAvisoRecebimento] => 0,00
    [ValorValorDeclarado] => 0,00
    [EntregaDomiciliar] => SimpleXMLElement Object

    [EntregaSabado] => SimpleXMLElement Object

    [Erro] => -3
    [MsgErro] => CEP de destino invalido.

    But, on my other website, http://www.mourasuplementos.com.br, it's ok.

    This error was happening on mourasuplementos too, But was fixed when I restore a version of PagSeguro's plugin. I tried it in laborconcursos too, but it was unsuccessful. What should I do?


  2. Claudio Sanches
    Plugin Author

    Posted 2 years ago #

    Use the latest version of all plugins!

    The error is this: [MsgErro] => CEP de destino invalido.
    Use a valid zip code!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce Correios
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic