Posted on

Debug 1510 – wc_order_update

object(stdClass)#2196 (42) {
  ["id"]=>
  int(1510)
  ["parent_id"]=>
  int(0)
  ["number"]=>
  string(4) "1510"
  ["order_key"]=>
  string(22) "wc_order_h4RrKyyJNEUvz"
  ["created_via"]=>
  string(8) "checkout"
  ["version"]=>
  string(5) "3.9.1"
  ["status"]=>
  string(9) "completed"
  ["currency"]=>
  string(3) "MNT"
  ["date_created"]=>
  string(19) "2020-03-02T15:06:45"
  ["date_created_gmt"]=>
  string(19) "2020-03-02T07:06:45"
  ["date_modified"]=>
  string(19) "2020-03-03T17:08:41"
  ["date_modified_gmt"]=>
  string(19) "2020-03-03T09:08:41"
  ["discount_total"]=>
  string(1) "0"
  ["discount_tax"]=>
  string(1) "0"
  ["shipping_total"]=>
  string(1) "0"
  ["shipping_tax"]=>
  string(1) "0"
  ["cart_tax"]=>
  string(6) "424000"
  ["total"]=>
  string(7) "4664000"
  ["total_tax"]=>
  string(6) "424000"
  ["prices_include_tax"]=>
  bool(false)
  ["customer_id"]=>
  int(41)
  ["customer_ip_address"]=>
  string(15) "165.225.110.135"
  ["customer_user_agent"]=>
  string(115) "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.122 Safari/537.36"
  ["customer_note"]=>
  string(0) ""
  ["billing"]=>
  object(stdClass)#2197 (11) {
    ["first_name"]=>
    string(9) "Batdelger"
    ["last_name"]=>
    string(0) ""
    ["company"]=>
    string(16) "Sandvik Mongolia"
    ["address_1"]=>
    string(66) "3th khoroo, Chinggis avenue, 17032, Khan-uul district, Ulaanbaatar"
    ["address_2"]=>
    string(0) ""
    ["city"]=>
    string(0) ""
    ["state"]=>
    string(0) ""
    ["postcode"]=>
    string(0) ""
    ["country"]=>
    string(0) ""
    ["email"]=>
    string(31) "dashdeleg.batdelger@sandvik.com"
    ["phone"]=>
    string(8) "94001954"
  }
  ["shipping"]=>
  object(stdClass)#2198 (9) {
    ["first_name"]=>
    string(9) "Batdelger"
    ["last_name"]=>
    string(0) ""
    ["company"]=>
    string(16) "Sandvik Mongolia"
    ["address_1"]=>
    string(66) "3th khoroo, Chinggis avenue, 17032, Khan-uul district, Ulaanbaatar"
    ["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) "2020-03-03T17:08:41"
  ["date_paid_gmt"]=>
  string(19) "2020-03-03T09:08:41"
  ["date_completed"]=>
  string(19) "2020-03-03T17:08:41"
  ["date_completed_gmt"]=>
  string(19) "2020-03-03T09:08:41"
  ["cart_hash"]=>
  string(32) "9b9179ff81035887b9cb4c02f7842a3a"
  ["meta_data"]=>
  array(12) {
    [0]=>
    object(stdClass)#2199 (3) {
      ["id"]=>
      int(22005)
      ["key"]=>
      string(12) "_billing_vat"
      ["value"]=>
      string(7) "5142474"
    }
    [1]=>
    object(stdClass)#2200 (3) {
      ["id"]=>
      int(22006)
      ["key"]=>
      string(22) "_billing_contact_email"
      ["value"]=>
      string(31) "batdelger.dashdeleg@sandvik.com"
    }
    [2]=>
    object(stdClass)#2201 (3) {
      ["id"]=>
      int(22007)
      ["key"]=>
      string(13) "is_vat_exempt"
      ["value"]=>
      string(2) "no"
    }
    [3]=>
    object(stdClass)#2202 (3) {
      ["id"]=>
      int(22008)
      ["key"]=>
      string(21) "Delivery Contact Name"
      ["value"]=>
      string(9) "Batdelger"
    }
    [4]=>
    object(stdClass)#2203 (3) {
      ["id"]=>
      int(22009)
      ["key"]=>
      string(22) "Delivery Contact Phone"
      ["value"]=>
      string(8) "94001954"
    }
    [5]=>
    object(stdClass)#2204 (3) {
      ["id"]=>
      int(22014)
      ["key"]=>
      string(23) "_wcpdf_invoice_settings"
      ["value"]=>
      object(stdClass)#2205 (20) {
        ["enabled"]=>
        string(1) "1"
        ["attach_to_email_ids"]=>
        object(stdClass)#2206 (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)#2207 (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)#2208 (1) {
          ["default"]=>
          string(19) "Sonoforte Group LLC"
        }
        ["shop_address"]=>
        object(stdClass)#2209 (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)#2210 (1) {
          ["default"]=>
          string(53) "Signature and Date:"
        }
        ["extra_1"]=>
        object(stdClass)#2211 (1) {
          ["default"]=>
          string(0) ""
        }
        ["extra_2"]=>
        object(stdClass)#2212 (1) {
          ["default"]=>
          string(0) ""
        }
        ["extra_3"]=>
        object(stdClass)#2213 (1) {
          ["default"]=>
          string(0) ""
        }
      }
    }
    [6]=>
    object(stdClass)#2214 (3) {
      ["id"]=>
      int(22015)
      ["key"]=>
      string(19) "_wcpdf_invoice_date"
      ["value"]=>
      string(10) "1583132805"
    }
    [7]=>
    object(stdClass)#2215 (3) {
      ["id"]=>
      int(22016)
      ["key"]=>
      string(29) "_wcpdf_invoice_date_formatted"
      ["value"]=>
      string(19) "2020-03-02 15:06:45"
    }
    [8]=>
    object(stdClass)#2216 (3) {
      ["id"]=>
      int(22017)
      ["key"]=>
      string(21) "_wcpdf_invoice_number"
      ["value"]=>
      string(2) "33"
    }
    [9]=>
    object(stdClass)#2217 (3) {
      ["id"]=>
      int(22018)
      ["key"]=>
      string(26) "_wcpdf_invoice_number_data"
      ["value"]=>
      object(stdClass)#2218 (7) {
        ["number"]=>
        int(33)
        ["formatted_number"]=>
        string(2) "33"
        ["prefix"]=>
        string(0) ""
        ["suffix"]=>
        string(0) ""
        ["document_type"]=>
        string(7) "invoice"
        ["order_id"]=>
        int(1510)
        ["padding"]=>
        string(0) ""
      }
    }
    [10]=>
    object(stdClass)#2219 (3) {
      ["id"]=>
      int(22106)
      ["key"]=>
      string(24) "_wcpdf_packing_slip_date"
      ["value"]=>
      string(10) "1583226540"
    }
    [11]=>
    object(stdClass)#2220 (3) {
      ["id"]=>
      int(22107)
      ["key"]=>
      string(34) "_wcpdf_packing_slip_date_formatted"
      ["value"]=>
      string(19) "2020-03-03 17:09:00"
    }
  }
  ["line_items"]=>
  array(2) {
    [0]=>
    object(stdClass)#2221 (14) {
      ["id"]=>
      int(97)
      ["name"]=>
      string(29) "Bow Shackles with Safety Bolt"
      ["product_id"]=>
      int(155)
      ["variation_id"]=>
      int(169)
      ["quantity"]=>
      int(4)
      ["tax_class"]=>
      string(0) ""
      ["subtotal"]=>
      string(7) "1200000"
      ["subtotal_tax"]=>
      string(6) "120000"
      ["total"]=>
      string(7) "1200000"
      ["total_tax"]=>
      string(6) "120000"
      ["taxes"]=>
      array(1) {
        [0]=>
        object(stdClass)#2222 (3) {
          ["id"]=>
          int(1)
          ["total"]=>
          string(6) "120000"
          ["subtotal"]=>
          string(6) "120000"
        }
      }
      ["meta_data"]=>
      array(5) {
        [0]=>
        object(stdClass)#2223 (3) {
          ["id"]=>
          int(1025)
          ["key"]=>
          string(12) "pa_size-inch"
          ["value"]=>
          string(5) "1-1-2"
        }
        [1]=>
        object(stdClass)#2224 (3) {
          ["id"]=>
          int(1026)
          ["key"]=>
          string(10) "pa_size-mm"
          ["value"]=>
          string(5) "38-10"
        }
        [2]=>
        object(stdClass)#2225 (3) {
          ["id"]=>
          int(1027)
          ["key"]=>
          string(8) "pa_wll-t"
          ["value"]=>
          string(2) "17"
        }
        [3]=>
        object(stdClass)#2226 (3) {
          ["id"]=>
          int(1028)
          ["key"]=>
          string(12) "pa_weight-kg"
          ["value"]=>
          string(4) "9-43"
        }
        [4]=>
        object(stdClass)#2227 (3) {
          ["id"]=>
          int(1047)
          ["key"]=>
          string(14) "_reduced_stock"
          ["value"]=>
          string(1) "4"
        }
      }
      ["sku"]=>
      string(8) "BSBS-013"
      ["price"]=>
      int(300000)
    }
    [1]=>
    object(stdClass)#2228 (14) {
      ["id"]=>
      int(98)
      ["name"]=>
      string(11) "Roundslings"
      ["product_id"]=>
      int(232)
      ["variation_id"]=>
      int(302)
      ["quantity"]=>
      int(4)
      ["tax_class"]=>
      string(0) ""
      ["subtotal"]=>
      string(7) "3040000"
      ["subtotal_tax"]=>
      string(6) "304000"
      ["total"]=>
      string(7) "3040000"
      ["total_tax"]=>
      string(6) "304000"
      ["taxes"]=>
      array(1) {
        [0]=>
        object(stdClass)#2229 (3) {
          ["id"]=>
          int(1)
          ["total"]=>
          string(6) "304000"
          ["subtotal"]=>
          string(6) "304000"
        }
      }
      ["meta_data"]=>
      array(4) {
        [0]=>
        object(stdClass)#2230 (3) {
          ["id"]=>
          int(1038)
          ["key"]=>
          string(8) "pa_wll-t"
          ["value"]=>
          string(2) "20"
        }
        [1]=>
        object(stdClass)#2231 (3) {
          ["id"]=>
          int(1039)
          ["key"]=>
          string(17) "pa_sling-length-m"
          ["value"]=>
          string(1) "6"
        }
        [2]=>
        object(stdClass)#2232 (3) {
          ["id"]=>
          int(1040)
          ["key"]=>
          string(12) "pa_weight-kg"
          ["value"]=>
          string(4) "22-2"
        }
        [3]=>
        object(stdClass)#2233 (3) {
          ["id"]=>
          int(1048)
          ["key"]=>
          string(14) "_reduced_stock"
          ["value"]=>
          string(1) "4"
        }
      }
      ["sku"]=>
      string(6) "RS-020"
      ["price"]=>
      int(760000)
    }
  }
  ["tax_lines"]=>
  array(1) {
    [0]=>
    object(stdClass)#2234 (9) {
      ["id"]=>
      int(99)
      ["rate_code"]=>
      string(5) "TAX-1"
      ["rate_id"]=>
      int(1)
      ["label"]=>
      string(3) "Tax"
      ["compound"]=>
      bool(false)
      ["tax_total"]=>
      string(6) "424000"
      ["shipping_tax_total"]=>
      string(1) "0"
      ["rate_percent"]=>
      int(10)
      ["meta_data"]=>
      array(0) {
      }
    }
  }
  ["shipping_lines"]=>
  array(0) {
  }
  ["fee_lines"]=>
  array(0) {
  }
  ["coupon_lines"]=>
  array(0) {
  }
  ["refunds"]=>
  array(0) {
  }
  ["_links"]=>
  object(stdClass)#2236 (3) {
    ["self"]=>
    array(1) {
      [0]=>
      object(stdClass)#2235 (1) {
        ["href"]=>
        string(47) "https://sonoforte.com/wp-json/wc/v3/orders/1510"
      }
    }
    ["collection"]=>
    array(1) {
      [0]=>
      object(stdClass)#2237 (1) {
        ["href"]=>
        string(42) "https://sonoforte.com/wp-json/wc/v3/orders"
      }
    }
    ["customer"]=>
    array(1) {
      [0]=>
      object(stdClass)#2238 (1) {
        ["href"]=>
        string(48) "https://sonoforte.com/wp-json/wc/v3/customers/41"
      }
    }
  }
}
Posted on

Debug 1363 – wc_order_update

object(stdClass)#2147 (42) {
  ["id"]=>
  int(1363)
  ["parent_id"]=>
  int(0)
  ["number"]=>
  string(4) "1363"
  ["order_key"]=>
  string(22) "wc_order_j3K3FyeIcqhnZ"
  ["created_via"]=>
  string(8) "checkout"
  ["version"]=>
  string(5) "3.7.0"
  ["status"]=>
  string(9) "completed"
  ["currency"]=>
  string(3) "MNT"
  ["date_created"]=>
  string(19) "2020-01-21T18:26:27"
  ["date_created_gmt"]=>
  string(19) "2020-01-21T10:26:27"
  ["date_modified"]=>
  string(19) "2020-01-27T10:02:10"
  ["date_modified_gmt"]=>
  string(19) "2020-01-27T02:02:10"
  ["discount_total"]=>
  string(1) "0"
  ["discount_tax"]=>
  string(1) "0"
  ["shipping_total"]=>
  string(1) "0"
  ["shipping_tax"]=>
  string(1) "0"
  ["cart_tax"]=>
  string(5) "32000"
  ["total"]=>
  string(6) "352000"
  ["total_tax"]=>
  string(5) "32000"
  ["prices_include_tax"]=>
  bool(false)
  ["customer_id"]=>
  int(40)
  ["customer_ip_address"]=>
  string(13) "202.21.118.90"
  ["customer_user_agent"]=>
  string(77) "Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:72.0) Gecko/20100101 Firefox/72.0"
  ["customer_note"]=>
  string(0) ""
  ["billing"]=>
  object(stdClass)#2148 (11) {
    ["first_name"]=>
    string(12) "Tserenjargal"
    ["last_name"]=>
    string(0) ""
    ["company"]=>
    string(7) "RTT LLC"
    ["address_1"]=>
    string(29) "Ikh Toiruu 63, TIP TOP CENTER"
    ["address_2"]=>
    string(0) ""
    ["city"]=>
    string(0) ""
    ["state"]=>
    string(0) ""
    ["postcode"]=>
    string(0) ""
    ["country"]=>
    string(0) ""
    ["email"]=>
    string(11) "info@rtt.mn"
    ["phone"]=>
    string(8) "99995704"
  }
  ["shipping"]=>
  object(stdClass)#2149 (9) {
    ["first_name"]=>
    string(12) "Tserenjargal"
    ["last_name"]=>
    string(0) ""
    ["company"]=>
    string(7) "RTT LLC"
    ["address_1"]=>
    string(29) "Ikh Toiruu 63, TIP TOP CENTER"
    ["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) "2020-01-27T10:02:10"
  ["date_paid_gmt"]=>
  string(19) "2020-01-27T02:02:10"
  ["date_completed"]=>
  string(19) "2020-01-27T10:02:10"
  ["date_completed_gmt"]=>
  string(19) "2020-01-27T02:02:10"
  ["cart_hash"]=>
  string(32) "574b585bd672aa049980386ed0af87cc"
  ["meta_data"]=>
  array(10) {
    [0]=>
    object(stdClass)#2150 (3) {
      ["id"]=>
      int(20476)
      ["key"]=>
      string(12) "_billing_vat"
      ["value"]=>
      string(7) "2714116"
    }
    [1]=>
    object(stdClass)#2151 (3) {
      ["id"]=>
      int(20477)
      ["key"]=>
      string(22) "_billing_contact_email"
      ["value"]=>
      string(0) ""
    }
    [2]=>
    object(stdClass)#2152 (3) {
      ["id"]=>
      int(20478)
      ["key"]=>
      string(13) "is_vat_exempt"
      ["value"]=>
      string(2) "no"
    }
    [3]=>
    object(stdClass)#2153 (3) {
      ["id"]=>
      int(20479)
      ["key"]=>
      string(21) "Delivery Contact Name"
      ["value"]=>
      string(14) "Tsegi Dalantai"
    }
    [4]=>
    object(stdClass)#2154 (3) {
      ["id"]=>
      int(20480)
      ["key"]=>
      string(22) "Delivery Contact Phone"
      ["value"]=>
      string(8) "99995704"
    }
    [5]=>
    object(stdClass)#2155 (3) {
      ["id"]=>
      int(20485)
      ["key"]=>
      string(23) "_wcpdf_invoice_settings"
      ["value"]=>
      object(stdClass)#2156 (20) {
        ["enabled"]=>
        string(1) "1"
        ["attach_to_email_ids"]=>
        object(stdClass)#2157 (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)#2158 (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)#2159 (1) {
          ["default"]=>
          string(19) "Sonoforte Group LLC"
        }
        ["shop_address"]=>
        object(stdClass)#2160 (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)#2161 (1) {
          ["default"]=>
          string(53) "Signature and Date:"
        }
        ["extra_1"]=>
        object(stdClass)#2162 (1) {
          ["default"]=>
          string(0) ""
        }
        ["extra_2"]=>
        object(stdClass)#2163 (1) {
          ["default"]=>
          string(0) ""
        }
        ["extra_3"]=>
        object(stdClass)#2164 (1) {
          ["default"]=>
          string(0) ""
        }
      }
    }
    [6]=>
    object(stdClass)#2165 (3) {
      ["id"]=>
      int(20486)
      ["key"]=>
      string(19) "_wcpdf_invoice_date"
      ["value"]=>
      string(10) "1579602388"
    }
    [7]=>
    object(stdClass)#2166 (3) {
      ["id"]=>
      int(20487)
      ["key"]=>
      string(29) "_wcpdf_invoice_date_formatted"
      ["value"]=>
      string(19) "2020-01-21 18:26:28"
    }
    [8]=>
    object(stdClass)#2167 (3) {
      ["id"]=>
      int(20488)
      ["key"]=>
      string(21) "_wcpdf_invoice_number"
      ["value"]=>
      string(2) "31"
    }
    [9]=>
    object(stdClass)#2168 (3) {
      ["id"]=>
      int(20489)
      ["key"]=>
      string(26) "_wcpdf_invoice_number_data"
      ["value"]=>
      object(stdClass)#2169 (7) {
        ["number"]=>
        int(31)
        ["formatted_number"]=>
        string(2) "31"
        ["prefix"]=>
        string(0) ""
        ["suffix"]=>
        string(0) ""
        ["document_type"]=>
        string(7) "invoice"
        ["order_id"]=>
        int(1363)
        ["padding"]=>
        string(0) ""
      }
    }
  }
  ["line_items"]=>
  array(2) {
    [0]=>
    object(stdClass)#2170 (14) {
      ["id"]=>
      int(89)
      ["name"]=>
      string(11) "Roundslings"
      ["product_id"]=>
      int(232)
      ["variation_id"]=>
      int(296)
      ["quantity"]=>
      int(1)
      ["tax_class"]=>
      string(0) ""
      ["subtotal"]=>
      string(6) "235000"
      ["subtotal_tax"]=>
      string(5) "23500"
      ["total"]=>
      string(6) "235000"
      ["total_tax"]=>
      string(5) "23500"
      ["taxes"]=>
      array(1) {
        [0]=>
        object(stdClass)#2171 (3) {
          ["id"]=>
          int(1)
          ["total"]=>
          string(5) "23500"
          ["subtotal"]=>
          string(5) "23500"
        }
      }
      ["meta_data"]=>
      array(4) {
        [0]=>
        object(stdClass)#2172 (3) {
          ["id"]=>
          int(933)
          ["key"]=>
          string(8) "pa_wll-t"
          ["value"]=>
          string(1) "6"
        }
        [1]=>
        object(stdClass)#2173 (3) {
          ["id"]=>
          int(934)
          ["key"]=>
          string(17) "pa_sling-length-m"
          ["value"]=>
          string(2) "10"
        }
        [2]=>
        object(stdClass)#2174 (3) {
          ["id"]=>
          int(935)
          ["key"]=>
          string(12) "pa_weight-kg"
          ["value"]=>
          string(3) "tbc"
        }
        [3]=>
        object(stdClass)#2175 (3) {
          ["id"]=>
          int(956)
          ["key"]=>
          string(14) "_reduced_stock"
          ["value"]=>
          string(1) "1"
        }
      }
      ["sku"]=>
      string(6) "RS-014"
      ["price"]=>
      int(235000)
    }
    [1]=>
    object(stdClass)#2176 (14) {
      ["id"]=>
      int(90)
      ["name"]=>
      string(11) "Roundslings"
      ["product_id"]=>
      int(232)
      ["variation_id"]=>
      int(293)
      ["quantity"]=>
      int(1)
      ["tax_class"]=>
      string(0) ""
      ["subtotal"]=>
      string(5) "85000"
      ["subtotal_tax"]=>
      string(4) "8500"
      ["total"]=>
      string(5) "85000"
      ["total_tax"]=>
      string(4) "8500"
      ["taxes"]=>
      array(1) {
        [0]=>
        object(stdClass)#2177 (3) {
          ["id"]=>
          int(1)
          ["total"]=>
          string(4) "8500"
          ["subtotal"]=>
          string(4) "8500"
        }
      }
      ["meta_data"]=>
      array(4) {
        [0]=>
        object(stdClass)#2178 (3) {
          ["id"]=>
          int(945)
          ["key"]=>
          string(8) "pa_wll-t"
          ["value"]=>
          string(1) "5"
        }
        [1]=>
        object(stdClass)#2179 (3) {
          ["id"]=>
          int(946)
          ["key"]=>
          string(17) "pa_sling-length-m"
          ["value"]=>
          string(1) "3"
        }
        [2]=>
        object(stdClass)#2180 (3) {
          ["id"]=>
          int(947)
          ["key"]=>
          string(12) "pa_weight-kg"
          ["value"]=>
          string(3) "tbc"
        }
        [3]=>
        object(stdClass)#2181 (3) {
          ["id"]=>
          int(957)
          ["key"]=>
          string(14) "_reduced_stock"
          ["value"]=>
          string(1) "1"
        }
      }
      ["sku"]=>
      string(6) "RS-011"
      ["price"]=>
      int(85000)
    }
  }
  ["tax_lines"]=>
  array(1) {
    [0]=>
    object(stdClass)#2182 (9) {
      ["id"]=>
      int(91)
      ["rate_code"]=>
      string(5) "TAX-1"
      ["rate_id"]=>
      int(1)
      ["label"]=>
      string(3) "Tax"
      ["compound"]=>
      bool(false)
      ["tax_total"]=>
      string(5) "32000"
      ["shipping_tax_total"]=>
      string(1) "0"
      ["rate_percent"]=>
      int(10)
      ["meta_data"]=>
      array(0) {
      }
    }
  }
  ["shipping_lines"]=>
  array(0) {
  }
  ["fee_lines"]=>
  array(0) {
  }
  ["coupon_lines"]=>
  array(0) {
  }
  ["refunds"]=>
  array(0) {
  }
  ["_links"]=>
  object(stdClass)#2184 (3) {
    ["self"]=>
    array(1) {
      [0]=>
      object(stdClass)#2183 (1) {
        ["href"]=>
        string(47) "https://sonoforte.com/wp-json/wc/v3/orders/1363"
      }
    }
    ["collection"]=>
    array(1) {
      [0]=>
      object(stdClass)#2185 (1) {
        ["href"]=>
        string(42) "https://sonoforte.com/wp-json/wc/v3/orders"
      }
    }
    ["customer"]=>
    array(1) {
      [0]=>
      object(stdClass)#2186 (1) {
        ["href"]=>
        string(48) "https://sonoforte.com/wp-json/wc/v3/customers/40"
      }
    }
  }
}
Posted on

Debug 984 – wc_order_update

object(stdClass)#2147 (42) {
  ["id"]=>
  int(984)
  ["parent_id"]=>
  int(0)
  ["number"]=>
  string(3) "984"
  ["order_key"]=>
  string(22) "wc_order_NBPRGUbVVzSrn"
  ["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-22T11:18:07"
  ["date_created_gmt"]=>
  string(19) "2019-08-22T03:18:07"
  ["date_modified"]=>
  string(19) "2019-09-18T17:02:48"
  ["date_modified_gmt"]=>
  string(19) "2019-09-18T09:02:48"
  ["discount_total"]=>
  string(1) "0"
  ["discount_tax"]=>
  string(1) "0"
  ["shipping_total"]=>
  string(1) "0"
  ["shipping_tax"]=>
  string(1) "0"
  ["cart_tax"]=>
  string(6) "150000"
  ["total"]=>
  string(7) "1650000"
  ["total_tax"]=>
  string(6) "150000"
  ["prices_include_tax"]=>
  bool(false)
  ["customer_id"]=>
  int(2)
  ["customer_ip_address"]=>
  string(13) "66.181.161.56"
  ["customer_user_agent"]=>
  string(115) "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.100 Safari/537.36"
  ["customer_note"]=>
  string(0) ""
  ["billing"]=>
  object(stdClass)#2148 (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)#2149 (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:30:36"
  ["date_paid_gmt"]=>
  string(19) "2019-08-22T12:30:36"
  ["date_completed"]=>
  string(19) "2019-09-18T17:02:48"
  ["date_completed_gmt"]=>
  string(19) "2019-09-18T09:02:48"
  ["cart_hash"]=>
  string(32) "6bd3d11d00996036e81039594f71f0f7"
  ["meta_data"]=>
  array(10) {
    [0]=>
    object(stdClass)#2150 (3) {
      ["id"]=>
      int(16482)
      ["key"]=>
      string(12) "_billing_vat"
      ["value"]=>
      string(7) "5162122"
    }
    [1]=>
    object(stdClass)#2151 (3) {
      ["id"]=>
      int(16483)
      ["key"]=>
      string(22) "_billing_contact_email"
      ["value"]=>
      string(21) "d.shinekhuu@gmail.com"
    }
    [2]=>
    object(stdClass)#2152 (3) {
      ["id"]=>
      int(16484)
      ["key"]=>
      string(13) "is_vat_exempt"
      ["value"]=>
      string(2) "no"
    }
    [3]=>
    object(stdClass)#2153 (3) {
      ["id"]=>
      int(16485)
      ["key"]=>
      string(21) "Delivery Contact Name"
      ["value"]=>
      string(17) "Shinekhuu Dorjbat"
    }
    [4]=>
    object(stdClass)#2154 (3) {
      ["id"]=>
      int(16486)
      ["key"]=>
      string(22) "Delivery Contact Phone"
      ["value"]=>
      string(8) "88876153"
    }
    [5]=>
    object(stdClass)#2155 (3) {
      ["id"]=>
      int(16491)
      ["key"]=>
      string(23) "_wcpdf_invoice_settings"
      ["value"]=>
      object(stdClass)#2156 (20) {
        ["enabled"]=>
        string(1) "1"
        ["attach_to_email_ids"]=>
        object(stdClass)#2157 (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)#2158 (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)#2159 (1) {
          ["default"]=>
          string(19) "Sonoforte Group LLC"
        }
        ["shop_address"]=>
        object(stdClass)#2160 (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)#2161 (1) {
          ["default"]=>
          string(53) "Signature and Date:"
        }
        ["extra_1"]=>
        object(stdClass)#2162 (1) {
          ["default"]=>
          string(0) ""
        }
        ["extra_2"]=>
        object(stdClass)#2163 (1) {
          ["default"]=>
          string(0) ""
        }
        ["extra_3"]=>
        object(stdClass)#2164 (1) {
          ["default"]=>
          string(0) ""
        }
      }
    }
    [6]=>
    object(stdClass)#2165 (3) {
      ["id"]=>
      int(16492)
      ["key"]=>
      string(19) "_wcpdf_invoice_date"
      ["value"]=>
      string(10) "1566443888"
    }
    [7]=>
    object(stdClass)#2166 (3) {
      ["id"]=>
      int(16493)
      ["key"]=>
      string(29) "_wcpdf_invoice_date_formatted"
      ["value"]=>
      string(19) "2019-08-22 11:18:08"
    }
    [8]=>
    object(stdClass)#2167 (3) {
      ["id"]=>
      int(16494)
      ["key"]=>
      string(21) "_wcpdf_invoice_number"
      ["value"]=>
      string(2) "29"
    }
    [9]=>
    object(stdClass)#2168 (3) {
      ["id"]=>
      int(16495)
      ["key"]=>
      string(26) "_wcpdf_invoice_number_data"
      ["value"]=>
      object(stdClass)#2169 (7) {
        ["number"]=>
        int(29)
        ["formatted_number"]=>
        string(2) "29"
        ["prefix"]=>
        string(0) ""
        ["suffix"]=>
        string(0) ""
        ["document_type"]=>
        string(7) "invoice"
        ["order_id"]=>
        int(984)
        ["padding"]=>
        string(0) ""
      }
    }
  }
  ["line_items"]=>
  array(1) {
    [0]=>
    object(stdClass)#2170 (14) {
      ["id"]=>
      int(85)
      ["name"]=>
      string(29) "Bow Shackles with Safety Bolt"
      ["product_id"]=>
      int(155)
      ["variation_id"]=>
      int(160)
      ["quantity"]=>
      int(200)
      ["tax_class"]=>
      string(0) ""
      ["subtotal"]=>
      string(7) "1500000"
      ["subtotal_tax"]=>
      string(6) "150000"
      ["total"]=>
      string(7) "1500000"
      ["total_tax"]=>
      string(6) "150000"
      ["taxes"]=>
      array(1) {
        [0]=>
        object(stdClass)#2171 (3) {
          ["id"]=>
          int(1)
          ["total"]=>
          string(6) "150000"
          ["subtotal"]=>
          string(6) "150000"
        }
      }
      ["meta_data"]=>
      array(5) {
        [0]=>
        object(stdClass)#2172 (3) {
          ["id"]=>
          int(852)
          ["key"]=>
          string(12) "pa_size-inch"
          ["value"]=>
          string(4) "7-16"
        }
        [1]=>
        object(stdClass)#2173 (3) {
          ["id"]=>
          int(853)
          ["key"]=>
          string(10) "pa_size-mm"
          ["value"]=>
          string(5) "11-11"
        }
        [2]=>
        object(stdClass)#2174 (3) {
          ["id"]=>
          int(854)
          ["key"]=>
          string(8) "pa_wll-t"
          ["value"]=>
          string(3) "1-5"
        }
        [3]=>
        object(stdClass)#2175 (3) {
          ["id"]=>
          int(855)
          ["key"]=>
          string(12) "pa_weight-kg"
          ["value"]=>
          string(4) "0-22"
        }
        [4]=>
        object(stdClass)#2176 (3) {
          ["id"]=>
          int(904)
          ["key"]=>
          string(14) "_reduced_stock"
          ["value"]=>
          string(3) "200"
        }
      }
      ["sku"]=>
      string(8) "BSBS-004"
      ["price"]=>
      int(7500)
    }
  }
  ["tax_lines"]=>
  array(1) {
    [0]=>
    object(stdClass)#2177 (9) {
      ["id"]=>
      int(86)
      ["rate_code"]=>
      string(5) "TAX-1"
      ["rate_id"]=>
      int(1)
      ["label"]=>
      string(3) "Tax"
      ["compound"]=>
      bool(false)
      ["tax_total"]=>
      string(6) "150000"
      ["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)#2179 (3) {
    ["self"]=>
    array(1) {
      [0]=>
      object(stdClass)#2178 (1) {
        ["href"]=>
        string(46) "https://sonoforte.com/wp-json/wc/v3/orders/984"
      }
    }
    ["collection"]=>
    array(1) {
      [0]=>
      object(stdClass)#2180 (1) {
        ["href"]=>
        string(42) "https://sonoforte.com/wp-json/wc/v3/orders"
      }
    }
    ["customer"]=>
    array(1) {
      [0]=>
      object(stdClass)#2181 (1) {
        ["href"]=>
        string(47) "https://sonoforte.com/wp-json/wc/v3/customers/2"
      }
    }
  }
}
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"
      }
    }
  }
}
Posted on

Debug 984 – wc_order_update

object(stdClass)#2140 (42) {
  ["id"]=>
  int(984)
  ["parent_id"]=>
  int(0)
  ["number"]=>
  string(3) "984"
  ["order_key"]=>
  string(22) "wc_order_NBPRGUbVVzSrn"
  ["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-22T11:18:07"
  ["date_created_gmt"]=>
  string(19) "2019-08-22T03:18:07"
  ["date_modified"]=>
  string(19) "2019-09-13T17:55:27"
  ["date_modified_gmt"]=>
  string(19) "2019-09-13T09:55:27"
  ["discount_total"]=>
  string(1) "0"
  ["discount_tax"]=>
  string(1) "0"
  ["shipping_total"]=>
  string(1) "0"
  ["shipping_tax"]=>
  string(1) "0"
  ["cart_tax"]=>
  string(6) "150000"
  ["total"]=>
  string(7) "1650000"
  ["total_tax"]=>
  string(6) "150000"
  ["prices_include_tax"]=>
  bool(false)
  ["customer_id"]=>
  int(2)
  ["customer_ip_address"]=>
  string(13) "66.181.161.56"
  ["customer_user_agent"]=>
  string(115) "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.100 Safari/537.36"
  ["customer_note"]=>
  string(0) ""
  ["billing"]=>
  object(stdClass)#2141 (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)#2142 (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:30:36"
  ["date_paid_gmt"]=>
  string(19) "2019-08-22T12:30:36"
  ["date_completed"]=>
  string(19) "2019-09-13T17:54:07"
  ["date_completed_gmt"]=>
  string(19) "2019-09-13T09:54:07"
  ["cart_hash"]=>
  string(32) "6bd3d11d00996036e81039594f71f0f7"
  ["meta_data"]=>
  array(10) {
    [0]=>
    object(stdClass)#2143 (3) {
      ["id"]=>
      int(16482)
      ["key"]=>
      string(12) "_billing_vat"
      ["value"]=>
      string(7) "5162122"
    }
    [1]=>
    object(stdClass)#2144 (3) {
      ["id"]=>
      int(16483)
      ["key"]=>
      string(22) "_billing_contact_email"
      ["value"]=>
      string(21) "d.shinekhuu@gmail.com"
    }
    [2]=>
    object(stdClass)#2145 (3) {
      ["id"]=>
      int(16484)
      ["key"]=>
      string(13) "is_vat_exempt"
      ["value"]=>
      string(2) "no"
    }
    [3]=>
    object(stdClass)#2146 (3) {
      ["id"]=>
      int(16485)
      ["key"]=>
      string(21) "Delivery Contact Name"
      ["value"]=>
      string(17) "Shinekhuu Dorjbat"
    }
    [4]=>
    object(stdClass)#2147 (3) {
      ["id"]=>
      int(16486)
      ["key"]=>
      string(22) "Delivery Contact Phone"
      ["value"]=>
      string(8) "88876153"
    }
    [5]=>
    object(stdClass)#2148 (3) {
      ["id"]=>
      int(16491)
      ["key"]=>
      string(23) "_wcpdf_invoice_settings"
      ["value"]=>
      object(stdClass)#2149 (20) {
        ["enabled"]=>
        string(1) "1"
        ["attach_to_email_ids"]=>
        object(stdClass)#2150 (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)#2151 (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)#2152 (1) {
          ["default"]=>
          string(19) "Sonoforte Group LLC"
        }
        ["shop_address"]=>
        object(stdClass)#2153 (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)#2154 (1) {
          ["default"]=>
          string(53) "Signature and Date:"
        }
        ["extra_1"]=>
        object(stdClass)#2155 (1) {
          ["default"]=>
          string(0) ""
        }
        ["extra_2"]=>
        object(stdClass)#2156 (1) {
          ["default"]=>
          string(0) ""
        }
        ["extra_3"]=>
        object(stdClass)#2157 (1) {
          ["default"]=>
          string(0) ""
        }
      }
    }
    [6]=>
    object(stdClass)#2158 (3) {
      ["id"]=>
      int(16492)
      ["key"]=>
      string(19) "_wcpdf_invoice_date"
      ["value"]=>
      string(10) "1566443888"
    }
    [7]=>
    object(stdClass)#2159 (3) {
      ["id"]=>
      int(16493)
      ["key"]=>
      string(29) "_wcpdf_invoice_date_formatted"
      ["value"]=>
      string(19) "2019-08-22 11:18:08"
    }
    [8]=>
    object(stdClass)#2160 (3) {
      ["id"]=>
      int(16494)
      ["key"]=>
      string(21) "_wcpdf_invoice_number"
      ["value"]=>
      string(2) "29"
    }
    [9]=>
    object(stdClass)#2161 (3) {
      ["id"]=>
      int(16495)
      ["key"]=>
      string(26) "_wcpdf_invoice_number_data"
      ["value"]=>
      object(stdClass)#2162 (7) {
        ["number"]=>
        int(29)
        ["formatted_number"]=>
        string(2) "29"
        ["prefix"]=>
        string(0) ""
        ["suffix"]=>
        string(0) ""
        ["document_type"]=>
        string(7) "invoice"
        ["order_id"]=>
        int(984)
        ["padding"]=>
        string(0) ""
      }
    }
  }
  ["line_items"]=>
  array(1) {
    [0]=>
    object(stdClass)#2163 (14) {
      ["id"]=>
      int(85)
      ["name"]=>
      string(29) "Bow Shackles with Safety Bolt"
      ["product_id"]=>
      int(155)
      ["variation_id"]=>
      int(160)
      ["quantity"]=>
      int(200)
      ["tax_class"]=>
      string(0) ""
      ["subtotal"]=>
      string(7) "1500000"
      ["subtotal_tax"]=>
      string(6) "150000"
      ["total"]=>
      string(7) "1500000"
      ["total_tax"]=>
      string(6) "150000"
      ["taxes"]=>
      array(1) {
        [0]=>
        object(stdClass)#2164 (3) {
          ["id"]=>
          int(1)
          ["total"]=>
          string(6) "150000"
          ["subtotal"]=>
          string(6) "150000"
        }
      }
      ["meta_data"]=>
      array(5) {
        [0]=>
        object(stdClass)#2165 (3) {
          ["id"]=>
          int(852)
          ["key"]=>
          string(12) "pa_size-inch"
          ["value"]=>
          string(4) "7-16"
        }
        [1]=>
        object(stdClass)#2166 (3) {
          ["id"]=>
          int(853)
          ["key"]=>
          string(10) "pa_size-mm"
          ["value"]=>
          string(5) "11-11"
        }
        [2]=>
        object(stdClass)#2167 (3) {
          ["id"]=>
          int(854)
          ["key"]=>
          string(8) "pa_wll-t"
          ["value"]=>
          string(3) "1-5"
        }
        [3]=>
        object(stdClass)#2168 (3) {
          ["id"]=>
          int(855)
          ["key"]=>
          string(12) "pa_weight-kg"
          ["value"]=>
          string(4) "0-22"
        }
        [4]=>
        object(stdClass)#2169 (3) {
          ["id"]=>
          int(900)
          ["key"]=>
          string(14) "_reduced_stock"
          ["value"]=>
          string(3) "200"
        }
      }
      ["sku"]=>
      string(8) "BSBS-004"
      ["price"]=>
      int(7500)
    }
  }
  ["tax_lines"]=>
  array(1) {
    [0]=>
    object(stdClass)#2170 (9) {
      ["id"]=>
      int(86)
      ["rate_code"]=>
      string(5) "TAX-1"
      ["rate_id"]=>
      int(1)
      ["label"]=>
      string(3) "Tax"
      ["compound"]=>
      bool(false)
      ["tax_total"]=>
      string(6) "150000"
      ["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)#2172 (3) {
    ["self"]=>
    array(1) {
      [0]=>
      object(stdClass)#2171 (1) {
        ["href"]=>
        string(46) "https://sonoforte.com/wp-json/wc/v3/orders/984"
      }
    }
    ["collection"]=>
    array(1) {
      [0]=>
      object(stdClass)#2173 (1) {
        ["href"]=>
        string(42) "https://sonoforte.com/wp-json/wc/v3/orders"
      }
    }
    ["customer"]=>
    array(1) {
      [0]=>
      object(stdClass)#2174 (1) {
        ["href"]=>
        string(47) "https://sonoforte.com/wp-json/wc/v3/customers/2"
      }
    }
  }
}
Posted on

Debug 984 – wc_order_update

object(stdClass)#2140 (42) {
  ["id"]=>
  int(984)
  ["parent_id"]=>
  int(0)
  ["number"]=>
  string(3) "984"
  ["order_key"]=>
  string(22) "wc_order_NBPRGUbVVzSrn"
  ["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-22T11:18:07"
  ["date_created_gmt"]=>
  string(19) "2019-08-22T03:18:07"
  ["date_modified"]=>
  string(19) "2019-09-13T17:48:44"
  ["date_modified_gmt"]=>
  string(19) "2019-09-13T09:48:44"
  ["discount_total"]=>
  string(1) "0"
  ["discount_tax"]=>
  string(1) "0"
  ["shipping_total"]=>
  string(1) "0"
  ["shipping_tax"]=>
  string(1) "0"
  ["cart_tax"]=>
  string(6) "150000"
  ["total"]=>
  string(7) "1650000"
  ["total_tax"]=>
  string(6) "150000"
  ["prices_include_tax"]=>
  bool(false)
  ["customer_id"]=>
  int(2)
  ["customer_ip_address"]=>
  string(13) "66.181.161.56"
  ["customer_user_agent"]=>
  string(115) "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.100 Safari/537.36"
  ["customer_note"]=>
  string(0) ""
  ["billing"]=>
  object(stdClass)#2141 (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)#2142 (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:30:36"
  ["date_paid_gmt"]=>
  string(19) "2019-08-22T12:30:36"
  ["date_completed"]=>
  string(19) "2019-09-13T17:48:44"
  ["date_completed_gmt"]=>
  string(19) "2019-09-13T09:48:44"
  ["cart_hash"]=>
  string(32) "6bd3d11d00996036e81039594f71f0f7"
  ["meta_data"]=>
  array(10) {
    [0]=>
    object(stdClass)#2143 (3) {
      ["id"]=>
      int(16482)
      ["key"]=>
      string(12) "_billing_vat"
      ["value"]=>
      string(7) "5162122"
    }
    [1]=>
    object(stdClass)#2144 (3) {
      ["id"]=>
      int(16483)
      ["key"]=>
      string(22) "_billing_contact_email"
      ["value"]=>
      string(21) "d.shinekhuu@gmail.com"
    }
    [2]=>
    object(stdClass)#2145 (3) {
      ["id"]=>
      int(16484)
      ["key"]=>
      string(13) "is_vat_exempt"
      ["value"]=>
      string(2) "no"
    }
    [3]=>
    object(stdClass)#2146 (3) {
      ["id"]=>
      int(16485)
      ["key"]=>
      string(21) "Delivery Contact Name"
      ["value"]=>
      string(17) "Shinekhuu Dorjbat"
    }
    [4]=>
    object(stdClass)#2147 (3) {
      ["id"]=>
      int(16486)
      ["key"]=>
      string(22) "Delivery Contact Phone"
      ["value"]=>
      string(8) "88876153"
    }
    [5]=>
    object(stdClass)#2148 (3) {
      ["id"]=>
      int(16491)
      ["key"]=>
      string(23) "_wcpdf_invoice_settings"
      ["value"]=>
      object(stdClass)#2149 (20) {
        ["enabled"]=>
        string(1) "1"
        ["attach_to_email_ids"]=>
        object(stdClass)#2150 (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)#2151 (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)#2152 (1) {
          ["default"]=>
          string(19) "Sonoforte Group LLC"
        }
        ["shop_address"]=>
        object(stdClass)#2153 (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)#2154 (1) {
          ["default"]=>
          string(53) "Signature and Date:"
        }
        ["extra_1"]=>
        object(stdClass)#2155 (1) {
          ["default"]=>
          string(0) ""
        }
        ["extra_2"]=>
        object(stdClass)#2156 (1) {
          ["default"]=>
          string(0) ""
        }
        ["extra_3"]=>
        object(stdClass)#2157 (1) {
          ["default"]=>
          string(0) ""
        }
      }
    }
    [6]=>
    object(stdClass)#2158 (3) {
      ["id"]=>
      int(16492)
      ["key"]=>
      string(19) "_wcpdf_invoice_date"
      ["value"]=>
      string(10) "1566443888"
    }
    [7]=>
    object(stdClass)#2159 (3) {
      ["id"]=>
      int(16493)
      ["key"]=>
      string(29) "_wcpdf_invoice_date_formatted"
      ["value"]=>
      string(19) "2019-08-22 11:18:08"
    }
    [8]=>
    object(stdClass)#2160 (3) {
      ["id"]=>
      int(16494)
      ["key"]=>
      string(21) "_wcpdf_invoice_number"
      ["value"]=>
      string(2) "29"
    }
    [9]=>
    object(stdClass)#2161 (3) {
      ["id"]=>
      int(16495)
      ["key"]=>
      string(26) "_wcpdf_invoice_number_data"
      ["value"]=>
      object(stdClass)#2162 (7) {
        ["number"]=>
        int(29)
        ["formatted_number"]=>
        string(2) "29"
        ["prefix"]=>
        string(0) ""
        ["suffix"]=>
        string(0) ""
        ["document_type"]=>
        string(7) "invoice"
        ["order_id"]=>
        int(984)
        ["padding"]=>
        string(0) ""
      }
    }
  }
  ["line_items"]=>
  array(1) {
    [0]=>
    object(stdClass)#2163 (14) {
      ["id"]=>
      int(85)
      ["name"]=>
      string(29) "Bow Shackles with Safety Bolt"
      ["product_id"]=>
      int(155)
      ["variation_id"]=>
      int(160)
      ["quantity"]=>
      int(200)
      ["tax_class"]=>
      string(0) ""
      ["subtotal"]=>
      string(7) "1500000"
      ["subtotal_tax"]=>
      string(6) "150000"
      ["total"]=>
      string(7) "1500000"
      ["total_tax"]=>
      string(6) "150000"
      ["taxes"]=>
      array(1) {
        [0]=>
        object(stdClass)#2164 (3) {
          ["id"]=>
          int(1)
          ["total"]=>
          string(6) "150000"
          ["subtotal"]=>
          string(6) "150000"
        }
      }
      ["meta_data"]=>
      array(5) {
        [0]=>
        object(stdClass)#2165 (3) {
          ["id"]=>
          int(852)
          ["key"]=>
          string(12) "pa_size-inch"
          ["value"]=>
          string(4) "7-16"
        }
        [1]=>
        object(stdClass)#2166 (3) {
          ["id"]=>
          int(853)
          ["key"]=>
          string(10) "pa_size-mm"
          ["value"]=>
          string(5) "11-11"
        }
        [2]=>
        object(stdClass)#2167 (3) {
          ["id"]=>
          int(854)
          ["key"]=>
          string(8) "pa_wll-t"
          ["value"]=>
          string(3) "1-5"
        }
        [3]=>
        object(stdClass)#2168 (3) {
          ["id"]=>
          int(855)
          ["key"]=>
          string(12) "pa_weight-kg"
          ["value"]=>
          string(4) "0-22"
        }
        [4]=>
        object(stdClass)#2169 (3) {
          ["id"]=>
          int(900)
          ["key"]=>
          string(14) "_reduced_stock"
          ["value"]=>
          string(3) "200"
        }
      }
      ["sku"]=>
      string(8) "BSBS-004"
      ["price"]=>
      int(7500)
    }
  }
  ["tax_lines"]=>
  array(1) {
    [0]=>
    object(stdClass)#2170 (9) {
      ["id"]=>
      int(86)
      ["rate_code"]=>
      string(5) "TAX-1"
      ["rate_id"]=>
      int(1)
      ["label"]=>
      string(3) "Tax"
      ["compound"]=>
      bool(false)
      ["tax_total"]=>
      string(6) "150000"
      ["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)#2172 (3) {
    ["self"]=>
    array(1) {
      [0]=>
      object(stdClass)#2171 (1) {
        ["href"]=>
        string(46) "https://sonoforte.com/wp-json/wc/v3/orders/984"
      }
    }
    ["collection"]=>
    array(1) {
      [0]=>
      object(stdClass)#2173 (1) {
        ["href"]=>
        string(42) "https://sonoforte.com/wp-json/wc/v3/orders"
      }
    }
    ["customer"]=>
    array(1) {
      [0]=>
      object(stdClass)#2174 (1) {
        ["href"]=>
        string(47) "https://sonoforte.com/wp-json/wc/v3/customers/2"
      }
    }
  }
}