Array ( [headers] => WpOrg\Requests\Utility\CaseInsensitiveDictionary Object ( [data:protected] => Array ( [date] => Mon, 25 Nov 2024 04:09:13 GMT [server] => Apache/2.4.52 (Ubuntu) [set-cookie] => PHPSESSID=g3tqsl947hdamc6t9og7en6d0h; path=/ [expires] => Thu, 19 Nov 1981 08:52:00 GMT [cache-control] => no-store, no-cache, must-revalidate [pragma] => no-cache [x-robots-tag] => noindex [link] => ; rel="https://api.w.org/" [x-content-type-options] => nosniff [access-control-expose-headers] => X-WP-Total, X-WP-TotalPages, Link [access-control-allow-headers] => Authorization, X-WP-Nonce, Content-Disposition, Content-MD5, Content-Type [content-length] => 123 [content-type] => application/json; charset=UTF-8 ) ) [body] => {"code":"woocommerce_rest_cannot_create","message":"Sorry, you are not allowed to create resources.","data":{"status":401}} [response] => Array ( [code] => 401 [message] => Unauthorized ) [cookies] => Array ( [0] => WP_Http_Cookie Object ( [name] => PHPSESSID [value] => g3tqsl947hdamc6t9og7en6d0h [expires] => [path] => / [domain] => myalftraining.com [port] => [host_only] => 1 ) ) [filename] => [http_response] => WP_HTTP_Requests_Response Object ( [response:protected] => WpOrg\Requests\Response Object ( [body] => {"code":"woocommerce_rest_cannot_create","message":"Sorry, you are not allowed to create resources.","data":{"status":401}} [raw] => HTTP/1.1 401 Unauthorized Date: Mon, 25 Nov 2024 04:09:13 GMT Server: Apache/2.4.52 (Ubuntu) Set-Cookie: PHPSESSID=g3tqsl947hdamc6t9og7en6d0h; path=/ Expires: Thu, 19 Nov 1981 08:52:00 GMT Cache-Control: no-store, no-cache, must-revalidate Pragma: no-cache X-Robots-Tag: noindex Link: ; rel="https://api.w.org/" X-Content-Type-Options: nosniff Access-Control-Expose-Headers: X-WP-Total, X-WP-TotalPages, Link Access-Control-Allow-Headers: Authorization, X-WP-Nonce, Content-Disposition, Content-MD5, Content-Type Content-Length: 123 Connection: close Content-Type: application/json; charset=UTF-8 {"code":"woocommerce_rest_cannot_create","message":"Sorry, you are not allowed to create resources.","data":{"status":401}} [headers] => WpOrg\Requests\Response\Headers Object ( [data:protected] => Array ( [date] => Array ( [0] => Mon, 25 Nov 2024 04:09:13 GMT ) [server] => Array ( [0] => Apache/2.4.52 (Ubuntu) ) [set-cookie] => Array ( [0] => PHPSESSID=g3tqsl947hdamc6t9og7en6d0h; path=/ ) [expires] => Array ( [0] => Thu, 19 Nov 1981 08:52:00 GMT ) [cache-control] => Array ( [0] => no-store, no-cache, must-revalidate ) [pragma] => Array ( [0] => no-cache ) [x-robots-tag] => Array ( [0] => noindex ) [link] => Array ( [0] => ; rel="https://api.w.org/" ) [x-content-type-options] => Array ( [0] => nosniff ) [access-control-expose-headers] => Array ( [0] => X-WP-Total, X-WP-TotalPages, Link ) [access-control-allow-headers] => Array ( [0] => Authorization, X-WP-Nonce, Content-Disposition, Content-MD5, Content-Type ) [content-length] => Array ( [0] => 123 ) [content-type] => Array ( [0] => application/json; charset=UTF-8 ) ) ) [status_code] => 401 [protocol_version] => 1.1 [success] => [redirects] => 0 [url] => https://myalftraining.com/wp-json/wc/v3/orders [history] => Array ( ) [cookies] => WpOrg\Requests\Cookie\Jar Object ( [cookies:protected] => Array ( [PHPSESSID] => WpOrg\Requests\Cookie Object ( [name] => PHPSESSID [value] => g3tqsl947hdamc6t9og7en6d0h [attributes] => WpOrg\Requests\Utility\CaseInsensitiveDictionary Object ( [data:protected] => Array ( [path] => / [domain] => myalftraining.com ) ) [flags] => Array ( [creation] => 1732507753 [last-access] => 1732507753 [persistent] => [host-only] => 1 ) [reference_time] => 1732507753 ) ) ) ) [filename:protected] => [data] => [headers] => [status] => ) )