Support » Plugin: Claudio Sanches - PagSeguro for WooCommerce » PagSeguro: Um erro ocorreu ao processar o seu pagamento, por favor, revise os se

  • Resolved wltking

    (@wltking)


    Frase de erro: PagSeguro: Um erro ocorreu ao processar o seu pagamento, por favor, revise os seus dados e tente novamente. Ou entre em contato conosco para obter assistência.

    Já fiz todos os procedimentos do FAQ

    Agradeço toda e qualquer ajuda.

    01-07-2020 @ 18:38:17 – Requesting direct payment for order 4222 with the following data: <?xml version=”1.0″ encoding=”UTF-8″ standalone=”yes”?>
    <payment>
    <mode>default</mode>
    <method>boleto</method>
    <currency>BRL</currency>
    <notificationURL><![CDATA[https://supercell-online.com/wc-api/WC_PagSeguro_Gateway/]]></notificationURL>
    <items/>
    <reference><![CDATA[SC-4222]]></reference>
    <sender>
    <email><![CDATA[welingtonreis@outlook.com]]></email>
    <documents>
    <document>
    <type>CPF</type>
    <value>02959530128</value>
    </document>
    </documents>
    <name><![CDATA[Welington Reis]]></name>
    <phone>
    <areaCode>62</areaCode>
    <number>991572500</number>
    </phone>
    <hash>5712a57e9ebf9c5c10a4ab2b4204861470b91202b06ecbf1c5cfd651b0511e88</hash>
    </sender>
    <shipping>
    <type>3</type>
    <address>
    <street><![CDATA[Avenida Macaúbas Jd das Oliveiras]]></street>
    <number>01</number>
    <complement><![CDATA[Qd 30 Lt 09]]></complement>
    <district><![CDATA[Qd 30 Lt 09]]></district>
    <postalCode>75256144</postalCode>
    <city><![CDATA[Senador Canedo]]></city>
    <state>GO</state>
    <country>BRA</country>
    </address>
    <cost>6.90</cost>
    </shipping>
    </payment>

    01-07-2020 @ 18:38:18 – An error occurred while generating the PagSeguro direct payment: Array
    (
    [headers] => Requests_Utility_CaseInsensitiveDictionary Object
    (
    [data:protected] => Array
    (
    [date] => Tue, 07 Jan 2020 21:38:18 GMT
    [content-type] => application/xml;charset=ISO-8859-1
    [cache-control] => max-age=180
    [expires] => Tue, 07 Jan 2020 21:41:18 GMT
    [vary] => Accept-Encoding,User-Agent
    [content-encoding] => gzip
    [strict-transport-security] => max-age=31536000
    [set-cookie] => TS0136888b=0160ed0a6cc3b6f5b74c5fc4c1e72e146e93b0079082f9361443ce461c5f1129f836346e7d0e5697fa2e7c0939ccea62a90ab6ea72; Path=/; Domain=.ws.pagseguro.uol.com.br
    )

    )

    [body] => <?xml version=”1.0″ encoding=”ISO-8859-1″ standalone=”yes”?><errors><error>53004<message>items invalid quantity.</message></error></errors>
    [response] => Array
    (
    [code] => 400
    [message] => Bad Request
    )

    [cookies] => Array
    (
    [0] => WP_Http_Cookie Object
    (
    [name] => TS0136888b
    [value] => 0160ed0a6cc3b6f5b74c5fc4c1e72e146e93b0079082f9361443ce461c5f1129f836346e7d0e5697fa2e7c0939ccea62a90ab6ea72
    [expires] =>
    [path] => /
    [domain] => ws.pagseguro.uol.com.br
    [host_only] =>
    )

    )

    [filename] =>
    [http_response] => WP_HTTP_Requests_Response Object
    (
    [response:protected] => Requests_Response Object
    (
    [body] => <?xml version="1.0" encoding="ISO-8859-1" standalone="yes"?><errors><error>53004<message>items invalid quantity.</message></error></errors>
    [raw] => HTTP/1.1 400 Bad Request
    Date: Tue, 07 Jan 2020 21:38:18 GMT
    Content-Type: application/xml;charset=ISO-8859-1
    Cache-Control: max-age=180
    Expires: Tue, 07 Jan 2020 21:41:18 GMT
    Vary: Accept-Encoding,User-Agent
    Content-Encoding: gzip
    Strict-Transport-Security: max-age=31536000
    Connection: close
    Set-Cookie: TS0136888b=0160ed0a6cc3b6f5b74c5fc4c1e72e146e93b0079082f9361443ce461c5f1129f836346e7d0e5697fa2e7c0939ccea62a90ab6ea72; Path=/; Domain=.ws.pagseguro.uol.com.br
    Transfer-Encoding: chunked

    <?xml version="1.0" encoding="ISO-8859-1" standalone="yes"?><errors><error>53004<message>items invalid quantity.</message></error></errors>
    [headers] => Requests_Response_Headers Object
    (
    [data:protected] => Array
    (
    [date] => Array
    (
    [0] => Tue, 07 Jan 2020 21:38:18 GMT
    )

    [content-type] => Array
    (
    [0] => application/xml;charset=ISO-8859-1
    )

    [cache-control] => Array
    (
    [0] => max-age=180
    )

    [expires] => Array
    (
    [0] => Tue, 07 Jan 2020 21:41:18 GMT
    )

    [vary] => Array
    (
    [0] => Accept-Encoding,User-Agent
    )

    [content-encoding] => Array
    (
    [0] => gzip
    )

    [strict-transport-security] => Array
    (
    [0] => max-age=31536000
    )

    [set-cookie] => Array
    (
    [0] => TS0136888b=0160ed0a6cc3b6f5b74c5fc4c1e72e146e93b0079082f9361443ce461c5f1129f836346e7d0e5697fa2e7c0939ccea62a90ab6ea72; Path=/; Domain=.ws.pagseguro.uol.com.br
    )

    )

    )

    [status_code] => 400
    [protocol_version] => 1.1
    [success] =>
    [redirects] => 0
    [url] => https://ws.pagseguro.uol.com.br/v2/transactions?email=welingtonreis@outlook.com&token=81dc251c-7c5d-4da7-b3bc-dc2f2ced374013c059aa4e57809740264c8e6623d8b7dbf2-1414-496a-899b-993c2bef1832
    [history] => Array
    (
    )

    [cookies] => Requests_Cookie_Jar Object
    (
    [cookies:protected] => Array
    (
    [TS0136888b] => Requests_Cookie Object
    (
    [name] => TS0136888b
    [value] => 0160ed0a6cc3b6f5b74c5fc4c1e72e146e93b0079082f9361443ce461c5f1129f836346e7d0e5697fa2e7c0939ccea62a90ab6ea72
    [attributes] => Requests_Utility_CaseInsensitiveDictionary Object
    (
    [data:protected] => Array
    (
    [path] => /
    [domain] => ws.pagseguro.uol.com.br
    )

    )

    [flags] => Array
    (
    [creation] => 1578433098
    [last-access] => 1578433098
    [persistent] =>
    [host-only] =>
    )

    [reference_time] => 1578433098
    )

    )

    )

    )

    [filename:protected] =>
    [data] =>
    [headers] =>
    [status] =>
    )

    )

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Support marcofrasson

    (@marcofrasson)

    Veja que no retorno do log está informando que a quantidade dos itens está inválida:

    <errors><error>53004<message>items invalid quantity.</message></error></errors>

    Possivelmente é algum problema com o cadastro de produto.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.