Support » Plugin: WooCommerce Correios » Calculation of Shipping Correios stopped

  • Resolved kaikerj

    (@kaikerj)


    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/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Claudio Sanches

    (@claudiosanches)

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

    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

    Plugin Author Claudio Sanches

    (@claudiosanches)

    Fixed in version 2.0.6.

    🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Calculation of Shipping Correios stopped’ is closed to new replies.