Skip to content

Instantly share code, notes, and snippets.

@shingonoide
Created January 3, 2017 16:42
Show Gist options
  • Save shingonoide/7b05883b0a9ef1fe93df48eba1ed8a9c to your computer and use it in GitHub Desktop.
Save shingonoide/7b05883b0a9ef1fe93df48eba1ed8a9c to your computer and use it in GitHub Desktop.
01-03-2017 @ 14:34:52 - Getting the order installments...
01-03-2017 @ 14:34:52 - request[headers]:Array
(
)
01-03-2017 @ 14:34:52 - request[body]:Array
(
[api_key] => recorrenteNet_b0c03713-a906-4f03-8d69-d668b68cd99c
[amount] => 10300
[interest_rate] => 1
[max_installments] => 12
[free_installments] => 10
)
01-03-2017 @ 14:34:52 - request[to]: https://recorrente.net/1/transactions/calculate_installments_amount
01-03-2017 @ 14:34:53 - Failed to get the installments: Array
(
[headers] => Requests_Utility_CaseInsensitiveDictionary Object
(
[data:protected] => Array
(
[content-type] => application/json
[server] => mORMot/1.18.1375 (Windows) Microsoft-HTTPAPI/2.0
[x-powered-by] => Synopse mORMot 1.18.1375 http://synopse.info
[accept-encoding] => deflate
[date] => Tue, 03 Jan 2017 16:34:53 GMT
[content-length] => 166
)
)
[body] => {"url":"\/1\/transactions\/calculate_installments_amount?","method":"GET","errors":[{"message":"Sem parametros","parameter_name":"Consulta Transacao","type":"Erro"}]}
[response] => Array
(
[code] => 400
[message] => Bad Request
)
[cookies] => Array
(
)
[filename] =>
[http_response] => WP_HTTP_Requests_Response Object
(
[response:protected] => Requests_Response Object
(
[body] => {"url":"\/1\/transactions\/calculate_installments_amount?","method":"GET","errors":[{"message":"Sem parametros","parameter_name":"Consulta Transacao","type":"Erro"}]}
[raw] => HTTP/1.1 400 Bad Request
Content-Type: application/json
Server: mORMot/1.18.1375 (Windows) Microsoft-HTTPAPI/2.0
X-Powered-By: Synopse mORMot 1.18.1375 http://synopse.info
Accept-Encoding: deflate
Date: Tue, 03 Jan 2017 16:34:53 GMT
Connection: close
Content-Length: 166
{"url":"\/1\/transactions\/calculate_installments_amount?","method":"GET","errors":[{"message":"Sem parametros","parameter_name":"Consulta Transacao","type":"Erro"}]}
[headers] => Requests_Response_Headers Object
(
[data:protected] => Array
(
[content-type] => Array
(
[0] => application/json
)
[server] => Array
(
[0] => mORMot/1.18.1375 (Windows) Microsoft-HTTPAPI/2.0
)
[x-powered-by] => Array
(
[0] => Synopse mORMot 1.18.1375 http://synopse.info
)
[accept-encoding] => Array
(
[0] => deflate
)
[date] => Array
(
[0] => Tue, 03 Jan 2017 16:34:53 GMT
)
[content-length] => Array
(
[0] => 166
)
)
)
[status_code] => 400
[protocol_version] => 1.1
[success] =>
[redirects] => 0
[url] => https://recorrente.net/1/transactions/calculate_installments_amount
[history] => Array
(
)
[cookies] => Requests_Cookie_Jar Object
(
[cookies:protected] => Array
(
)
)
)
[filename:protected] =>
[data] =>
[headers] =>
[status] =>
)
)
01-03-2017 @ 14:39:22 - Getting the order installments...
01-03-2017 @ 14:39:22 - request[headers]:Array
(
)
01-03-2017 @ 14:39:22 - request[body]:{"api_key":"recorrenteNet_b0c03713-a906-4f03-8d69-d668b68cd99c","amount":10300,"interest_rate":"1","max_installments":"12","free_installments":"10"}
01-03-2017 @ 14:39:22 - request[to]: https://recorrente.net/1/transactions/calculate_installments_amount
01-03-2017 @ 14:39:23 - Failed to get the installments: Array
(
[headers] => Requests_Utility_CaseInsensitiveDictionary Object
(
[data:protected] => Array
(
[content-type] => application/json
[server] => mORMot/1.18.1375 (Windows) Microsoft-HTTPAPI/2.0
[x-powered-by] => Synopse mORMot 1.18.1375 http://synopse.info
[accept-encoding] => deflate
[date] => Tue, 03 Jan 2017 16:39:23 GMT
[content-length] => 166
)
)
[body] => {"url":"\/1\/transactions\/calculate_installments_amount?","method":"GET","errors":[{"message":"Sem parametros","parameter_name":"Consulta Transacao","type":"Erro"}]}
[response] => Array
(
[code] => 400
[message] => Bad Request
)
[cookies] => Array
(
)
[filename] =>
[http_response] => WP_HTTP_Requests_Response Object
(
[response:protected] => Requests_Response Object
(
[body] => {"url":"\/1\/transactions\/calculate_installments_amount?","method":"GET","errors":[{"message":"Sem parametros","parameter_name":"Consulta Transacao","type":"Erro"}]}
[raw] => HTTP/1.1 400 Bad Request
Content-Type: application/json
Server: mORMot/1.18.1375 (Windows) Microsoft-HTTPAPI/2.0
X-Powered-By: Synopse mORMot 1.18.1375 http://synopse.info
Accept-Encoding: deflate
Date: Tue, 03 Jan 2017 16:39:23 GMT
Connection: close
Content-Length: 166
{"url":"\/1\/transactions\/calculate_installments_amount?","method":"GET","errors":[{"message":"Sem parametros","parameter_name":"Consulta Transacao","type":"Erro"}]}
[headers] => Requests_Response_Headers Object
(
[data:protected] => Array
(
[content-type] => Array
(
[0] => application/json
)
[server] => Array
(
[0] => mORMot/1.18.1375 (Windows) Microsoft-HTTPAPI/2.0
)
[x-powered-by] => Array
(
[0] => Synopse mORMot 1.18.1375 http://synopse.info
)
[accept-encoding] => Array
(
[0] => deflate
)
[date] => Array
(
[0] => Tue, 03 Jan 2017 16:39:23 GMT
)
[content-length] => Array
(
[0] => 166
)
)
)
[status_code] => 400
[protocol_version] => 1.1
[success] =>
[redirects] => 0
[url] => https://recorrente.net/1/transactions/calculate_installments_amount
[history] => Array
(
)
[cookies] => Requests_Cookie_Jar Object
(
[cookies:protected] => Array
(
)
)
)
[filename:protected] =>
[data] =>
[headers] =>
[status] =>
)
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment