WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce Correios
[resolved] Calculation of Shipping Correios stopped (5 posts)

  1. kaikerj
    Member
    Posted 2 months ago #

    Hello Claudio, congratulations for the work. I made the last plugin update and it stopped working. Use variable product in weight and measures and log file information is wrong. I took the test with several products. Follow-log.
    Thank you very much.

    05-18-2014 @ 16:07:42 - Requesting the Correios WebServices...
    05-18-2014 @ 16:07:42 - Correios WebServices response [SEDEX]: SimpleXMLElement Object
    (
    [Codigo] => 40010
    [Valor] => 0,00
    [PrazoEntrega] => 0
    [ValorMaoPropria] => 0,00
    [ValorAvisoRecebimento] => 0,00
    [ValorValorDeclarado] => 0,00
    [EntregaDomiciliar] => SimpleXMLElement Object
    (
    )

    [EntregaSabado] => SimpleXMLElement Object
    (
    )

    [Erro] => -23
    [MsgErro] => A soma resultante do comprimento + largura + altura nao deve superar a 200 cm.
    )

    05-18-2014 @ 16:07:49 - Weight and cubage of the order: Array
    (
    [height] => 22.1
    [length] => 90
    [width] => 90
    [weight] => 4
    )

    05-18-2014 @ 16:07:49 - Requesting the Correios WebServices...
    05-18-2014 @ 16:07:49 - 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] => -23
    [MsgErro] => A soma resultante do comprimento + largura + altura nao deve superar a 200 cm.
    )

    05-18-2014 @ 16:07:49 - Requesting the Correios WebServices...
    05-18-2014 @ 16:07:49 - Correios WebServices response [SEDEX]: SimpleXMLElement Object
    (
    [Codigo] => 40010
    [Valor] => 0,00
    [PrazoEntrega] => 0
    [ValorMaoPropria] => 0,00
    [ValorAvisoRecebimento] => 0,00
    [ValorValorDeclarado] => 0,00
    [EntregaDomiciliar] => SimpleXMLElement Object
    (
    )

    [EntregaSabado] => SimpleXMLElement Object
    (
    )

    [Erro] => -23
    [MsgErro] => A soma resultante do comprimento + largura + altura nao deve superar a 200 cm.
    )

    https://wordpress.org/plugins/woocommerce-correios/

  2. Claudio Sanches
    Member
    Plugin Author

    Posted 2 months ago #

    The dimensions of the product appear to be wrong, is getting too big.
    Verify this by adding the right sizes.

  3. kaikerj
    Member
    Posted 2 months ago #

    Os valores estavam corretos. Como te disse no twitter na versão 1.6.2 funcionava perfeitamente.

    Atualizei para a versão 2.0.5 e voltou a funcionar, mas em algumas paginas de produto aparece o seguinte erro e em outras funciona perfeitamente.

    Será que pode ser um problema de cache?

    Warning: Invalid argument supplied for foreach() in /home/arteplus/www/v1/conteudo/plugins/woocommerce-correios/includes/class-wc-correios-product-shipping-simulator.php on line 67

    obrigado.
    kaike

  4. Claudio Sanches
    Member
    Plugin Author

    Posted 2 months ago #

    Fixed in version 2.0.6.

  5. kaikerj
    Member
    Posted 2 months ago #

    :)

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.