WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce PagSeguro
[resolved] Problema com compatibilidade do Woocommerce 2.2 (9 posts)

  1. Davi Oliveira
    Member
    Posted 8 months ago #

    Claudio, depois que atualizei para a nova versão do Woocommerce ele começou a me retornar o seguinte log de erro:

    [ Moderator note: please wrap code in backticks or use the code button. ]

    12-18-2013 @ 12:38:15 - Requesting token for order # with the following data: <?xml version="1.0" encoding="utf-8" standalone="yes"?>
    <checkout><currency>BRL</currency><reference><![CDATA[CURSOSTNH1-]]></reference><sender><name><![CDATA[ ]]></name><email><![CDATA[]]></email></sender><items/><extraAmount>0.00</extraAmount><maxUses>1</maxUses><maxAge>120</maxAge></checkout>
    
    12-18-2013 @ 12:38:16 - Failed to generate the PagSeguro Payment Token: Array
    (
        [headers] => Array
            (
                [date] => Wed, 18 Dec 2013 12:36:02 GMT
                [server] => Apache-Coyote/1.1
                [content-type] => application/xml;charset=ISO-8859-1
                [cache-control] => max-age=180
                [expires] => Wed, 18 Dec 2013 12:39:01 GMT
                [vary] => User-Agent
                [connection] => close
            )
    
        [body] => <?xml version="1.0" encoding="ISO-8859-1" standalone="yes"?><errors><error><code>11012</code><message>senderName invalid value:  </message></error><error><code>11024</code><message>Items invalid quantity.</message></error></errors>
        [response] => Array
            (
                [code] => 400
                [message] => Bad Request
            )
    
        [cookies] => Array
            (
            )
    
        [filename] =>
    )

    http://wordpress.org/plugins/woocommerce-pagseguro/

  2. Claudio Sanches
    Member
    Plugin Author

    Posted 8 months ago #

    There is no WooCommerce 2.2.
    The new will be 2.1.

  3. naderfares
    Member
    Posted 7 months ago #

    Estou com o mesmo problema na versão 2.0.20 do woocommerce.

  4. Gabriel Reguly
    Member
    Plugin Author

    Posted 7 months ago #

    Existem dois erros de acordo com o pagSeguro:

    <error>
      <code>11012</code>
      <message>senderName invalid value:  </message>
    </error>
    <error>
      <code>11024</code>
      <message>Items invalid quantity.</message>
    </error>
  5. Claudio Sanches
    Member
    Plugin Author

    Posted 7 months ago #

    @naderfares Create a topic for you and show me your log.

  6. naderfares
    Member
    Posted 7 months ago #

    Claudio, after some investigation I found that this case occurs when a coupon of a higher value than the actual total cart value is redeemed.

    e.g.: If we have a total value (excluding shipping) of R$ 70,00 and we redeemed a coupon of R$80,00, for some reason it is being considered a R$-10,00 value.

  7. Davi Oliveira
    Member
    Posted 7 months ago #

    Ok Claudio, mais como solucionar este problema?

  8. Claudio Sanches
    Member
    Plugin Author

    Posted 7 months ago #

    Show me the full log using the pastebin.com

  9. Claudio Sanches
    Member
    Plugin Author

    Posted 7 months ago #

    Besides, what version are you using?

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.