Posted on

Debug 977 – wc_order_update

object(stdClass)#2141 (42) {
  ["id"]=>
  int(977)
  ["parent_id"]=>
  int(0)
  ["number"]=>
  string(3) "977"
  ["order_key"]=>
  string(22) "wc_order_rfntiHy4RXnTH"
  ["created_via"]=>
  string(8) "checkout"
  ["version"]=>
  string(5) "3.7.0"
  ["status"]=>
  string(9) "completed"
  ["currency"]=>
  string(3) "MNT"
  ["date_created"]=>
  string(19) "2019-08-22T10:41:33"
  ["date_created_gmt"]=>
  string(19) "2019-08-22T02:41:33"
  ["date_modified"]=>
  string(19) "2019-09-14T14:40:13"
  ["date_modified_gmt"]=>
  string(19) "2019-09-14T06:40:13"
  ["discount_total"]=>
  string(1) "0"
  ["discount_tax"]=>
  string(1) "0"
  ["shipping_total"]=>
  string(1) "0"
  ["shipping_tax"]=>
  string(1) "0"
  ["cart_tax"]=>
  string(6) "186500"
  ["total"]=>
  string(7) "2051500"
  ["total_tax"]=>
  string(6) "186500"
  ["prices_include_tax"]=>
  bool(false)
  ["customer_id"]=>
  int(2)
  ["customer_ip_address"]=>
  string(14) "43.228.129.155"
  ["customer_user_agent"]=>
  string(114) "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.100 Safari/537.36"
  ["customer_note"]=>
  string(0) ""
  ["billing"]=>
  object(stdClass)#2142 (11) {
    ["first_name"]=>
    string(10) "Shinekhuu2"
    ["last_name"]=>
    string(0) ""
    ["company"]=>
    string(8) "Enkomion"
    ["address_1"]=>
    string(43) "Amarsanaa's Street, Bayangol District 16063"
    ["address_2"]=>
    string(0) ""
    ["city"]=>
    string(0) ""
    ["state"]=>
    string(0) ""
    ["postcode"]=>
    string(0) ""
    ["country"]=>
    string(0) ""
    ["email"]=>
    string(17) "mrjabga@gmail.com"
    ["phone"]=>
    string(8) "88876153"
  }
  ["shipping"]=>
  object(stdClass)#2143 (9) {
    ["first_name"]=>
    string(10) "Shinekhuu2"
    ["last_name"]=>
    string(0) ""
    ["company"]=>
    string(8) "Enkomion"
    ["address_1"]=>
    string(43) "Amarsanaa's Street, Bayangol District 16063"
    ["address_2"]=>
    string(0) ""
    ["city"]=>
    string(0) ""
    ["state"]=>
    string(0) ""
    ["postcode"]=>
    string(0) ""
    ["country"]=>
    string(0) ""
  }
  ["payment_method"]=>
  string(4) "bacs"
  ["payment_method_title"]=>
  string(20) "Direct bank transfer"
  ["transaction_id"]=>
  string(0) ""
  ["date_paid"]=>
  string(19) "2019-08-22T20:33:45"
  ["date_paid_gmt"]=>
  string(19) "2019-08-22T12:33:45"
  ["date_completed"]=>
  string(19) "2019-09-14T14:40:13"
  ["date_completed_gmt"]=>
  string(19) "2019-09-14T06:40:13"
  ["cart_hash"]=>
  string(32) "583bb23325d01f9ec9b76ada9c66d8f7"
  ["meta_data"]=>
  array(10) {
    [0]=>
    object(stdClass)#2144 (3) {
      ["id"]=>
      int(16326)
      ["key"]=>
      string(12) "_billing_vat"
      ["value"]=>
      string(7) "5162122"
    }
    [1]=>
    object(stdClass)#2145 (3) {
      ["id"]=>
      int(16327)
      ["key"]=>
      string(22) "_billing_contact_email"
      ["value"]=>
      string(21) "d.shinekhuu@gmail.com"
    }
    [2]=>
    object(stdClass)#2146 (3) {
      ["id"]=>
      int(16328)
      ["key"]=>
      string(13) "is_vat_exempt"
      ["value"]=>
      string(2) "no"
    }
    [3]=>
    object(stdClass)#2147 (3) {
      ["id"]=>
      int(16329)
      ["key"]=>
      string(21) "Delivery Contact Name"
      ["value"]=>
      string(6) "Shinee"
    }
    [4]=>
    object(stdClass)#2148 (3) {
      ["id"]=>
      int(16330)
      ["key"]=>
      string(22) "Delivery Contact Phone"
      ["value"]=>
      string(21) "d.shinekhuu@gmail.com"
    }
    [5]=>
    object(stdClass)#2149 (3) {
      ["id"]=>
      int(16335)
      ["key"]=>
      string(23) "_wcpdf_invoice_settings"
      ["value"]=>
      object(stdClass)#2150 (20) {
        ["enabled"]=>
        string(1) "1"
        ["attach_to_email_ids"]=>
        object(stdClass)#2151 (5) {
          ["new_order"]=>
          string(1) "1"
          ["customer_on_hold_order"]=>
          string(1) "1"
          ["customer_processing_order"]=>
          string(1) "1"
          ["customer_completed_order"]=>
          string(1) "1"
          ["customer_invoice"]=>
          string(1) "1"
        }
        ["display_shipping_address"]=>
        string(1) "1"
        ["display_email"]=>
        string(1) "1"
        ["display_phone"]=>
        string(1) "1"
        ["display_date"]=>
        string(12) "invoice_date"
        ["display_number"]=>
        string(14) "invoice_number"
        ["number_format"]=>
        object(stdClass)#2152 (3) {
          ["prefix"]=>
          string(0) ""
          ["suffix"]=>
          string(0) ""
          ["padding"]=>
          string(0) ""
        }
        ["my_account_buttons"]=>
        string(9) "available"
        ["invoice_number_column"]=>
        string(1) "1"
        ["use_latest_settings"]=>
        string(1) "1"
        ["paper_size"]=>
        string(2) "a4"
        ["font_subsetting"]=>
        bool(false)
        ["header_logo"]=>
        string(2) "79"
        ["shop_name"]=>
        object(stdClass)#2153 (1) {
          ["default"]=>
          string(19) "Sonoforte Group LLC"
        }
        ["shop_address"]=>
        object(stdClass)#2154 (1) {
          ["default"]=>
          string(180) "3 Floor, MGG Properties Office Building, Seoul Street 7/1, 
Sukhbaatar District, Ulaanbaatar, Mongolia 
Phone: +976 77000121 
E-mail: info@sonoforte.com 
Web: www.sonoforte.com"
        }
        ["footer"]=>
        object(stdClass)#2155 (1) {
          ["default"]=>
          string(53) "Signature and Date:"
        }
        ["extra_1"]=>
        object(stdClass)#2156 (1) {
          ["default"]=>
          string(0) ""
        }
        ["extra_2"]=>
        object(stdClass)#2157 (1) {
          ["default"]=>
          string(0) ""
        }
        ["extra_3"]=>
        object(stdClass)#2158 (1) {
          ["default"]=>
          string(0) ""
        }
      }
    }
    [6]=>
    object(stdClass)#2159 (3) {
      ["id"]=>
      int(16336)
      ["key"]=>
      string(19) "_wcpdf_invoice_date"
      ["value"]=>
      string(10) "1566441694"
    }
    [7]=>
    object(stdClass)#2160 (3) {
      ["id"]=>
      int(16337)
      ["key"]=>
      string(29) "_wcpdf_invoice_date_formatted"
      ["value"]=>
      string(19) "2019-08-22 10:41:34"
    }
    [8]=>
    object(stdClass)#2161 (3) {
      ["id"]=>
      int(16338)
      ["key"]=>
      string(21) "_wcpdf_invoice_number"
      ["value"]=>
      string(2) "28"
    }
    [9]=>
    object(stdClass)#2162 (3) {
      ["id"]=>
      int(16339)
      ["key"]=>
      string(26) "_wcpdf_invoice_number_data"
      ["value"]=>
      object(stdClass)#2163 (7) {
        ["number"]=>
        int(28)
        ["formatted_number"]=>
        string(2) "28"
        ["prefix"]=>
        string(0) ""
        ["suffix"]=>
        string(0) ""
        ["document_type"]=>
        string(7) "invoice"
        ["order_id"]=>
        int(977)
        ["padding"]=>
        string(0) ""
      }
    }
  }
  ["line_items"]=>
  array(3) {
    [0]=>
    object(stdClass)#2164 (14) {
      ["id"]=>
      int(81)
      ["name"]=>
      string(20) "Eye-to-Eye Webslings"
      ["product_id"]=>
      int(205)
      ["variation_id"]=>
      int(213)
      ["quantity"]=>
      int(10)
      ["tax_class"]=>
      string(0) ""
      ["subtotal"]=>
      string(6) "600000"
      ["subtotal_tax"]=>
      string(5) "60000"
      ["total"]=>
      string(6) "600000"
      ["total_tax"]=>
      string(5) "60000"
      ["taxes"]=>
      array(1) {
        [0]=>
        object(stdClass)#2165 (3) {
          ["id"]=>
          int(1)
          ["total"]=>
          string(5) "60000"
          ["subtotal"]=>
          string(5) "60000"
        }
      }
      ["meta_data"]=>
      array(4) {
        [0]=>
        object(stdClass)#2166 (3) {
          ["id"]=>
          int(807)
          ["key"]=>
          string(8) "pa_wll-t"
          ["value"]=>
          string(1) "3"
        }
        [1]=>
        object(stdClass)#2167 (3) {
          ["id"]=>
          int(808)
          ["key"]=>
          string(17) "pa_sling-length-m"
          ["value"]=>
          string(1) "3"
        }
        [2]=>
        object(stdClass)#2168 (3) {
          ["id"]=>
          int(809)
          ["key"]=>
          string(12) "pa_weight-kg"
          ["value"]=>
          string(3) "tbc"
        }
        [3]=>
        object(stdClass)#2169 (3) {
          ["id"]=>
          int(901)
          ["key"]=>
          string(14) "_reduced_stock"
          ["value"]=>
          string(2) "10"
        }
      }
      ["sku"]=>
      string(7) "EEW-008"
      ["price"]=>
      int(60000)
    }
    [1]=>
    object(stdClass)#2170 (14) {
      ["id"]=>
      int(82)
      ["name"]=>
      string(20) "Eye-to-Eye Webslings"
      ["product_id"]=>
      int(205)
      ["variation_id"]=>
      int(210)
      ["quantity"]=>
      int(17)
      ["tax_class"]=>
      string(0) ""
      ["subtotal"]=>
      string(7) "1190000"
      ["subtotal_tax"]=>
      string(6) "119000"
      ["total"]=>
      string(7) "1190000"
      ["total_tax"]=>
      string(6) "119000"
      ["taxes"]=>
      array(1) {
        [0]=>
        object(stdClass)#2171 (3) {
          ["id"]=>
          int(1)
          ["total"]=>
          string(6) "119000"
          ["subtotal"]=>
          string(6) "119000"
        }
      }
      ["meta_data"]=>
      array(4) {
        [0]=>
        object(stdClass)#2172 (3) {
          ["id"]=>
          int(819)
          ["key"]=>
          string(8) "pa_wll-t"
          ["value"]=>
          string(1) "2"
        }
        [1]=>
        object(stdClass)#2173 (3) {
          ["id"]=>
          int(820)
          ["key"]=>
          string(17) "pa_sling-length-m"
          ["value"]=>
          string(1) "4"
        }
        [2]=>
        object(stdClass)#2174 (3) {
          ["id"]=>
          int(821)
          ["key"]=>
          string(12) "pa_weight-kg"
          ["value"]=>
          string(3) "tbc"
        }
        [3]=>
        object(stdClass)#2175 (3) {
          ["id"]=>
          int(902)
          ["key"]=>
          string(14) "_reduced_stock"
          ["value"]=>
          string(2) "17"
        }
      }
      ["sku"]=>
      string(7) "EEW-005"
      ["price"]=>
      int(70000)
    }
    [2]=>
    object(stdClass)#2176 (14) {
      ["id"]=>
      int(83)
      ["name"]=>
      string(29) "Bow Shackles with Safety Bolt"
      ["product_id"]=>
      int(155)
      ["variation_id"]=>
      int(160)
      ["quantity"]=>
      int(10)
      ["tax_class"]=>
      string(0) ""
      ["subtotal"]=>
      string(5) "75000"
      ["subtotal_tax"]=>
      string(4) "7500"
      ["total"]=>
      string(5) "75000"
      ["total_tax"]=>
      string(4) "7500"
      ["taxes"]=>
      array(1) {
        [0]=>
        object(stdClass)#2177 (3) {
          ["id"]=>
          int(1)
          ["total"]=>
          string(4) "7500"
          ["subtotal"]=>
          string(4) "7500"
        }
      }
      ["meta_data"]=>
      array(5) {
        [0]=>
        object(stdClass)#2178 (3) {
          ["id"]=>
          int(831)
          ["key"]=>
          string(12) "pa_size-inch"
          ["value"]=>
          string(4) "7-16"
        }
        [1]=>
        object(stdClass)#2179 (3) {
          ["id"]=>
          int(832)
          ["key"]=>
          string(10) "pa_size-mm"
          ["value"]=>
          string(5) "11-11"
        }
        [2]=>
        object(stdClass)#2180 (3) {
          ["id"]=>
          int(833)
          ["key"]=>
          string(8) "pa_wll-t"
          ["value"]=>
          string(3) "1-5"
        }
        [3]=>
        object(stdClass)#2181 (3) {
          ["id"]=>
          int(834)
          ["key"]=>
          string(12) "pa_weight-kg"
          ["value"]=>
          string(4) "0-22"
        }
        [4]=>
        object(stdClass)#2182 (3) {
          ["id"]=>
          int(903)
          ["key"]=>
          string(14) "_reduced_stock"
          ["value"]=>
          string(2) "10"
        }
      }
      ["sku"]=>
      string(8) "BSBS-004"
      ["price"]=>
      int(7500)
    }
  }
  ["tax_lines"]=>
  array(1) {
    [0]=>
    object(stdClass)#2183 (9) {
      ["id"]=>
      int(84)
      ["rate_code"]=>
      string(5) "TAX-1"
      ["rate_id"]=>
      int(1)
      ["label"]=>
      string(3) "Tax"
      ["compound"]=>
      bool(false)
      ["tax_total"]=>
      string(6) "186500"
      ["shipping_tax_total"]=>
      string(1) "0"
      ["rate_percent"]=>
      int(0)
      ["meta_data"]=>
      array(0) {
      }
    }
  }
  ["shipping_lines"]=>
  array(0) {
  }
  ["fee_lines"]=>
  array(0) {
  }
  ["coupon_lines"]=>
  array(0) {
  }
  ["refunds"]=>
  array(0) {
  }
  ["_links"]=>
  object(stdClass)#2185 (3) {
    ["self"]=>
    array(1) {
      [0]=>
      object(stdClass)#2184 (1) {
        ["href"]=>
        string(46) "https://sonoforte.com/wp-json/wc/v3/orders/977"
      }
    }
    ["collection"]=>
    array(1) {
      [0]=>
      object(stdClass)#2186 (1) {
        ["href"]=>
        string(42) "https://sonoforte.com/wp-json/wc/v3/orders"
      }
    }
    ["customer"]=>
    array(1) {
      [0]=>
      object(stdClass)#2187 (1) {
        ["href"]=>
        string(47) "https://sonoforte.com/wp-json/wc/v3/customers/2"
      }
    }
  }
}