crisweiser
7/11/2014 - 1:28 PM

gistfile1.txt

07-11-2014 @ 10:26:31 - Requesting session ID...
07-11-2014 @ 10:26:33 - PagSeguro session is valid! The return is: SimpleXMLElement Object
(
    [id] => 4ee9f69e743e4ed1a9083b1518c0dec0
)

07-11-2014 @ 10:26:39 - Requesting direct payment for order #132 with the following data: <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment>
  <mode>default</mode>
  <method>boleto</method>
  <sender>
    <name><![CDATA[Cristian Weiser]]></name>
    <email><![CDATA[cristianweiser@gmail.com]]></email>
    <documents>
      <document>
        <type>CPF</type>
        <value>22723140822</value>
      </document>
    </documents>
    <phone>
      <areaCode>19</areaCode>
      <number>25331111</number>
    </phone>
    <hash>e1224b7e4d327a6fda47bc6e13b8fd900755b794a868ce3d0c0eac60147f230f</hash>
  </sender>
  <currency>BRL</currency>
  <notificationURL><![CDATA[http://taxiweb.info/moby/wc-api/WC_PagSeguro_Gateway/]]></notificationURL>
  <items>
    <item>
      <id>1</id>
      <description><![CDATA[Sunset Final da Copa do Mundo - 13/07/2014 - tipo: masculino]]></description>
      <amount>50.00</amount>
      <quantity>1</quantity>
    </item>
  </items>
  <extraAmount>0.00</extraAmount>
  <reference><![CDATA[WC-132]]></reference>
  <shipping>
    <type>3</type>
    <address>
      <street><![CDATA[Av Dona Lidia]]></street>
      <number>1700</number>
      <complement><![CDATA[casa]]></complement>
      <district><![CDATA[]]></district>
      <postalCode>13405235</postalCode>
      <city><![CDATA[Piracicaba]]></city>
      <state>SP</state>
      <country>BRA</country>
    </address>
  </shipping>
</payment>

07-11-2014 @ 10:26:40 - Error while parsing the PagSeguro response: String could not be parsed as XML
07-11-2014 @ 10:26:40 - An error occurred while generating the PagSeguro direct payment: Array
(
    [headers] => Array
        (
            [date] => Fri, 11 Jul 2014 13:26:38 GMT
            [server] => Apache-Coyote/1.1
            [content-type] => text/plain;charset=ISO-8859-1
            [content-length] => 9
            [vary] => Accept-Encoding,User-Agent
            [connection] => close
        )

    [body] => Forbidden
    [response] => Array
        (
            [code] => 403
            [message] => Forbidden
        )

    [cookies] => Array
        (
        )

    [filename] => 
)