Skip to content

Instantly share code, notes, and snippets.

@nmedia82
Created March 8, 2023 04:20
Show Gist options
  • Save nmedia82/07a929052531996a98d89368b231f101 to your computer and use it in GitHub Desktop.
Save nmedia82/07a929052531996a98d89368b231f101 to your computer and use it in GitHub Desktop.
2023-03-04T16:58:34+00:00 INFO Array
(
[Webhook Delivery] => Array
(
[Delivery ID] => 04b942d250e1f6735599b27d290dceba
[Date] => Mar 4, 2023 @ 16:58
[URL] => https://script.google.com/macros/s/AKfycbzREkLowPNflSOSWca5exieeOJORrNSN9E-N7POw3zeYhj8VyigAM9ExA1_igR9Fa_L/exec?event_type=product_updated&sheet_id=1m0YzHUzr8MxwfPFnxziakygwosyZ25K-CS3lc_VSwFA&store_url=https://begfeast.s1-tastewp.com
[Duration] => 1.43979
[Request] => Array
(
[Method] => POST
[Headers] => Array
(
[User-Agent] => WooCommerce/7.4.1 Hookshot (WordPress/6.0.3)
[Content-Type] => application/json
[X-WC-Webhook-Source] => https://begfeast.s1-tastewp.com/
[X-WC-Webhook-Topic] => product.updated
[X-WC-Webhook-Resource] => product
[X-WC-Webhook-Event] => updated
[X-WC-Webhook-Signature] => XPGUpQVSqp/8CLGiq54xz24ov++uXYSfQzNrHsu3lQ0=
[X-WC-Webhook-ID] => 1
[X-WC-Webhook-Delivery-ID] => 04b942d250e1f6735599b27d290dceba
)
)
[Body] => {\"id\":10,\"name\":\"Compact backpack 3\",\"slug\":\"compact-backpack\",\"permalink\":\"https:\\/\\/begfeast.s1-tastewp.com\\/product\\/compact-backpack\\/\",\"date_created\":\"2023-03-02T04:19:59\",\"date_created_gmt\":\"2023-03-02T04:19:59\",\"date_modified\":\"2023-03-04T16:58:33\",\"date_modified_gmt\":\"2023-03-04T16:58:33\",\"type\":\"simple\",\"status\":\"publish\",\"featured\":false,\"catalog_visibility\":\"visible\",\"description\":\"\",\"short_description\":\"\",\"sku\":\"\",\"price\":\"1.35\",\"regular_price\":\"1.35\",\"sale_price\":\"\",\"date_on_sale_from\":null,\"date_on_sale_from_gmt\":null,\"date_on_sale_to\":null,\"date_on_sale_to_gmt\":null,\"on_sale\":false,\"purchasable\":true,\"total_sales\":0,\"virtual\":false,\"downloadable\":true,\"downloads\":[{\"id\":\"f1dbde09-5f1b-4bd6-9c34-d104c0351e81\",\"name\":\"TasteWP Init\",\"file\":\"https:\\/\\/begfeast.s1-tastewp.com\\/wp-content\\/uploads\\/woocommerce_uploads\\/2023\\/03\\/wp-tastewp-init-tf4vol.zip\"}],\"download_limit\":-1,\"download_expiry\":-1,\"external_url\":\"\",\"button_text\":\"\",\"tax_status\":\"taxable\",\"tax_class\":\"\",\"manage_stock\":true,\"stock_quantity\":50,\"backorders\":\"no\",\"backorders_allowed\":false,\"backordered\":false,\"low_stock_amount\":null,\"sold_individually\":false,\"weight\":\"\",\"dimensions\":{\"length\":\"\",\"width\":\"\",\"height\":\"\"},\"shipping_required\":true,\"shipping_taxable\":true,\"shipping_class\":\"\",\"shipping_class_id\":0,\"reviews_allowed\":true,\"average_rating\":\"0.00\",\"rating_count\":0,\"upsell_ids\":[],\"cross_sell_ids\":[],\"parent_id\":0,\"purchase_note\":\"\",\"categories\":[{\"id\":15,\"name\":\"Uncategorized\",\"slug\":\"uncategorized\"}],\"tags\":[],\"images\":[],\"attributes\":[],\"default_attributes\":[],\"variations\":[],\"grouped_products\":[],\"menu_order\":0,\"price_html\":\"<span class=\\\"woocommerce-Price-amount amount\\\"><bdi><span class=\\\"woocommerce-Price-currencySymbol\\\">$<\\/span>1.35<\\/bdi><\\/span>\",\"related_ids\":[11],\"meta_data\":[{\"id\":50,\"key\":\"wbps_row_id\",\"value\":\"2\"}],\"stock_status\":\"instock\",\"has_options\":false,\"_links\":{\"self\":[{\"href\":\"https:\\/\\/begfeast.s1-tastewp.com\\/wp-json\\/wc\\/v3\\/products\\/10\"}],\"collection\":[{\"href\":\"https:\\/\\/begfeast.s1-tastewp.com\\/wp-json\\/wc\\/v3\\/products\"}]}}
[Response] => Array
(
[Code] => 200
[Message] => OK
[Headers] => Requests_Utility_CaseInsensitiveDictionary Object
(
[data:protected] => Array
(
[content-type] => text/html; charset=utf-8
[cache-control] => no-cache, no-store, max-age=0, must-revalidate
[pragma] => no-cache
[expires] => Mon, 01 Jan 1990 00:00:00 GMT
[date] => Sat, 04 Mar 2023 16:55:50 GMT
[content-encoding] => gzip
[referrer-policy] => origin
[x-content-type-options] => nosniff
[x-xss-protection] => 1; mode=block
[server] => GSE
[alt-svc] => h3=":443"; ma=2592000,h3-29=":443"; ma=2592000
)
)
[Body] => <!DOCTYPE html><html><head><link rel="shortcut icon" href="//ssl.gstatic.com/docs/script/images/favicon.ico"><title>Fehler</title><style type="text/css" nonce="SNDeDaHblgLxFHGfnSaYpA">body {background-color: #fff; margin: 0; padding: 0;}.errorMessage {font-family: Arial,sans-serif; font-size: 12pt; font-weight: bold; line-height: 150%; padding-top: 25px;}</style></head><body style="margin:20px"><div><img alt="Google Apps Script" src="//ssl.gstatic.com/docs/script/images/logo.png"></div><div style="text-align:center;font-family:monospace;margin:50px auto 0;max-width:600px">Sie sind nicht berechtigt, auf das gewünschte Dokument zuzugreifen.</div></body></html>
)
)
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment