Erro ao realizar o checkout do PagSeguro
-
O problema ocorre depois de preencher todos os campos do formulário e clicar em finalizar compra.
A seguinte mensagem aparece: “PagSeguro: Um erro ocorreu ao processar o seu pagamento, por favor, tente novamente ou entre em contato para obter ajuda.”
Esse é o log
06-29-2015 @ 17:29:24 - Requesting session ID... 06-29-2015 @ 17:29:25 - Error while parsing the PagSeguro session response: String could not be parsed as XML 06-29-2015 @ 17:29:25 - Session Response: Array ( [headers] => Array ( [date] => Mon, 29 Jun 2015 20:29:25 GMT [server] => Apache-Coyote/1.1 [content-type] => text/plain;charset=ISO-8859-1 [content-length] => 12 [vary] => User-Agent [connection] => close ) [body] => Unauthorized [response] => Array ( [code] => 401 [message] => Unauthorized ) [cookies] => Array ( ) [filename] => ) 06-29-2015 @ 17:29:47 - Requesting token for order 1966 with the following data: <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <checkout> <currency>BRL</currency> <reference><![CDATA[WC-1966]]></reference> <sender> <name><![CDATA[alguem alguma coisa]]></name> <email><![CDATA[c97547301346193043495@sandbox.pagseguro.com.br]]></email> <documents> <document> <type>CPF</type> <value>14321147786</value> </document> </documents> <phone> <areaCode>99</areaCode> <number>999999999</number> </phone> </sender> <shipping> <type>3</type> <address> <street><![CDATA[alguma rua]]></street> <number>205</number> <complement><![CDATA[apartamento 1608]]></complement> <district><![CDATA[barra da tijuca]]></district> <postalCode>22790735</postalCode> <city><![CDATA[rio de janeiro]]></city> <state>RJ</state> <country>BRA</country> </address> <cost>0</cost> </shipping> <items> <item> <id>1</id> <description><![CDATA[Pacote Caminhada do Recreio - Tamanho Da Camisa: m, Local De Retirada: CRP (Avenida das Améri]]></description> <amount>55.00</amount> <quantity>1</quantity> </item> </items> <redirectURL><![CDATA[http://www.caminhadadorecreio.com.br/checkout/pedido-recebido/1966?key=wc_order_5591557fbdbf6]]></redirectURL> <notificationURL><![CDATA[http://www.caminhadadorecreio.com.br/wc-api/WC_PagSeguro_Gateway/]]></notificationURL> <maxUses>1</maxUses> <maxAge>120</maxAge> </checkout> 06-29-2015 @ 17:29:48 - Error while parsing the PagSeguro response: String could not be parsed as XML 06-29-2015 @ 17:29:48 - Error generating the PagSeguro payment token: Array ( [headers] => Array ( [date] => Mon, 29 Jun 2015 20:29:48 GMT [server] => Apache-Coyote/1.1 [content-type] => text/plain;charset=ISO-8859-1 [content-length] => 12 [vary] => User-Agent [connection] => close ) [body] => Unauthorized [response] => Array ( [code] => 401 [message] => Unauthorized ) [cookies] => Array ( ) [filename] => )
Qualquer ajuda é bem vinda
Visualizando 4 respostas - 1 até 4 (de um total de 4)
Visualizando 4 respostas - 1 até 4 (de um total de 4)
- O tópico ‘Erro ao realizar o checkout do PagSeguro’ está fechado para novas respostas.