Advertisement
Guest User

Log Checkout Transparent Pagseguro

a guest
Oct 13th, 2016
829
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 7.11 KB | None | 0 0
  1. 10-13-2016 @ 03:57:30 - Requesting direct payment for order 141 with the following data: <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
  2. <payment>
  3.   <mode>default</mode>
  4.   <method>boleto</method>
  5.   <sender>
  6.     <name><![CDATA[Lucas Goulart]]></name>
  7.     <email><![CDATA[lmg_@outlook.com]]></email>
  8.     <documents>
  9.       <document>
  10.         <type>CPF</type>
  11.         <value>17780346242</value>
  12.       </document>
  13.     </documents>
  14.     <phone>
  15.       <areaCode>68</areaCode>
  16.       <number>82164608</number>
  17.     </phone>
  18.     <hash>4150b8b9ce3de98ba0d8e0fee665b2f82e7c2d65f5f0e41709652ae44c61cb0c</hash>
  19.   </sender>
  20.   <currency>BRL</currency>
  21.   <notificationURL><![CDATA[https://127.0.0.1/wordpress/wc-api/WC_PagSeguro_Gateway/]]></notificationURL>
  22.   <items>
  23.     <item>
  24.       <id>1</id>
  25.       <description><![CDATA[Case Abstrato Teste - Marca: Apple, Modelo: iPhone 4/4s]]></description>
  26.       <amount>1.99</amount>
  27.       <quantity>1</quantity>
  28.     </item>
  29.   </items>
  30.   <reference><![CDATA[BRKZ-141]]></reference>
  31.   <shipping>
  32.     <type>3</type>
  33.     <address>
  34.       <street><![CDATA[Avenida Paraná, 296]]></street>
  35.       <number>296</number>
  36.       <complement><![CDATA[casa 06]]></complement>
  37.       <district><![CDATA[Centro]]></district>
  38.       <postalCode>69945970</postalCode>
  39.       <city><![CDATA[Acrelândia]]></city>
  40.       <state>AC</state>
  41.       <country>BRA</country>
  42.     </address>
  43.     <cost>0</cost>
  44.   </shipping>
  45. </payment>
  46.  
  47. 10-13-2016 @ 03:57:31 - An error occurred while generating the PagSeguro direct payment: Array
  48. (
  49.     [headers] => Requests_Utility_CaseInsensitiveDictionary Object
  50.         (
  51.             [data:protected] => Array
  52.                 (
  53.                     [date] => Thu, 13 Oct 2016 06:57:43 GMT
  54.                     [server] => Apache-Coyote/1.1
  55.                     [content-type] => application/xml;charset=ISO-8859-1
  56.                     [cache-control] => max-age=180
  57.                     [expires] => Thu, 13 Oct 2016 07:00:43 GMT
  58.                     [vary] => Accept-Encoding,User-Agent
  59.                     [content-encoding] => gzip
  60.                     [access-control-allow-origin] => https://dev.pagseguro.uol.com.br
  61.                     [access-control-allow-methods] => POST, GET, OPTIONS
  62.                     [access-control-allow-headers] => Content-Type, origin, accept
  63.                 )
  64.  
  65.         )
  66.  
  67.     [body] => <?xml version="1.0" encoding="ISO-8859-1" standalone="yes"?><errors><error><code>53009</code><message>notificationURL invalid value: https://127.0.0.1/wordpress/wc-api/WC_PagSeguro_Gateway/</message></error></errors>
  68.     [response] => Array
  69.         (
  70.             [code] => 400
  71.             [message] => Bad Request
  72.         )
  73.  
  74.     [cookies] => Array
  75.         (
  76.         )
  77.  
  78.     [filename] =>
  79.     [http_response] => WP_HTTP_Requests_Response Object
  80.         (
  81.             [response:protected] => Requests_Response Object
  82.                 (
  83.                     [body] => <?xml version="1.0" encoding="ISO-8859-1" standalone="yes"?><errors><error><code>53009</code><message>notificationURL invalid value: https://127.0.0.1/wordpress/wc-api/WC_PagSeguro_Gateway/</message></error></errors>
  84.                     [raw] => HTTP/1.1 400 Bad Request
  85. Date: Thu, 13 Oct 2016 06:57:43 GMT
  86. Server: Apache-Coyote/1.1
  87. Content-Type: application/xml;charset=ISO-8859-1
  88. Cache-Control: max-age=180
  89. Expires: Thu, 13 Oct 2016 07:00:43 GMT
  90. Vary: Accept-Encoding,User-Agent
  91. Content-Encoding: gzip
  92. Access-Control-Allow-Origin: https://dev.pagseguro.uol.com.br
  93. Access-Control-Allow-Methods: POST, GET, OPTIONS
  94. Access-Control-Allow-Headers: Content-Type, origin, accept
  95. Connection: close
  96. Transfer-Encoding: chunked
  97.  
  98. <?xml version="1.0" encoding="ISO-8859-1" standalone="yes"?><errors><error><code>53009</code><message>notificationURL invalid value: https://127.0.0.1/wordpress/wc-api/WC_PagSeguro_Gateway/</message></error></errors>
  99.                     [headers] => Requests_Response_Headers Object
  100.                         (
  101.                             [data:protected] => Array
  102.                                 (
  103.                                     [date] => Array
  104.                                         (
  105.                                             [0] => Thu, 13 Oct 2016 06:57:43 GMT
  106.                                         )
  107.  
  108.                                     [server] => Array
  109.                                         (
  110.                                             [0] => Apache-Coyote/1.1
  111.                                         )
  112.  
  113.                                     [content-type] => Array
  114.                                         (
  115.                                             [0] => application/xml;charset=ISO-8859-1
  116.                                         )
  117.  
  118.                                     [cache-control] => Array
  119.                                         (
  120.                                             [0] => max-age=180
  121.                                         )
  122.  
  123.                                     [expires] => Array
  124.                                         (
  125.                                             [0] => Thu, 13 Oct 2016 07:00:43 GMT
  126.                                         )
  127.  
  128.                                     [vary] => Array
  129.                                         (
  130.                                             [0] => Accept-Encoding,User-Agent
  131.                                         )
  132.  
  133.                                     [content-encoding] => Array
  134.                                         (
  135.                                             [0] => gzip
  136.                                         )
  137.  
  138.                                     [access-control-allow-origin] => Array
  139.                                         (
  140.                                             [0] => https://dev.pagseguro.uol.com.br
  141.                                         )
  142.  
  143.                                     [access-control-allow-methods] => Array
  144.                                         (
  145.                                             [0] => POST, GET, OPTIONS
  146.                                         )
  147.  
  148.                                     [access-control-allow-headers] => Array
  149.                                         (
  150.                                             [0] => Content-Type, origin, accept
  151.                                         )
  152.  
  153.                                 )
  154.  
  155.                         )
  156.  
  157.                     [status_code] => 400
  158.                     [protocol_version] => 1.1
  159.                     [success] =>
  160.                     [redirects] => 0
  161.                     [url] => https://ws.sandbox.pagseguro.uol.com.br/v2/transactions?email=lcsgot@gmail.com&token=9B8106ADD82641D5BE49FD33A4B973C9
  162.                     [history] => Array
  163.                         (
  164.                         )
  165.  
  166.                     [cookies] => Requests_Cookie_Jar Object
  167.                         (
  168.                             [cookies:protected] => Array
  169.                                 (
  170.                                 )
  171.  
  172.                         )
  173.  
  174.                 )
  175.  
  176.             [filename:protected] =>
  177.             [data] =>
  178.             [headers] =>
  179.             [status] =>
  180.         )
  181.  
  182. )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement