Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 01-30-2019 @ 17:53:39 - Requesting direct payment for order 2023 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://thelentes.com.br/wc-api/WC_PagSeguro_Gateway/]]></notificationURL>
- <items>
- <item>
- <id>1</id>
- <description><![CDATA[HIDROBLUE UV ESFÉRICA]]></description>
- <amount>89.00</amount>
- <quantity>1</quantity>
- </item>
- </items>
- <reference><![CDATA[WC-2023]]></reference>
- <sender>
- <email><![CDATA[ricardoazeved@hotmail.com]]></email>
- <documents>
- <document>
- <type>CPF</type>
- <value>00384549390</value>
- </document>
- </documents>
- <name><![CDATA[Ricardo Azevedo]]></name>
- <phone>
- <areaCode>86</areaCode>
- <number>999770929</number>
- </phone>
- <hash>19e56353cd751e012e40308e96b94ead44c53ee221458387aadc4369e7e0743c</hash>
- </sender>
- <shipping>
- <type>3</type>
- <address>
- <street><![CDATA[AV PRESIDENTE KENNEDY]]></street>
- <number>2031</number>
- <postalCode>64049650</postalCode>
- <city><![CDATA[Horto Florestal]]></city>
- <state/>
- <country>BRA</country>
- </address>
- <cost>7.00</cost>
- </shipping>
- <creditCard>
- <token>18ff98a4c8f54071a5f560a5c19a6eeb</token>
- <installment>
- <quantity>9</quantity>
- <value>12.32</value>
- </installment>
- <holder>
- <name><![CDATA[ricardo azevedo do rego costsa filho]]></name>
- <documents>
- <document>
- <type>CPF</type>
- <value>00384549390</value>
- </document>
- </documents>
- <birthDate>30/05/1987</birthDate>
- <phone>
- <areaCode>86</areaCode>
- <number>32323141</number>
- </phone>
- </holder>
- <billingAddress>
- <street><![CDATA[AV PRESIDENTE KENNEDY]]></street>
- <number>2031</number>
- <city><![CDATA[Horto Florestal]]></city>
- <state/>
- <country>BRA</country>
- <postalCode>64049650</postalCode>
- </billingAddress>
- </creditCard>
- </payment>
- 01-30-2019 @ 17:53:40 - An error occurred while generating the PagSeguro direct payment: Array
- (
- [headers] => Requests_Utility_CaseInsensitiveDictionary Object
- (
- [data:protected] => Array
- (
- [date] => Wed, 30 Jan 2019 17:53:39 GMT
- [server] => Apache-Coyote/1.1
- [content-type] => application/xml;charset=ISO-8859-1
- [cache-control] => max-age=180
- [expires] => Wed, 30 Jan 2019 17:56:40 GMT
- [vary] => Accept-Encoding,User-Agent
- [content-encoding] => gzip
- [access-control-allow-origin] => https://dev.pagseguro.uol.com.br
- [access-control-allow-methods] => POST, GET, OPTIONS
- [access-control-allow-headers] => Content-Type, origin, accept
- [content-length] => 181
- )
- )
- [body] => <?xml version="1.0" encoding="ISO-8859-1" standalone="yes"?><errors><error><code>53029</code><message>shipping address district is required.</message></error><error><code>53033</code><message>shipping address state is required.</message></error><error><code>53060</code><message>billing address district is required.</message></error><error><code>53064</code><message>billing address state is required.</message></error></errors>
- [response] => Array
- (
- [code] => 400
- [message] => Bad Request
- )
- [cookies] => Array
- (
- )
- [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>53029</code><message>shipping address district is required.</message></error><error><code>53033</code><message>shipping address state is required.</message></error><error><code>53060</code><message>billing address district is required.</message></error><error><code>53064</code><message>billing address state is required.</message></error></errors>
- [raw] => HTTP/1.1 400 Bad Request
- Date: Wed, 30 Jan 2019 17:53:39 GMT
- Server: Apache-Coyote/1.1
- Content-Type: application/xml;charset=ISO-8859-1
- Cache-Control: max-age=180
- Expires: Wed, 30 Jan 2019 17:56:40 GMT
- Vary: Accept-Encoding,User-Agent
- Content-Encoding: gzip
- Access-Control-Allow-Origin: https://dev.pagseguro.uol.com.br
- Access-Control-Allow-Methods: POST, GET, OPTIONS
- Access-Control-Allow-Headers: Content-Type, origin, accept
- Content-Length: 181
- Connection: close
- <?xml version="1.0" encoding="ISO-8859-1" standalone="yes"?><errors><error><code>53029</code><message>shipping address district is required.</message></error><error><code>53033</code><message>shipping address state is required.</message></error><error><code>53060</code><message>billing address district is required.</message></error><error><code>53064</code><message>billing address state is required.</message></error></errors>
- [headers] => Requests_Response_Headers Object
- (
- [data:protected] => Array
- (
- [date] => Array
- (
- [0] => Wed, 30 Jan 2019 17:53:39 GMT
- )
- [server] => Array
- (
- [0] => Apache-Coyote/1.1
- )
- [content-type] => Array
- (
- [0] => application/xml;charset=ISO-8859-1
- )
- [cache-control] => Array
- (
- [0] => max-age=180
- )
- [expires] => Array
- (
- [0] => Wed, 30 Jan 2019 17:56:40 GMT
- )
- [vary] => Array
- (
- [0] => Accept-Encoding,User-Agent
- )
- [content-encoding] => Array
- (
- [0] => gzip
- )
- [access-control-allow-origin] => Array
- (
- [0] => https://dev.pagseguro.uol.com.br
- )
- [access-control-allow-methods] => Array
- (
- [0] => POST, GET, OPTIONS
- )
- [access-control-allow-headers] => Array
- (
- [0] => Content-Type, origin, accept
- )
- [content-length] => Array
- (
- [0] => 181
- )
- )
- )
- [status_code] => 400
- [protocol_version] => 1.1
- [success] =>
- [redirects] => 0
- [url] => https://ws.sandbox.pagseguro.uol.com.br/v2/transactions?email=ricardoazeved@hotmail.com&token=66171D967EFB4355A772C17EFE77A7DC
- [history] => Array
- (
- )
- [cookies] => Requests_Cookie_Jar Object
- (
- [cookies:protected] => Array
- (
- )
- )
- )
- [filename:protected] =>
- [data] =>
- [headers] =>
- [status] =>
- )
- )
- 01-30-2019 @ 17:53:51 - Requesting direct payment for order 2023 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://thelentes.com.br/wc-api/WC_PagSeguro_Gateway/]]></notificationURL>
- <items>
- <item>
- <id>1</id>
- <description><![CDATA[HIDROBLUE UV ESFÉRICA]]></description>
- <amount>89.00</amount>
- <quantity>1</quantity>
- </item>
- </items>
- <reference><![CDATA[WC-2023]]></reference>
- <sender>
- <email><![CDATA[ricardoazeved@hotmail.com]]></email>
- <documents>
- <document>
- <type>CPF</type>
- <value>00384549390</value>
- </document>
- </documents>
- <name><![CDATA[Ricardo Azevedo]]></name>
- <phone>
- <areaCode>86</areaCode>
- <number>999770929</number>
- </phone>
- <hash>19e56353cd751e012e40308e96b94ead44c53ee221458387aadc4369e7e0743c</hash>
- </sender>
- <shipping>
- <type>3</type>
- <address>
- <street><![CDATA[AV PRESIDENTE KENNEDY]]></street>
- <number>2031</number>
- <postalCode>64049650</postalCode>
- <city><![CDATA[Horto Florestal]]></city>
- <state/>
- <country>BRA</country>
- </address>
- <cost>7.00</cost>
- </shipping>
- <creditCard>
- <token>fa5df439c8e84ebc9e3fd74bff6e3538</token>
- <installment>
- <quantity>1</quantity>
- <value>96.00</value>
- </installment>
- <holder>
- <name><![CDATA[ricardo azevedo do rego costsa filho]]></name>
- <documents>
- <document>
- <type>CPF</type>
- <value>00384549390</value>
- </document>
- </documents>
- <birthDate>30/05/1987</birthDate>
- <phone>
- <areaCode>86</areaCode>
- <number>32323141</number>
- </phone>
- </holder>
- <billingAddress>
- <street><![CDATA[AV PRESIDENTE KENNEDY]]></street>
- <number>2031</number>
- <city><![CDATA[Horto Florestal]]></city>
- <state/>
- <country>BRA</country>
- <postalCode>64049650</postalCode>
- </billingAddress>
- </creditCard>
- </payment>
- 01-30-2019 @ 17:53:52 - An error occurred while generating the PagSeguro direct payment: Array
- (
- [headers] => Requests_Utility_CaseInsensitiveDictionary Object
- (
- [data:protected] => Array
- (
- [date] => Wed, 30 Jan 2019 17:53:52 GMT
- [server] => Apache-Coyote/1.1
- [content-type] => application/xml;charset=ISO-8859-1
- [cache-control] => max-age=180
- [expires] => Wed, 30 Jan 2019 17:56:52 GMT
- [vary] => Accept-Encoding,User-Agent
- [content-encoding] => gzip
- [access-control-allow-origin] => https://dev.pagseguro.uol.com.br
- [access-control-allow-methods] => POST, GET, OPTIONS
- [access-control-allow-headers] => Content-Type, origin, accept
- [content-length] => 181
- )
- )
- [body] => <?xml version="1.0" encoding="ISO-8859-1" standalone="yes"?><errors><error><code>53029</code><message>shipping address district is required.</message></error><error><code>53033</code><message>shipping address state is required.</message></error><error><code>53060</code><message>billing address district is required.</message></error><error><code>53064</code><message>billing address state is required.</message></error></errors>
- [response] => Array
- (
- [code] => 400
- [message] => Bad Request
- )
- [cookies] => Array
- (
- )
- [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>53029</code><message>shipping address district is required.</message></error><error><code>53033</code><message>shipping address state is required.</message></error><error><code>53060</code><message>billing address district is required.</message></error><error><code>53064</code><message>billing address state is required.</message></error></errors>
- [raw] => HTTP/1.1 400 Bad Request
- Date: Wed, 30 Jan 2019 17:53:52 GMT
- Server: Apache-Coyote/1.1
- Content-Type: application/xml;charset=ISO-8859-1
- Cache-Control: max-age=180
- Expires: Wed, 30 Jan 2019 17:56:52 GMT
- Vary: Accept-Encoding,User-Agent
- Content-Encoding: gzip
- Access-Control-Allow-Origin: https://dev.pagseguro.uol.com.br
- Access-Control-Allow-Methods: POST, GET, OPTIONS
- Access-Control-Allow-Headers: Content-Type, origin, accept
- Content-Length: 181
- Connection: close
- <?xml version="1.0" encoding="ISO-8859-1" standalone="yes"?><errors><error><code>53029</code><message>shipping address district is required.</message></error><error><code>53033</code><message>shipping address state is required.</message></error><error><code>53060</code><message>billing address district is required.</message></error><error><code>53064</code><message>billing address state is required.</message></error></errors>
- [headers] => Requests_Response_Headers Object
- (
- [data:protected] => Array
- (
- [date] => Array
- (
- [0] => Wed, 30 Jan 2019 17:53:52 GMT
- )
- [server] => Array
- (
- [0] => Apache-Coyote/1.1
- )
- [content-type] => Array
- (
- [0] => application/xml;charset=ISO-8859-1
- )
- [cache-control] => Array
- (
- [0] => max-age=180
- )
- [expires] => Array
- (
- [0] => Wed, 30 Jan 2019 17:56:52 GMT
- )
- [vary] => Array
- (
- [0] => Accept-Encoding,User-Agent
- )
- [content-encoding] => Array
- (
- [0] => gzip
- )
- [access-control-allow-origin] => Array
- (
- [0] => https://dev.pagseguro.uol.com.br
- )
- [access-control-allow-methods] => Array
- (
- [0] => POST, GET, OPTIONS
- )
- [access-control-allow-headers] => Array
- (
- [0] => Content-Type, origin, accept
- )
- [content-length] => Array
- (
- [0] => 181
- )
- )
- )
- [status_code] => 400
- [protocol_version] => 1.1
- [success] =>
- [redirects] => 0
- [url] => https://ws.sandbox.pagseguro.uol.com.br/v2/transactions?email=ricardoazeved@hotmail.com&token=66171D967EFB4355A772C17EFE77A7DC
- [history] => Array
- (
- )
- [cookies] => Requests_Cookie_Jar Object
- (
- [cookies:protected] => Array
- (
- )
- )
- )
- [filename:protected] =>
- [data] =>
- [headers] =>
- [status] =>
- )
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement