object(XeroOAuth)#2 (15) { ["_xero_defaults"]=> array(4) { ["xero_url"]=> string(21) "https://api.xero.com/" ["site"]=> string(20) "https://api.xero.com" ["authorize_url"]=> string(36) "https://api.xero.com/oauth/Authorize" ["signature_method"]=> string(9) "HMAC-SHA1" } ["_xero_consumer_options"]=> array(3) { ["request_token_path"]=> string(18) "oauth/RequestToken" ["access_token_path"]=> string(17) "oauth/AccessToken" ["authorize_path"]=> string(15) "oauth/Authorize" } ["_action"]=> NULL ["_nonce_chars"]=> NULL ["params"]=> array(0) { } ["headers"]=> array(4) { ["Accept"]=> string(15) "application/xml" ["Content-Type"]=> string(0) "" ["Content-Length"]=> int(0) ["Expect"]=> string(0) "" } ["auto_fixed_time"]=> bool(false) ["buffer"]=> NULL ["_xero_curl_options"]=> array(10) { ["curl_connecttimeout"]=> int(30) ["curl_timeout"]=> int(10) ["curl_ssl_verifypeer"]=> bool(false) ["curl_cainfo"]=> string(13) "./certs/a.crt" ["curl_followlocation"]=> bool(false) ["curl_ssl_verifyhost"]=> bool(true) ["curl_proxy"]=> bool(false) ["curl_proxyuserpwd"]=> bool(false) ["curl_encoding"]=> string(0) "" ["curl_verbose"]=> bool(true) } ["config"]=> array(28) { ["application_type"]=> string(6) "Public" ["oauth_callback"]=> string(61) "http://smarterbueinssssoftware/GSTReport2Invoice/xeroAuth.php" ["user_agent"]=> string(9) "SBS-Razor" ["consumer_key"]=> string(30) "WX5OE0KYA6POCSWWR4CA5NZZMVKYYT" ["shared_secret"]=> string(30) "WTPF9QU7REGGU12OYMRD0NEZLLGDFE" ["core_version"]=> string(3) "2.0" ["payroll_version"]=> string(3) "1.0" ["xero_url"]=> string(21) "https://api.xero.com/" ["site"]=> string(20) "https://api.xero.com" ["authorize_url"]=> string(36) "https://api.xero.com/oauth/Authorize" ["signature_method"]=> string(9) "HMAC-SHA1" ["request_token_path"]=> string(18) "oauth/RequestToken" ["access_token_path"]=> string(17) "oauth/AccessToken" ["authorize_path"]=> string(15) "oauth/Authorize" ["curl_connecttimeout"]=> int(30) ["curl_timeout"]=> int(10) ["curl_ssl_verifypeer"]=> bool(false) ["curl_cainfo"]=> string(13) "./certs/a.crt" ["curl_followlocation"]=> bool(false) ["curl_ssl_verifyhost"]=> bool(true) ["curl_proxy"]=> bool(false) ["curl_proxyuserpwd"]=> bool(false) ["curl_encoding"]=> string(0) "" ["curl_verbose"]=> bool(true) ["access_token"]=> NULL ["access_token_secret"]=> NULL ["host"]=> string(27) "https://api.xero.com/oauth/" ["multipart"]=> bool(false) } ["method"]=> string(3) "GET" ["url"]=> string(39) "https://api.xero.com/oauth/RequestToken" ["sign"]=> array(5) { ["parameters"]=> array(8) { ["oauth_callback"]=> string(61) "http://apps.smarterbusinesssoftware.com.au/razor/xeroAuth.php" ["oauth_consumer_key"]=> string(30) "WX5OE0KYA6POCSWWR4CA5NZZMVKYYT" ["oauth_nonce"]=> string(5) "3E5eK" ["oauth_signature_method"]=> string(9) "HMAC-SHA1" ["oauth_timestamp"]=> int(1575962652) ["oauth_version"]=> string(3) "1.0" ["order"]=> string(0) "" ["oauth_signature"]=> string(28) "zcJlDAMkMd6PczKLoMOQUvK+qIQ=" } ["signature"]=> string(32) "zcJlDAMkMd6PczKLoMOQUvK%2BqIQ%3D" ["signed_url"]=> string(328) "https://api.xero.com/oauth/RequestToken?oauth_callback=http%3A%2F%2Fapps.smarterbusinesssoftware.com.au%2Frazor%2FxeroAuth.php&oauth_consumer_key=WX5OE0KYA6POCSWWR4CA5NZZMVKYYT&oauth_nonce=3E5eK&oauth_signature=zcJlDAMkMd6PczKLoMOQUvK%2BqIQ%3D&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1575962652&oauth_version=1.0&order=" ["header"]=> string(307) "OAuth oauth_callback="http%3A%2F%2Fapps.smarterbusinesssoftware.com.au%2Frazor%2FxeroAuth.php", oauth_consumer_key="WX5OE0KYA6POCSWWR4CA5NZZMVKYYT", oauth_nonce="3E5eK", oauth_signature="zcJlDAMkMd6PczKLoMOQUvK%2BqIQ%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1575962652", oauth_version="1.0"" ["sbs"]=> string(329) "GET&https%3A%2F%2Fapi.xero.com%2Foauth%2FRequestToken&oauth_callback%3Dhttp%253A%252F%252Fapps.smarterbusinesssoftware.com.au%252Frazor%252FxeroAuth.php%26oauth_consumer_key%3DWX5OE0KYA6POCSWWR4CA5NZZMVKYYT%26oauth_nonce%3D3E5eK%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1575962652%26oauth_version%3D1.0%26order%3D" } ["format"]=> string(3) "xml" ["response"]=> array(5) { ["headers"]=> array(10) { ["content_type"]=> string(24) "text/html; charset=utf-8" ["strict_transport_security"]=> string(16) "max-age=31536000" ["www_authenticate"]=> string(26) "OAuth Realm="api.xero.com"" ["content_length"]=> string(3) "123" ["expires"]=> string(29) "Tue, 10 Dec 2019 07:24:13 GMT" ["cache_control"]=> string(29) "max-age=0, no-cache, no-store" ["pragma"]=> string(8) "no-cache" ["date"]=> string(29) "Tue, 10 Dec 2019 07:24:13 GMT" ["connection"]=> string(10) "keep-alive" ["x_client_tls_ver"]=> string(6) "tls1.2" } ["code"]=> int(400) ["response"]=> string(123) "oauth_problem=parameter_rejected&oauth_problem_advice=Callback%20url%20is%20not%20in%20the%20registered%20callback%20domain" ["info"]=> array(27) { ["url"]=> string(328) "https://api.xero.com/oauth/RequestToken?oauth_callback=http%3A%2F%2Fapps.smarterbusinesssoftware.com.au%2Frazor%2FxeroAuth.php&oauth_consumer_key=WX5OE0KYA6POCSWWR4CA5NZZMVKYYT&oauth_nonce=3E5eK&oauth_signature=zcJlDAMkMd6PczKLoMOQUvK%2BqIQ%3D&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1575962652&oauth_version=1.0&order=" ["content_type"]=> string(24) "text/html; charset=utf-8" ["http_code"]=> int(400) ["header_size"]=> int(371) ["request_size"]=> int(444) ["filetime"]=> int(-1) ["ssl_verify_result"]=> int(20) ["redirect_count"]=> int(0) ["total_time"]=> float(0.304351) ["namelookup_time"]=> float(0.009943) ["connect_time"]=> float(0.017474) ["pretransfer_time"]=> float(0.039699) ["size_upload"]=> float(0) ["size_download"]=> float(123) ["speed_download"]=> float(404) ["speed_upload"]=> float(0) ["download_content_length"]=> float(123) ["upload_content_length"]=> float(-1) ["starttransfer_time"]=> float(0.304147) ["redirect_time"]=> float(0) ["redirect_url"]=> string(0) "" ["primary_ip"]=> string(14) "23.202.170.221" ["certinfo"]=> array(0) { } ["primary_port"]=> int(443) ["local_ip"]=> string(12) "101.0.117.31" ["local_port"]=> int(31027) ["request_header"]=> string(444) "GET /oauth/RequestToken?oauth_callback=http%3A%2F%2Fapps.smarterbusinesssoftware.com.au%2Frazor%2FxeroAuth.php&oauth_consumer_key=WX5OE0KYA6POCSWWR4CA5NZZMVKYYT&oauth_nonce=3E5eK&oauth_signature=zcJlDAMkMd6PczKLoMOQUvK%2BqIQ%3D&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1575962652&oauth_version=1.0&order= HTTP/1.1 Host: api.xero.com User-Agent: SBS-Razor Accept-Encoding: deflate, gzip Accept: application/xml Content-Length: 0 " } ["format"]=> string(3) "xml" } }