• O plugin está retornando o 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” ao clicar em “Realizar Pagamento”. O email e Token est?o corretos. O problema surgiu após as últimas atualiza??es do WordPress.
    Segue o log:

    09-09-2019 @ 16:26:00 - Requesting token for order 18672 with the following data: <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <checkout>
      <currency>BRL</currency>
      <reference><![CDATA[WC-18672]]></reference>
      <sender>
        <email><![CDATA[[email protected]]]></email>
        <documents>
          <document>
            <type>CPF</type>
            <value>41934687805</value>
          </document>
        </documents>
        <name><![CDATA[Nicolas Porfirio]]></name>
        <phone>
          <areaCode>11</areaCode>
          <number>969999999</number>
        </phone>
      </sender>
      <shipping>
        <type>3</type>
        <address>
          <street><![CDATA[Avenida Um]]></street>
          <number>100</number>
          <complement><![CDATA[110]]></complement>
          <postalCode>12900000</postalCode>
          <city><![CDATA[Sao Paulo]]></city>
          <state>SP</state>
          <country>BRA</country>
        </address>
        <cost>20.21</cost>
      </shipping>
      <items>
        <item>
          <id>1</id>
          <description><![CDATA[]]></description>
          <amount>39.99</amount>
          <quantity>1</quantity>
        </item>
      </items>
      <redirectURL><![CDATA[https://npsaude.com/finalizar-compra/order-received/18672/?key=wc_order_u4lUyCpemeZmH]]></redirectURL>
      <notificationURL><![CDATA[https://npsaude.com/wc-api/WC_PagSeguro_Gateway/]]></notificationURL>
      <maxUses>1</maxUses>
      <maxAge>120</maxAge>
    </checkout>
    
    09-09-2019 @ 16:26:01 - Failed to generate the PagSeguro Payment Token: Array
    (
        [headers] => Requests_Utility_CaseInsensitiveDictionary Object
            (
                [data:protected] => Array
                    (
                        [date] => Mon, 09 Sep 2019 19:26:00 GMT
                        [content-type] => application/xml;charset=ISO-8859-1
                        [cache-control] => max-age=180
                        [expires] => Mon, 09 Sep 2019 19:29:00 GMT
                        [strict-transport-security] => max-age=31536000
                        [vary] => User-Agent
                        [set-cookie] => TS012b6bbf=0160ed0a6c1aed930b490524ce97e780a0afdaa936fc813b3849bad6a72b5449c29c8390d2; Path=/
                    )
    
            )
    
        [body] => <?xml version="1.0" encoding="ISO-8859-1" standalone="yes"?><errors><error><code>11033</code><message>Item description is required.</message></error></errors>
        [response] => Array
            (
                [code] => 400
                [message] => Bad Request
            )
    
        [cookies] => Array
            (
                [0] => WP_Http_Cookie Object
                    (
                        [name] => TS012b6bbf
                        [value] => 0160ed0a6c1aed930b490524ce97e780a0afdaa936fc813b3849bad6a72b5449c29c8390d2
                        [expires] => 
                        [path] => /
                        [domain] => ws.pagseguro.uol.com.br
                        [host_only] => 1
                    )
    
            )
    
        [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><code>11033</code><message>Item description is required.</message></error></errors>
                        [raw] => HTTP/1.1 400 Bad Request
    Date: Mon, 09 Sep 2019 19:26:00 GMT
    Content-Type: application/xml;charset=ISO-8859-1
    Cache-Control: max-age=180
    Expires: Mon, 09 Sep 2019 19:29:00 GMT
    Strict-Transport-Security: max-age=31536000
    Vary: User-Agent
    Connection: close
    Set-Cookie: TS012b6bbf=0160ed0a6c1aed930b490524ce97e780a0afdaa936fc813b3849bad6a72b5449c29c8390d2; Path=/
    Transfer-Encoding: chunked
    
    <?xml version="1.0" encoding="ISO-8859-1" standalone="yes"?><errors><error><code>11033</code><message>Item description is required.</message></error></errors>
                        [headers] => Requests_Response_Headers Object
                            (
                                [data:protected] => Array
                                    (
                                        [date] => Array
                                            (
                                                [0] => Mon, 09 Sep 2019 19:26:00 GMT
                                            )
    
                                        [content-type] => Array
                                            (
                                                [0] => application/xml;charset=ISO-8859-1
                                            )
    
                                        [cache-control] => Array
                                            (
                                                [0] => max-age=180
                                            )
    
                                        [expires] => Array
                                            (
                                                [0] => Mon, 09 Sep 2019 19:29:00 GMT
                                            )
    
                                        [strict-transport-security] => Array
                                            (
                                                [0] => max-age=31536000
                                            )
    
                                        [vary] => Array
                                            (
                                                [0] => User-Agent
                                            )
    
                                        [set-cookie] => Array
                                            (
                                                [0] => TS012b6bbf=0160ed0a6c1aed930b490524ce97e780a0afdaa936fc813b3849bad6a72b5449c29c8390d2; Path=/
                                            )
    
                                    )
    
                            )
    
                        [status_code] => 400
                        [protocol_version] => 1.1
                        [success] => 
                        [redirects] => 0
                        [url] => https://ws.pagseguro.uol.com.br/v2/[email protected]&token=b01f237f-3f77-4889-ad74-28521abe6a81b0facb8c4284ae748cda94471b592929b66d-4891-4e0b-8c0d-75622cf7269d
                        [history] => Array
                            (
                            )
    
                        [cookies] => Requests_Cookie_Jar Object
                            (
                                [cookies:protected] => Array
                                    (
                                        [TS012b6bbf] => Requests_Cookie Object
                                            (
                                                [name] => TS012b6bbf
                                                [value] => 0160ed0a6c1aed930b490524ce97e780a0afdaa936fc813b3849bad6a72b5449c29c8390d2
                                                [attributes] => Requests_Utility_CaseInsensitiveDictionary Object
                                                    (
                                                        [data:protected] => Array
                                                            (
                                                                [path] => /
                                                                [domain] => ws.pagseguro.uol.com.br
                                                            )
    
                                                    )
    
                                                [flags] => Array
                                                    (
                                                        [creation] => 1568057161
                                                        [last-access] => 1568057161
                                                        [persistent] => 
                                                        [host-only] => 1
                                                    )
    
                                                [reference_time] => 1568057161
                                            )
    
                                    )
    
                            )
    
                    )
    
                [filename:protected] => 
                [data] => 
                [headers] => 
                [status] => 
            )
    
    )
    

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

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Erro ao processar pagamento’ is closed to new replies.