{"action":"created","issue":{"url":"https://api.github.com/repos/woocommerce/woocommerce-gateway-stripe/issues/431","repository_url":"https://api.github.com/repos/woocommerce/woocommerce-gateway-stripe","labels_url":"https://api.github.com/repos/woocommerce/woocommerce-gateway-stripe/issues/431/labels{/name}","comments_url":"https://api.github.com/repos/woocommerce/woocommerce-gateway-stripe/issues/431/comments","events_url":"https://api.github.com/repos/woocommerce/woocommerce-gateway-stripe/issues/431/events","html_url":"https://github.com/woocommerce/woocommerce-gateway-stripe/issues/431","id":283695754,"number":431,"title":"Blank Screen When clicking Payment Methods in WooCommerce My Account","user":{"login":"poolet08","id":34723732,"avatar_url":"https://avatars2.githubusercontent.com/u/34723732?v=4","gravatar_id":"","url":"https://api.github.com/users/poolet08","html_url":"https://github.com/poolet08","followers_url":"https://api.github.com/users/poolet08/followers","following_url":"https://api.github.com/users/poolet08/following{/other_user}","gists_url":"https://api.github.com/users/poolet08/gists{/gist_id}","starred_url":"https://api.github.com/users/poolet08/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/poolet08/subscriptions","organizations_url":"https://api.github.com/users/poolet08/orgs","repos_url":"https://api.github.com/users/poolet08/repos","events_url":"https://api.github.com/users/poolet08/events{/privacy}","received_events_url":"https://api.github.com/users/poolet08/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-12-20T21:09:22Z","updated_at":"2017-12-20T21:16:05Z","closed_at":"2017-12-20T21:11:20Z","author_association":"NONE","body":"<!-- Thanks for contributing to this extension! Pick a clear title (\"Order: Unable to refund\") and proceed. -->\r\n\r\n#### Affected ticket(s)\r\n\r\n<!-- The ZenDesk tickets that are affected by this issue -->\r\n\r\n#### What I expected\r\n\r\nScreen should load and show the payment methods a customer has on file.\r\n\r\n#### What happened instead\r\n\r\nThe page does not load fully. Please see attached files. Here is the error:\r\n\r\n[19-Dec-2017 22:40:38 UTC] PHP Fatal error:  Uncaught exception 'Exception' with message 'Invalid or missing payment token fields.' in /var/www/travelingmailbox.com/wp-content/plugins/woocommerce/includes/data-stores/class-wc-payment-token-data-store.php:37\r\nStack trace:\r\n#0 /var/www/travelingmailbox.com/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(157): WC_Payment_Token_Data_Store->create(Object(WC_Payment_Token_CC))\r\n#1 /var/www/travelingmailbox.com/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-data.php(201): WC_Data_Store->create(Object(WC_Payment_Token_CC))\r\n#2 /var/www/travelingmailbox.com/wp-content/plugins/woocommerce-gateway-stripe/woocommerce-gateway-stripe.php(546): WC_Data->save()\r\n#3 [internal function]: WC_Stripe->woocommerce_get_customer_payment_tokens(Array, 16332, 'stripe')\r\n#4 /var/www/travelingmailbox.com/wp-includes/class-wp-hook.php(286): call_user_func_array(Array, Array)\r\n#5 /var/www/travelingmailbox.com/wp-includes/plugin.php(203): WP_Hook->apply_filters(Array, Array)\r\n#6 /var/www/travelingmailbox.com/wp in /var/www/travelingmailbox.com/wp-content/plugins/woocommerce/includes/data-stores/class-wc-payment-token-data-store.php on line 37\r\n\r\nNote: This does not happen with every customer. For some customers the payment methods page loads fine. For others, it does not.\r\n![mikewhitescreen](https://user-images.githubusercontent.com/34723732/34228832-23395886-e5a0-11e7-9fdd-783361983e3d.jpg)\r\n\r\n\r\n#### Steps to reproduce the issue\r\n\r\n<!-- Please add detailed steps to reproduce the issue. Make sure it's reproducible locally. Other extensions should be deactivated and standard theme is used when reproducing the issue locally -->\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"},"comment":{"url":"https://api.github.com/repos/woocommerce/woocommerce-gateway-stripe/issues/comments/353184454","html_url":"https://github.com/woocommerce/woocommerce-gateway-stripe/issues/431#issuecomment-353184454","issue_url":"https://api.github.com/repos/woocommerce/woocommerce-gateway-stripe/issues/431","id":353184454,"user":{"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},"created_at":"2017-12-20T21:16:05Z","updated_at":"2017-12-20T21:16:05Z","author_association":"OWNER","body":"When you have a theme or plugin that requires scripts to load, some taking lots of resources will take time and if your server is not up to it or the connection with the person using the form is not speedy enough, will cause other scripts down the chain to have issues such as not being able to generate the token field. Or some type of error causing the field to not create in the first place."}}
{"actor":{"display_login":"roykho"}}