Compra Cancelada
-
Olá Claudio, estou desenvolvendo um site usando este plugin e seja no modo checkout transparente, seja no modo padr?o. A compra é feita, funciona normal. Inclusive a atualiza??o do status com o pag seguro, pois recebo o email de pedido e depois o email do pedido cancelado. Mas a quest?o é que a compra é cancelada na sequência. será que há algum problema? segue o logs
04-06-2017 @ 13:35:42 – Requesting session ID…
04-06-2017 @ 13:35:43 – PagSeguro session is valid! The return is: SimpleXMLElement Object
(
[id] => 722bd6c5198541c481c241040988dca1
)04-06-2017 @ 13:36:39 – Requesting direct payment for order 325 with the following data: <?xml version=”1.0″ encoding=”UTF-8″ standalone=”yes”?>
<payment>
<mode>default</mode>
<method>creditCard</method>
<currency>BRL</currency>
<notificationURL><![CDATA[https://plusxxi.com.br/wc-api/WC_PagSeguro_Gateway/]]></notificationURL>
<items>
<item>
<id>1</id>
<description><![CDATA[Pedido 325]]></description>
<amount>2.00</amount>
<quantity>1</quantity>
</item>
</items>
<reference><![CDATA[WC-325]]></reference>
<sender>
<email><![CDATA[emaildapessoa]></email>
<documents>
<document>
<type>CPF</type>
<value>cpf</value>
</document>
</documents>
<name><![CDATA[Sergio Morici]]></name>
<phone>
<areaCode>11</areaCode>
<number>111111111</number>
</phone>
<hash>8cdaf3061aeeab1acccd1024630810387928c9331f9fe061e1e69cb42551f917</hash>
</sender>
<shipping>
<type>3</type>
<address>
<street><![CDATA[Rua ]></street>
<number>189</number>
<complement><![CDATA[32]]></complement>
<district><![CDATA[Vila Guedes]]></district>
<postalCode>05134260</postalCode>
<city><![CDATA[S?o Paulo]]></city>
<state>SP</state>
<country>BRA</country>
</address>
<cost>0</cost>
</shipping>
<creditCard>
<token>1e37b1207de147d2a7972d31078d90bb</token>
<installment>
<quantity>1</quantity>
<value>2.00</value>
</installment>
<holder>
<name><![CDATA[sergio mota morici]]></name>
<documents>
<document>
<type>CPF</type>
<value>cpf</value>
</document>
</documents>
<birthDate>30/10/1968</birthDate>
<phone>
<areaCode>11</areaCode>
<number>973205055</number>
</phone>
</holder>
<billingAddress>
<street><![CDATA[Rua]]></street>
<number>189</number>
<complement><![CDATA[32]]></complement>
<district><![CDATA[Vila Guedes]]></district>
<city><![CDATA[S?o Paulo]]></city>
<state>SP</state>
<country>BRA</country>
<postalCode>05134260</postalCode>
</billingAddress>
</creditCard>
</payment>04-06-2017 @ 13:36:42 – PagSeguro direct payment created successfully!
04-06-2017 @ 13:36:42 – PagSeguro payment status for order 325 is: 1
04-06-2017 @ 13:36:48 – Checking IPN request…
04-06-2017 @ 13:36:49 – PagSeguro IPN is valid! The return is: SimpleXMLElement Object
(
[date] => 2017-04-06T13:36:41.000-03:00
[code] => D32B07F0-AA24-4069-993A-00E8E4000739
[reference] => WC-325
[type] => 1
[status] => 7
[cancellationSource] => INTERNAL
[lastEventDate] => 2017-04-06T13:36:46.000-03:00
[paymentMethod] => SimpleXMLElement Object
(
[type] => 1
[code] => 102
)[grossAmount] => 2.00
[discountAmount] => 0.00
[feeAmount] => 0.48
[netAmount] => 1.52
[extraAmount] => 0.00
[installmentCount] => 1
[itemCount] => 1
[items] => SimpleXMLElement Object
(
[item] => SimpleXMLElement Object
(
[id] => 1
[description] => Pedido 325
[quantity] => 1
[amount] => 2.00
))
[sender] => SimpleXMLElement Object
(
[name] => Sergio Morici
[email] => emaildapessoa
[phone] => SimpleXMLElement Object
(
[areaCode] => 11
[number] => 111111111
))
[shipping] => SimpleXMLElement Object
(
[address] => SimpleXMLElement Object
(
[street] => Rua
[number] => 189
[complement] => 32
[district] => Vila Guedes
[city] => S?o Paulo
[state] => SP
[country] => BRA
[postalCode] => 05134260
)[type] => 3
[cost] => 0.00
))
04-06-2017 @ 13:36:49 - PagSeguro payment status for order 325 is: 7
04-06-2017 @ 13:38:54 - Requesting session ID...
04-06-2017 @ 13:38:55 - PagSeguro session is valid! The return is: SimpleXMLElement Object
(
[id] => 7c5b29d96b2d48dbbbca4ecf86bd7d30
)04-06-2017 @ 13:40:11 - Requesting session ID...
04-06-2017 @ 13:40:12 - PagSeguro session is valid! The return is: SimpleXMLElement Object
(
[id] => 6cb5528405ab405dae0474e6e88a9a69
)04-06-2017 @ 13:41:08 - Requesting direct payment for order 326 with the following data: <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment>
<mode>default</mode>
<method>creditCard</method>
<currency>BRL</currency>
<notificationURL><![CDATA[https://plusxxi.com.br/wc-api/WC_PagSeguro_Gateway/]]></notificationURL>
<items>
<item>
<id>1</id>
<description><![CDATA[Pedido 326]]></description>
<amount>2.00</amount>
<quantity>1</quantity>
</item>
</items>
<reference><![CDATA[WC-326]]></reference>
<sender>
<email><![CDATA[email da pessoa]]></email>
<documents>
<document>
<type>CPF</type>
<value>cpf</value>
</document>
</documents>
<name><![CDATA[Sergio Morici]]></name>
<phone>
<areaCode>11</areaCode>
<number>111111111</number>
</phone>
<hash>c600520c600fd0301cb1affad5136fdd6dd71de0803633ccf9b55ac87920195a</hash>
</sender>
<shipping>
<type>3</type>
<address>
<street><![CDATA[Rua ]]></street>
<number>189</number>
<complement><![CDATA[32]]></complement>
<district><![CDATA[Vila Guedes]]></district>
<postalCode>05134260</postalCode>
<city><![CDATA[S?o Paulo]]></city>
<state>SP</state>
<country>BRA</country>
</address>
<cost>0</cost>
</shipping>
<creditCard>
<token>725536cc55e3452eba4f5bbb0187f19e</token>
<installment>
<quantity>1</quantity>
<value>2.00</value>
</installment>
<holder>
<name><![CDATA[sergio mota morici]]></name>
<documents>
<document>
<type>CPF</type>
<value>cpf</value>
</document>
</documents>
<birthDate>30/10/1968</birthDate>
<phone>
<areaCode>11</areaCode>
<number>973205055</number>
</phone>
</holder>
<billingAddress>
<street><![CDATA[Rua ]]></street>
<number>189</number>
<complement><![CDATA[32]]></complement>
<district><![CDATA[Vila Guedes]]></district>
<city><![CDATA[S?o Paulo]]></city>
<state>SP</state>
<country>BRA</country>
<postalCode>05134260</postalCode>
</billingAddress>
</creditCard>
</payment>
- The topic ‘Compra Cancelada’ is closed to new replies.