{"action":"created","issue":{"url":"https://api.github.com/repos/easydigitaldownloads/easy-digital-downloads/issues/6797","repository_url":"https://api.github.com/repos/easydigitaldownloads/easy-digital-downloads","labels_url":"https://api.github.com/repos/easydigitaldownloads/easy-digital-downloads/issues/6797/labels{/name}","comments_url":"https://api.github.com/repos/easydigitaldownloads/easy-digital-downloads/issues/6797/comments","events_url":"https://api.github.com/repos/easydigitaldownloads/easy-digital-downloads/issues/6797/events","html_url":"https://github.com/easydigitaldownloads/easy-digital-downloads/issues/6797","id":344475417,"node_id":"MDU6SXNzdWUzNDQ0NzU0MTc=","number":6797,"title":"3.0: PHP notices when refunding full order","user":{"login":"mindctrl","id":1254870,"node_id":"MDQ6VXNlcjEyNTQ4NzA=","avatar_url":"https://avatars0.githubusercontent.com/u/1254870?v=4","gravatar_id":"","url":"https://api.github.com/users/mindctrl","html_url":"https://github.com/mindctrl","followers_url":"https://api.github.com/users/mindctrl/followers","following_url":"https://api.github.com/users/mindctrl/following{/other_user}","gists_url":"https://api.github.com/users/mindctrl/gists{/gist_id}","starred_url":"https://api.github.com/users/mindctrl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mindctrl/subscriptions","organizations_url":"https://api.github.com/users/mindctrl/orgs","repos_url":"https://api.github.com/users/mindctrl/repos","events_url":"https://api.github.com/users/mindctrl/events{/privacy}","received_events_url":"https://api.github.com/users/mindctrl/received_events","type":"User","site_admin":false},"labels":[{"id":2798126,"node_id":"MDU6TGFiZWwyNzk4MTI2","url":"https://api.github.com/repos/easydigitaldownloads/easy-digital-downloads/labels/Bug","name":"Bug","color":"fc2929","default":false},{"id":27971613,"node_id":"MDU6TGFiZWwyNzk3MTYxMw==","url":"https://api.github.com/repos/easydigitaldownloads/easy-digital-downloads/labels/Orders","name":"Orders","color":"7F8C8D","default":false}],"state":"closed","locked":false,"assignee":{"login":"sunnyratilal","id":1525554,"node_id":"MDQ6VXNlcjE1MjU1NTQ=","avatar_url":"https://avatars1.githubusercontent.com/u/1525554?v=4","gravatar_id":"","url":"https://api.github.com/users/sunnyratilal","html_url":"https://github.com/sunnyratilal","followers_url":"https://api.github.com/users/sunnyratilal/followers","following_url":"https://api.github.com/users/sunnyratilal/following{/other_user}","gists_url":"https://api.github.com/users/sunnyratilal/gists{/gist_id}","starred_url":"https://api.github.com/users/sunnyratilal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sunnyratilal/subscriptions","organizations_url":"https://api.github.com/users/sunnyratilal/orgs","repos_url":"https://api.github.com/users/sunnyratilal/repos","events_url":"https://api.github.com/users/sunnyratilal/events{/privacy}","received_events_url":"https://api.github.com/users/sunnyratilal/received_events","type":"User","site_admin":false},"assignees":[{"login":"sunnyratilal","id":1525554,"node_id":"MDQ6VXNlcjE1MjU1NTQ=","avatar_url":"https://avatars1.githubusercontent.com/u/1525554?v=4","gravatar_id":"","url":"https://api.github.com/users/sunnyratilal","html_url":"https://github.com/sunnyratilal","followers_url":"https://api.github.com/users/sunnyratilal/followers","following_url":"https://api.github.com/users/sunnyratilal/following{/other_user}","gists_url":"https://api.github.com/users/sunnyratilal/gists{/gist_id}","starred_url":"https://api.github.com/users/sunnyratilal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sunnyratilal/subscriptions","organizations_url":"https://api.github.com/users/sunnyratilal/orgs","repos_url":"https://api.github.com/users/sunnyratilal/repos","events_url":"https://api.github.com/users/sunnyratilal/events{/privacy}","received_events_url":"https://api.github.com/users/sunnyratilal/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/easydigitaldownloads/easy-digital-downloads/milestones/164","html_url":"https://github.com/easydigitaldownloads/easy-digital-downloads/milestone/164","labels_url":"https://api.github.com/repos/easydigitaldownloads/easy-digital-downloads/milestones/164/labels","id":2599343,"node_id":"MDk6TWlsZXN0b25lMjU5OTM0Mw==","number":164,"title":"3.0","description":null,"creator":{"login":"cklosowski","id":1390124,"node_id":"MDQ6VXNlcjEzOTAxMjQ=","avatar_url":"https://avatars0.githubusercontent.com/u/1390124?v=4","gravatar_id":"","url":"https://api.github.com/users/cklosowski","html_url":"https://github.com/cklosowski","followers_url":"https://api.github.com/users/cklosowski/followers","following_url":"https://api.github.com/users/cklosowski/following{/other_user}","gists_url":"https://api.github.com/users/cklosowski/gists{/gist_id}","starred_url":"https://api.github.com/users/cklosowski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cklosowski/subscriptions","organizations_url":"https://api.github.com/users/cklosowski/orgs","repos_url":"https://api.github.com/users/cklosowski/repos","events_url":"https://api.github.com/users/cklosowski/events{/privacy}","received_events_url":"https://api.github.com/users/cklosowski/received_events","type":"User","site_admin":false},"open_issues":45,"closed_issues":185,"state":"open","created_at":"2017-06-22T20:40:45Z","updated_at":"2018-08-14T22:18:22Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2018-07-25T14:45:11Z","updated_at":"2018-08-14T22:18:21Z","closed_at":"2018-08-14T22:18:21Z","author_association":"MEMBER","body":"While testing in `issue/6793` I got these errors when setting an order's status to Refunded in the admin UI.\r\n\r\n```\r\nPHP Notice:  Undefined index: edd-payment-address in /app/public/wp-content/plugins/easy-digital-downloads/includes/admin/payments/actions.php on line 110\r\nPHP Stack trace:\r\nPHP   1. {main}() /app/public/wp-admin/edit.php:0\r\nPHP   2. require_once() /app/public/wp-admin/edit.php:10\r\nPHP   3. require_once() /app/public/wp-admin/admin.php:31\r\nPHP   4. require_once() /app/public/wp-load.php:37\r\nPHP   5. require_once() /app/public/wp-config.php:89\r\nPHP   6. do_action() /app/public/wp-settings.php:450\r\nPHP   7. WP_Hook->do_action() /app/public/wp-includes/plugin.php:453\r\nPHP   8. WP_Hook->apply_filters() /app/public/wp-includes/class-wp-hook.php:310\r\nPHP   9. edd_post_actions() /app/public/wp-includes/class-wp-hook.php:286\r\nPHP  10. do_action() /app/public/wp-content/plugins/easy-digital-downloads/includes/actions.php:56\r\nPHP  11. WP_Hook->do_action() /app/public/wp-includes/plugin.php:453\r\nPHP  12. WP_Hook->apply_filters() /app/public/wp-includes/class-wp-hook.php:310\r\nPHP  13. edd_update_payment_details() /app/public/wp-includes/class-wp-hook.php:286\r\n\r\nPHP Warning:  array_map(): Argument #2 should be an array in /app/public/wp-content/plugins/easy-digital-downloads/includes/admin/payments/actions.php on line 110\r\nPHP Stack trace:\r\nPHP   1. {main}() /app/public/wp-admin/edit.php:0\r\nPHP   2. require_once() /app/public/wp-admin/edit.php:10\r\nPHP   3. require_once() /app/public/wp-admin/admin.php:31\r\nPHP   4. require_once() /app/public/wp-load.php:37\r\nPHP   5. require_once() /app/public/wp-config.php:89\r\nPHP   6. do_action() /app/public/wp-settings.php:450\r\nPHP   7. WP_Hook->do_action() /app/public/wp-includes/plugin.php:453\r\nPHP   8. WP_Hook->apply_filters() /app/public/wp-includes/class-wp-hook.php:310\r\nPHP   9. edd_post_actions() /app/public/wp-includes/class-wp-hook.php:286\r\nPHP  10. do_action() /app/public/wp-content/plugins/easy-digital-downloads/includes/actions.php:56\r\nPHP  11. WP_Hook->do_action() /app/public/wp-includes/plugin.php:453\r\nPHP  12. WP_Hook->apply_filters() /app/public/wp-includes/class-wp-hook.php:310\r\nPHP  13. edd_update_payment_details() /app/public/wp-includes/class-wp-hook.php:286\r\nPHP  14. array_map() /app/public/wp-content/plugins/easy-digital-downloads/includes/admin/payments/actions.php:110\r\n\r\nPHP Notice:  Undefined index: edd-payment-total in /app/public/wp-content/plugins/easy-digital-downloads/includes/admin/payments/actions.php on line 113\r\nPHP Stack trace:\r\nPHP   1. {main}() /app/public/wp-admin/edit.php:0\r\nPHP   2. require_once() /app/public/wp-admin/edit.php:10\r\nPHP   3. require_once() /app/public/wp-admin/admin.php:31\r\nPHP   4. require_once() /app/public/wp-load.php:37\r\nPHP   5. require_once() /app/public/wp-config.php:89\r\nPHP   6. do_action() /app/public/wp-settings.php:450\r\nPHP   7. WP_Hook->do_action() /app/public/wp-includes/plugin.php:453\r\nPHP   8. WP_Hook->apply_filters() /app/public/wp-includes/class-wp-hook.php:310\r\nPHP   9. edd_post_actions() /app/public/wp-includes/class-wp-hook.php:286\r\nPHP  10. do_action() /app/public/wp-content/plugins/easy-digital-downloads/includes/actions.php:56\r\nPHP  11. WP_Hook->do_action() /app/public/wp-includes/plugin.php:453\r\nPHP  12. WP_Hook->apply_filters() /app/public/wp-includes/class-wp-hook.php:310\r\nPHP  13. edd_update_payment_details() /app/public/wp-includes/class-wp-hook.php:286\r\n\r\nPHP Notice:  Undefined index: status in /app/public/wp-content/plugins/easy-digital-downloads/includes/admin/payments/actions.php on line 348\r\nPHP Stack trace:\r\nPHP   1. {main}() /app/public/wp-admin/edit.php:0\r\nPHP   2. require_once() /app/public/wp-admin/edit.php:10\r\nPHP   3. require_once() /app/public/wp-admin/admin.php:31\r\nPHP   4. require_once() /app/public/wp-load.php:37\r\nPHP   5. require_once() /app/public/wp-config.php:89\r\nPHP   6. do_action() /app/public/wp-settings.php:450\r\nPHP   7. WP_Hook->do_action() /app/public/wp-includes/plugin.php:453\r\nPHP   8. WP_Hook->apply_filters() /app/public/wp-includes/class-wp-hook.php:310\r\nPHP   9. edd_post_actions() /app/public/wp-includes/class-wp-hook.php:286\r\nPHP  10. do_action() /app/public/wp-content/plugins/easy-digital-downloads/includes/actions.php:56\r\nPHP  11. WP_Hook->do_action() /app/public/wp-includes/plugin.php:453\r\nPHP  12. WP_Hook->apply_filters() /app/public/wp-includes/class-wp-hook.php:310\r\nPHP  13. edd_update_payment_details() /app/public/wp-includes/class-wp-hook.php:286\r\n```"},"comment":{"url":"https://api.github.com/repos/easydigitaldownloads/easy-digital-downloads/issues/comments/413034309","html_url":"https://github.com/easydigitaldownloads/easy-digital-downloads/issues/6797#issuecomment-413034309","issue_url":"https://api.github.com/repos/easydigitaldownloads/easy-digital-downloads/issues/6797","id":413034309,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMzAzNDMwOQ==","user":{"login":"sunnyratilal","id":1525554,"node_id":"MDQ6VXNlcjE1MjU1NTQ=","avatar_url":"https://avatars1.githubusercontent.com/u/1525554?v=4","gravatar_id":"","url":"https://api.github.com/users/sunnyratilal","html_url":"https://github.com/sunnyratilal","followers_url":"https://api.github.com/users/sunnyratilal/followers","following_url":"https://api.github.com/users/sunnyratilal/following{/other_user}","gists_url":"https://api.github.com/users/sunnyratilal/gists{/gist_id}","starred_url":"https://api.github.com/users/sunnyratilal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sunnyratilal/subscriptions","organizations_url":"https://api.github.com/users/sunnyratilal/orgs","repos_url":"https://api.github.com/users/sunnyratilal/repos","events_url":"https://api.github.com/users/sunnyratilal/events{/privacy}","received_events_url":"https://api.github.com/users/sunnyratilal/received_events","type":"User","site_admin":false},"created_at":"2018-08-14T22:18:21Z","updated_at":"2018-08-14T22:18:21Z","author_association":"MEMBER","body":"Fixed in https://github.com/easydigitaldownloads/easy-digital-downloads/commit/a6ea1a5a1cfd29602cd66eaf3319acaaf57487ab."}}
{"actor":{"display_login":"sunnyratilal"}}