object(stdClass)#1 (49) {
["id"]=>
int(6840)
["parent_id"]=>
int(0)
["status"]=>
string(10) "processing"
["currency"]=>
string(3) "EUR"
["version"]=>
string(6) "10.7.0"
["prices_include_tax"]=>
bool(false)
["date_created"]=>
string(19) "2026-06-08T01:58:14"
["date_modified"]=>
string(19) "2026-06-08T02:00:46"
["discount_total"]=>
string(4) "0.00"
["discount_tax"]=>
string(4) "0.00"
["shipping_total"]=>
string(4) "0.00"
["shipping_tax"]=>
string(4) "0.00"
["cart_tax"]=>
string(4) "0.00"
["total"]=>
string(6) "513.84"
["total_tax"]=>
string(4) "0.00"
["customer_id"]=>
int(0)
["order_key"]=>
string(22) "wc_order_6ltBnD2SGqqa7"
["billing"]=>
object(stdClass)#2 (11) {
["first_name"]=>
string(5) "test3"
["last_name"]=>
string(5) "test3"
["company"]=>
string(0) ""
["address_1"]=>
string(5) "test3"
["address_2"]=>
string(0) ""
["city"]=>
string(5) "test3"
["state"]=>
string(0) ""
["postcode"]=>
string(4) "3232"
["country"]=>
string(2) "DE"
["email"]=>
string(11) "test3@wp.pl"
["phone"]=>
string(0) ""
}
["shipping"]=>
object(stdClass)#3 (10) {
["first_name"]=>
string(5) "test3"
["last_name"]=>
string(5) "test3"
["company"]=>
string(0) ""
["address_1"]=>
string(5) "test3"
["address_2"]=>
string(0) ""
["city"]=>
string(5) "test3"
["state"]=>
string(0) ""
["postcode"]=>
string(4) "3232"
["country"]=>
string(2) "DE"
["phone"]=>
string(0) ""
}
["payment_method"]=>
string(0) ""
["payment_method_title"]=>
string(0) ""
["transaction_id"]=>
string(9) "paytestid"
["customer_ip_address"]=>
string(0) ""
["customer_user_agent"]=>
string(0) ""
["created_via"]=>
string(5) "admin"
["customer_note"]=>
string(0) ""
["date_completed"]=>
NULL
["date_paid"]=>
string(19) "2026-06-08T01:59:45"
["cart_hash"]=>
string(0) ""
["number"]=>
string(4) "6840"
["meta_data"]=>
array(2) {
[0]=>
object(stdClass)#4 (3) {
["id"]=>
int(11413)
["key"]=>
string(22) "_billing_eu_vat_number"
["value"]=>
string(0) ""
}
[1]=>
object(stdClass)#5 (3) {
["id"]=>
int(11414)
["key"]=>
string(33) "_wc_order_attribution_source_type"
["value"]=>
string(5) "admin"
}
}
["line_items"]=>
array(2) {
[0]=>
object(stdClass)#6 (17) {
["id"]=>
int(1572)
["name"]=>
string(42) "Roundup 360 Plus Glyphosate Herbicide - 5L"
["product_id"]=>
int(69)
["variation_id"]=>
int(5569)
["quantity"]=>
int(5)
["tax_class"]=>
string(5) "vat-8"
["subtotal"]=>
string(6) "486.06"
["subtotal_tax"]=>
string(4) "0.00"
["total"]=>
string(6) "486.06"
["total_tax"]=>
string(4) "0.00"
["taxes"]=>
array(0) {
}
["meta_data"]=>
array(1) {
[0]=>
object(stdClass)#7 (5) {
["id"]=>
int(10925)
["key"]=>
string(4) "size"
["value"]=>
string(2) "5L"
["display_key"]=>
string(4) "Size"
["display_value"]=>
string(2) "5L"
}
}
["sku"]=>
string(6) "360-5L"
["global_unique_id"]=>
string(13) "5411773119649"
["price"]=>
float(97.212963)
["image"]=>
object(stdClass)#8 (2) {
["id"]=>
int(5572)
["src"]=>
string(75) "http://perfectgarden.eu/wp-content/uploads/2025/12/Roundup_360_Plus_5L.webp"
}
["parent_name"]=>
string(37) "Roundup 360 Plus Glyphosate Herbicide"
}
[1]=>
object(stdClass)#9 (17) {
["id"]=>
int(1573)
["name"]=>
string(42) "Roundup 360 Plus Glyphosate Herbicide - 1L"
["product_id"]=>
int(69)
["variation_id"]=>
int(5568)
["quantity"]=>
int(1)
["tax_class"]=>
string(5) "vat-8"
["subtotal"]=>
string(5) "27.78"
["subtotal_tax"]=>
string(4) "0.00"
["total"]=>
string(5) "27.78"
["total_tax"]=>
string(4) "0.00"
["taxes"]=>
array(0) {
}
["meta_data"]=>
array(1) {
[0]=>
object(stdClass)#10 (5) {
["id"]=>
int(10935)
["key"]=>
string(4) "size"
["value"]=>
string(2) "1L"
["display_key"]=>
string(4) "Size"
["display_value"]=>
string(2) "1L"
}
}
["sku"]=>
string(6) "360-1L"
["global_unique_id"]=>
string(13) "5411773150611"
["price"]=>
float(27.777778)
["image"]=>
object(stdClass)#11 (2) {
["id"]=>
int(5573)
["src"]=>
string(75) "http://perfectgarden.eu/wp-content/uploads/2025/12/Roundup_360_Plus_1L.webp"
}
["parent_name"]=>
string(37) "Roundup 360 Plus Glyphosate Herbicide"
}
}
["tax_lines"]=>
array(0) {
}
["shipping_lines"]=>
array(0) {
}
["fee_lines"]=>
array(0) {
}
["coupon_lines"]=>
array(0) {
}
["refunds"]=>
array(0) {
}
["payment_url"]=>
string(95) "https://perfectgarden.eu/checkout/order-pay/6840/?pay_for_order=true&key=wc_order_6ltBnD2SGqqa7"
["is_editable"]=>
bool(false)
["needs_payment"]=>
bool(false)
["needs_processing"]=>
bool(true)
["date_created_gmt"]=>
string(19) "2026-06-07T23:58:14"
["date_modified_gmt"]=>
string(19) "2026-06-08T00:00:46"
["date_completed_gmt"]=>
NULL
["date_paid_gmt"]=>
string(19) "2026-06-07T23:59:45"
["currency_symbol"]=>
string(3) "€"
["weight"]=>
string(5) "35.65"
["weight_unit"]=>
string(2) "kg"
["_links"]=>
object(stdClass)#14 (3) {
["self"]=>
array(1) {
[0]=>
object(stdClass)#12 (2) {
["href"]=>
string(50) "https://perfectgarden.eu/wp-json/wc/v3/orders/6840"
["targetHints"]=>
object(stdClass)#13 (1) {
["allow"]=>
array(5) {
[0]=>
string(3) "GET"
[1]=>
string(4) "POST"
[2]=>
string(3) "PUT"
[3]=>
string(5) "PATCH"
[4]=>
string(6) "DELETE"
}
}
}
}
["collection"]=>
array(1) {
[0]=>
object(stdClass)#15 (1) {
["href"]=>
string(45) "https://perfectgarden.eu/wp-json/wc/v3/orders"
}
}
["email_templates"]=>
array(1) {
[0]=>
object(stdClass)#16 (2) {
["embeddable"]=>
bool(true)
["href"]=>
string(74) "https://perfectgarden.eu/wp-json/wc/v3/orders/6840/actions/email_templates"
}
}
}
}
Warning: Undefined array key 0 in /home/klient.dhosting.pl/marecki46/pgwebhook.mcmarkit.pl/public_html/plik.php on line 68
Warning: Attempt to read property "meta_data" on null in /home/klient.dhosting.pl/marecki46/pgwebhook.mcmarkit.pl/public_html/plik.php on line 69
Warning: Trying to access array offset on null in /home/klient.dhosting.pl/marecki46/pgwebhook.mcmarkit.pl/public_html/plik.php on line 70
Warning: Attempt to read property "display_value" on null in /home/klient.dhosting.pl/marecki46/pgwebhook.mcmarkit.pl/public_html/plik.php on line 71
Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/klient.dhosting.pl/marecki46/pgwebhook.mcmarkit.pl/public_html/plik.php on line 72
Warning: Undefined array key 3 in /home/klient.dhosting.pl/marecki46/pgwebhook.mcmarkit.pl/public_html/plik.php on line 74
string(11) "jest znizka"
int(0)
string(14) "petla poczatek"
int(0)
Warning: Undefined array key 0 in /home/klient.dhosting.pl/marecki46/pgwebhook.mcmarkit.pl/public_html/plik.php on line 93
Warning: Attempt to read property "rate_percent" on null in /home/klient.dhosting.pl/marecki46/pgwebhook.mcmarkit.pl/public_html/plik.php on line 94
string(19) "znizka plus jeden 1"
int(1)
string(24) "tuuuuu2222412.1149140459"
float(97.212963)
int(1)
int(1)
float(412.11491404590004)
string(27) "jest znizka w petli koniec "
int(0)
string(14) "petla poczatek"
int(0)
Warning: Undefined array key 1 in /home/klient.dhosting.pl/marecki46/pgwebhook.mcmarkit.pl/public_html/plik.php on line 93
Warning: Attempt to read property "rate_percent" on null in /home/klient.dhosting.pl/marecki46/pgwebhook.mcmarkit.pl/public_html/plik.php on line 94
string(19) "znizka plus jeden 1"
int(1)
string(24) "tuuuuu2222117.7583342754"
float(27.777778)
int(1)
int(1)
float(117.7583342754)
string(27) "jest znizka w petli koniec "
int(0)
{"id":513590840,"user_id":3026968,"app":null,"number":"1707","place":null,"sell_date":"2026-06-08","payment_type":null,"price_net":"2178.31","price_gross":"2178.31","currency":"PLN","status":"paid","description":null,"seller_name":"Tomex TD Tomasz Dawluszewicz","seller_tax_no":"PL5832464416","seller_street":"Żonkilowa 3","seller_post_code":"80-680","seller_city":"Gdańsk","seller_country":"PL","seller_email":"","seller_phone":"","seller_fax":"","seller_www":"","seller_person":"","seller_bank":"","seller_bank_account":"","buyer_name":"test3@wp.pl","buyer_tax_no":null,"buyer_post_code":null,"buyer_city":null,"buyer_street":null,"buyer_first_name":null,"buyer_country":null,"created_at":"2026-06-08T05:29:12.000+02:00","updated_at":"2026-06-08T05:29:13.000+02:00","token":"Qsv70IxjgVHIRXll5roH","buyer_email":"test3@wp.pl","buyer_www":null,"buyer_fax":null,"buyer_phone":null,"kind":"receipt","pattern":"nr","pattern_nr":1707,"pattern_nr_m":null,"pattern_nr_d":null,"client_id":255387910,"payment_to":"2026-06-08","paid":"2178.31","seller_bank_account_id":null,"lang":"en","issue_date":"2026-06-08","price_tax":"0.0","department_id":1762697,"correction":null,"buyer_note":null,"additional_info_desc":null,"additional_info":false,"product_cache":"Roundu, Roundu","buyer_last_name":"test3@wp.pl","from_invoice_id":null,"oid":null,"discount":"0.0","show_discount":true,"sent_time":null,"print_time":null,"recurring_id":null,"tax2_visible":null,"warehouse_id":null,"paid_date":"2026-06-08","product_id":null,"issue_year":2026,"internal_note":null,"invoice_id":null,"invoice_template_id":1,"description_long":null,"buyer_tax_no_kind":null,"seller_tax_no_kind":"nip_ue","description_footer":null,"sell_date_kind":null,"payment_to_kind":"0","exchange_currency":null,"discount_kind":"percent_unit","income":true,"from_api":true,"category_id":null,"warehouse_document_id":null,"exchange_kind":"nbp","exchange_rate":"1.0","use_delivery_address":false,"delivery_address":null,"accounting_kind":null,"buyer_person":"test3@wp.pl","buyer_bank_account":null,"buyer_bank":null,"buyer_mass_payment_code":null,"exchange_note":"","buyer_company":false,"show_attachments":false,"exchange_currency_rate":null,"has_attachments":false,"exchange_date":null,"attachments_count":0,"delivery_date":"2026-06-08","fiscal_status":null,"use_moss":false,"transaction_date":"2026-06-08","email_status":null,"exclude_from_stock_level":false,"exclude_from_accounting":false,"exchange_rate_den":"1.0","exchange_currency_rate_den":"1.0","accounting_scheme":null,"exchange_difference":"0.0","not_cost":false,"reverse_charge":false,"issuer":null,"use_issuer":false,"cancelled":false,"recipient_id":null,"recipient_name":"","test":false,"discount_net":"0.0","approval_status":null,"accounting_vat_tax_date":"2026-06-08","accounting_income_tax_date":"2026-06-08","accounting_other_tax_date":null,"accounting_status":null,"normalized_number":null,"na_tax_kind":null,"issued_to_receipt":false,"gov_id":null,"gov_kind":null,"gov_status":null,"payment_url":null,"view_url":"https://tomextd.fakturownia.net/f/1707/Qsv70IxjgVHIRXll5roH","gtu_codes":[],"procedure_designations":[],"bank_accounts":[],"positions":[{"id":1255614037,"invoice_id":513590840,"name":"Roundup 360 Plus Glyphosate Herbicide - 5L","description":null,"price_net":"412.11","quantity":"5.0","total_price_gross":"2060.55","total_price_net":"2060.55","account_id":2414215,"created_at":"2026-06-08T05:29:12.000+02:00","updated_at":"2026-06-08T05:29:12.000+02:00","additional_info":null,"quantity_unit":"szt","tax":"0","price_gross":"412.11","price_tax":"0.0","total_price_tax":"0.0","kind":null,"invoice_position_id":null,"product_id":8845142009377,"deleted":false,"discount":"0.0","discount_percent":"0.0","tax2":"0","exchange_rate":"1.0","accounting_tax_kind":null,"code":null,"additional_fields":{},"discount_net":"0.0"},{"id":1255614038,"invoice_id":513590840,"name":"Roundup 360 Plus Glyphosate Herbicide - 1L","description":null,"price_net":"117.76","quantity":"1.0","total_price_gross":"117.76","total_price_net":"117.76","account_id":2414215,"created_at":"2026-06-08T05:29:12.000+02:00","updated_at":"2026-06-08T05:29:12.000+02:00","additional_info":null,"quantity_unit":"szt","tax":"0","price_gross":"117.76","price_tax":"0.0","total_price_tax":"0.0","kind":null,"invoice_position_id":null,"product_id":8845144716195,"deleted":false,"discount":"0.0","discount_percent":"0.0","tax2":"0","exchange_rate":"1.0","accounting_tax_kind":null,"code":null,"additional_fields":{},"discount_net":"0.0"}],"recipients":[],"issuers":[],"descriptions":[]}