{"action":"closed","issue":{"url":"https://api.github.com/repos/woocommerce/woocommerce-google-analytics-integration/issues/105","repository_url":"https://api.github.com/repos/woocommerce/woocommerce-google-analytics-integration","labels_url":"https://api.github.com/repos/woocommerce/woocommerce-google-analytics-integration/issues/105/labels{/name}","comments_url":"https://api.github.com/repos/woocommerce/woocommerce-google-analytics-integration/issues/105/comments","events_url":"https://api.github.com/repos/woocommerce/woocommerce-google-analytics-integration/issues/105/events","html_url":"https://github.com/woocommerce/woocommerce-google-analytics-integration/issues/105","id":272647270,"number":105,"title":"Checkout Fatal Error: Cash on Delivery/Guest Checkout","user":{"login":"teclanDesign","id":8091421,"avatar_url":"https://avatars3.githubusercontent.com/u/8091421?v=4","gravatar_id":"","url":"https://api.github.com/users/teclanDesign","html_url":"https://github.com/teclanDesign","followers_url":"https://api.github.com/users/teclanDesign/followers","following_url":"https://api.github.com/users/teclanDesign/following{/other_user}","gists_url":"https://api.github.com/users/teclanDesign/gists{/gist_id}","starred_url":"https://api.github.com/users/teclanDesign/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teclanDesign/subscriptions","organizations_url":"https://api.github.com/users/teclanDesign/orgs","repos_url":"https://api.github.com/users/teclanDesign/repos","events_url":"https://api.github.com/users/teclanDesign/events{/privacy}","received_events_url":"https://api.github.com/users/teclanDesign/received_events","type":"User","site_admin":false},"labels":[{"id":383314249,"url":"https://api.github.com/repos/woocommerce/woocommerce-google-analytics-integration/labels/[Pri]%20High","name":"[Pri] High","color":"ec9a71","default":false},{"id":383314256,"url":"https://api.github.com/repos/woocommerce/woocommerce-google-analytics-integration/labels/[Type]%20Bug","name":"[Type] Bug","color":"e11d21","default":false}],"state":"closed","locked":false,"assignee":{"login":"roykho","id":2132595,"avatar_url":"https://avatars3.githubusercontent.com/u/2132595?v=4","gravatar_id":"","url":"https://api.github.com/users/roykho","html_url":"https://github.com/roykho","followers_url":"https://api.github.com/users/roykho/followers","following_url":"https://api.github.com/users/roykho/following{/other_user}","gists_url":"https://api.github.com/users/roykho/gists{/gist_id}","starred_url":"https://api.github.com/users/roykho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roykho/subscriptions","organizations_url":"https://api.github.com/users/roykho/orgs","repos_url":"https://api.github.com/users/roykho/repos","events_url":"https://api.github.com/users/roykho/events{/privacy}","received_events_url":"https://api.github.com/users/roykho/received_events","type":"User","site_admin":false},"assignees":[{"login":"roykho","id":2132595,"avatar_url":"https://avatars3.githubusercontent.com/u/2132595?v=4","gravatar_id":"","url":"https://api.github.com/users/roykho","html_url":"https://github.com/roykho","followers_url":"https://api.github.com/users/roykho/followers","following_url":"https://api.github.com/users/roykho/following{/other_user}","gists_url":"https://api.github.com/users/roykho/gists{/gist_id}","starred_url":"https://api.github.com/users/roykho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roykho/subscriptions","organizations_url":"https://api.github.com/users/roykho/orgs","repos_url":"https://api.github.com/users/roykho/repos","events_url":"https://api.github.com/users/roykho/events{/privacy}","received_events_url":"https://api.github.com/users/roykho/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2017-11-09T17:16:58Z","updated_at":"2018-03-06T21:18:31Z","closed_at":"2018-03-06T21:18:31Z","author_association":"NONE","body":"We're finding a situation where the checkout process hangs when completing an order (blank white screen, no order completion). A side effect of this results in order details being empty (no product total or qty, only the order total).\r\n\r\nIt only seems to happen when:\r\n\r\nCustomer checks out as a guest (no account, not logged in)\r\nAND\r\nCustomer chooses Cash on Delivery as the payment method\r\n\r\nOther payment gateways and account customers can complete successfully.\r\n\r\nIt causes a fatal error in the server log, the 500 error is presumably the reason for the white screen:\r\n\r\nmod_fcgid: stderr: PHP Fatal error: Call to a member function get_sku() on boolean in\r\n /var/www/vhosts/*SITE*/httpdocs/wp-content/plugins/woocommerce-google-analytics-integration/includes/class-wc-google-analytics-js.php on line 418, referer: https://www.*SITE*/checkout/\r\n\r\nUnticking the Enhanced Ecommerce options (where the get_sku() calls seem to reside) in the plugin settings under WooCommerce > Settings moves the error reference line num to 400 but the issue still occurs. \r\n\r\nDeactivating the plugin completely removes the 500 error from the log and allows the order to \"complete\". Although we are now seeing the Order Received page, these orders are still blank which looks like this plugin may not be the root cause of the blank order issue that we are seeing and I will investigate that elsewhere but wanted to let you know about the error which is definitely caused by the plugin.\r\n\r\n<!--\r\nPLEASE NOTE\r\n- These comments won't show up when you submit the issue.\r\n- Everything is optional, but try to add as many details as possible.\r\n- Screenshot worth a thousand words, use screenshots if possible.\r\n- If requesting a new feature, explain why you'd like to see it added.\r\n- Please apply appropriate labels on the issue\r\n-->\r\n\r\n\r\n-------------------\r\n\r\n- [ ] Issue assigned to next milestone.\r\n- [ ] Issue assigned a priority (will be assessed by maintainers).\r\n"}}
{"actor":{"display_login":"roykho"}}