{"action":"created","comment":{"url":"https://api.github.com/repos/BoltApp/bolt-magento1/pulls/comments/222374401","pull_request_review_id":161245740,"id":222374401,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyMjM3NDQwMQ==","diff_hunk":"@@ -175,24 +175,33 @@ function ($item) use ($quote, &$calculatedTotal, $boltHelper) {\n             /////////////////////////////////////////////////////////////////////////////////////////\n         } else {\n \n-            // Billing / shipping address fields that are required when the address data is sent to Bolt.\n-            $requiredAddressFields = array(\n+            $billingAddress  = $quote->getBillingAddress();\n+            $shippingAddress = $quote->getShippingAddress();\n+\n+            /*////////////////////////////////////////////////////////////////////////////\n+               -------------------------------------\n+                Billing / shipping address fields that are required\n+                when the address data is sent to Bolt.\n+                ------------------------------------\n                 'first_name',\n                 'last_name',\n                 'street_address1',\n                 'locality',\n                 'region',","path":"app/code/community/Bolt/Boltpay/Model/Quote.php","position":18,"original_position":18,"commit_id":"5a1c4682f2bdcd8da0b4987a266751fa04563e0d","original_commit_id":"5a1c4682f2bdcd8da0b4987a266751fa04563e0d","user":{"login":"daisy1754","id":980077,"node_id":"MDQ6VXNlcjk4MDA3Nw==","avatar_url":"https://avatars1.githubusercontent.com/u/980077?v=4","gravatar_id":"","url":"https://api.github.com/users/daisy1754","html_url":"https://github.com/daisy1754","followers_url":"https://api.github.com/users/daisy1754/followers","following_url":"https://api.github.com/users/daisy1754/following{/other_user}","gists_url":"https://api.github.com/users/daisy1754/gists{/gist_id}","starred_url":"https://api.github.com/users/daisy1754/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daisy1754/subscriptions","organizations_url":"https://api.github.com/users/daisy1754/orgs","repos_url":"https://api.github.com/users/daisy1754/repos","events_url":"https://api.github.com/users/daisy1754/events{/privacy}","received_events_url":"https://api.github.com/users/daisy1754/received_events","type":"User","site_admin":false},"body":"I don't think region is required depending on country","created_at":"2018-10-03T16:16:22Z","updated_at":"2018-10-03T16:16:53Z","html_url":"https://github.com/BoltApp/bolt-magento1/pull/209#discussion_r222374401","pull_request_url":"https://api.github.com/repos/BoltApp/bolt-magento1/pulls/209","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/BoltApp/bolt-magento1/pulls/comments/222374401"},"html":{"href":"https://github.com/BoltApp/bolt-magento1/pull/209#discussion_r222374401"},"pull_request":{"href":"https://api.github.com/repos/BoltApp/bolt-magento1/pulls/209"}}},"pull_request":{"url":"https://api.github.com/repos/BoltApp/bolt-magento1/pulls/209","id":220088676,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIwMDg4Njc2","html_url":"https://github.com/BoltApp/bolt-magento1/pull/209","diff_url":"https://github.com/BoltApp/bolt-magento1/pull/209.diff","patch_url":"https://github.com/BoltApp/bolt-magento1/pull/209.patch","issue_url":"https://api.github.com/repos/BoltApp/bolt-magento1/issues/209","number":209,"state":"open","locked":false,"title":"Preserve and default address data","user":{"login":"mccottry","id":973856,"node_id":"MDQ6VXNlcjk3Mzg1Ng==","avatar_url":"https://avatars3.githubusercontent.com/u/973856?v=4","gravatar_id":"","url":"https://api.github.com/users/mccottry","html_url":"https://github.com/mccottry","followers_url":"https://api.github.com/users/mccottry/followers","following_url":"https://api.github.com/users/mccottry/following{/other_user}","gists_url":"https://api.github.com/users/mccottry/gists{/gist_id}","starred_url":"https://api.github.com/users/mccottry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mccottry/subscriptions","organizations_url":"https://api.github.com/users/mccottry/orgs","repos_url":"https://api.github.com/users/mccottry/repos","events_url":"https://api.github.com/users/mccottry/events{/privacy}","received_events_url":"https://api.github.com/users/mccottry/received_events","type":"User","site_admin":false},"body":"We are currently saving orders to Magento without some billing info.  Currently, we only assure that all the shipping info is in place.  \r\n\r\nWe must make sure that billing info is complete as well so that client plugins and third party software behave normally.","created_at":"2018-10-03T15:50:12Z","updated_at":"2018-10-03T16:16:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0d7b3802d2f94287029a704bef5f536e6b868b99","assignee":null,"assignees":[],"requested_reviewers":[{"login":"mpatin","id":3418385,"node_id":"MDQ6VXNlcjM0MTgzODU=","avatar_url":"https://avatars2.githubusercontent.com/u/3418385?v=4","gravatar_id":"","url":"https://api.github.com/users/mpatin","html_url":"https://github.com/mpatin","followers_url":"https://api.github.com/users/mpatin/followers","following_url":"https://api.github.com/users/mpatin/following{/other_user}","gists_url":"https://api.github.com/users/mpatin/gists{/gist_id}","starred_url":"https://api.github.com/users/mpatin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mpatin/subscriptions","organizations_url":"https://api.github.com/users/mpatin/orgs","repos_url":"https://api.github.com/users/mpatin/repos","events_url":"https://api.github.com/users/mpatin/events{/privacy}","received_events_url":"https://api.github.com/users/mpatin/received_events","type":"User","site_admin":false},{"login":"danac-gs","id":37150717,"node_id":"MDQ6VXNlcjM3MTUwNzE3","avatar_url":"https://avatars1.githubusercontent.com/u/37150717?v=4","gravatar_id":"","url":"https://api.github.com/users/danac-gs","html_url":"https://github.com/danac-gs","followers_url":"https://api.github.com/users/danac-gs/followers","following_url":"https://api.github.com/users/danac-gs/following{/other_user}","gists_url":"https://api.github.com/users/danac-gs/gists{/gist_id}","starred_url":"https://api.github.com/users/danac-gs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danac-gs/subscriptions","organizations_url":"https://api.github.com/users/danac-gs/orgs","repos_url":"https://api.github.com/users/danac-gs/repos","events_url":"https://api.github.com/users/danac-gs/events{/privacy}","received_events_url":"https://api.github.com/users/danac-gs/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/BoltApp/bolt-magento1/pulls/209/commits","review_comments_url":"https://api.github.com/repos/BoltApp/bolt-magento1/pulls/209/comments","review_comment_url":"https://api.github.com/repos/BoltApp/bolt-magento1/pulls/comments{/number}","comments_url":"https://api.github.com/repos/BoltApp/bolt-magento1/issues/209/comments","statuses_url":"https://api.github.com/repos/BoltApp/bolt-magento1/statuses/5a1c4682f2bdcd8da0b4987a266751fa04563e0d","head":{"label":"BoltApp:preserve-and-default-address-data","ref":"preserve-and-default-address-data","sha":"5a1c4682f2bdcd8da0b4987a266751fa04563e0d","user":{"login":"BoltApp","id":8142070,"node_id":"MDEyOk9yZ2FuaXphdGlvbjgxNDIwNzA=","avatar_url":"https://avatars1.githubusercontent.com/u/8142070?v=4","gravatar_id":"","url":"https://api.github.com/users/BoltApp","html_url":"https://github.com/BoltApp","followers_url":"https://api.github.com/users/BoltApp/followers","following_url":"https://api.github.com/users/BoltApp/following{/other_user}","gists_url":"https://api.github.com/users/BoltApp/gists{/gist_id}","starred_url":"https://api.github.com/users/BoltApp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BoltApp/subscriptions","organizations_url":"https://api.github.com/users/BoltApp/orgs","repos_url":"https://api.github.com/users/BoltApp/repos","events_url":"https://api.github.com/users/BoltApp/events{/privacy}","received_events_url":"https://api.github.com/users/BoltApp/received_events","type":"Organization","site_admin":false},"repo":{"id":125256996,"node_id":"MDEwOlJlcG9zaXRvcnkxMjUyNTY5OTY=","name":"bolt-magento1","full_name":"BoltApp/bolt-magento1","private":false,"owner":{"login":"BoltApp","id":8142070,"node_id":"MDEyOk9yZ2FuaXphdGlvbjgxNDIwNzA=","avatar_url":"https://avatars1.githubusercontent.com/u/8142070?v=4","gravatar_id":"","url":"https://api.github.com/users/BoltApp","html_url":"https://github.com/BoltApp","followers_url":"https://api.github.com/users/BoltApp/followers","following_url":"https://api.github.com/users/BoltApp/following{/other_user}","gists_url":"https://api.github.com/users/BoltApp/gists{/gist_id}","starred_url":"https://api.github.com/users/BoltApp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BoltApp/subscriptions","organizations_url":"https://api.github.com/users/BoltApp/orgs","repos_url":"https://api.github.com/users/BoltApp/repos","events_url":"https://api.github.com/users/BoltApp/events{/privacy}","received_events_url":"https://api.github.com/users/BoltApp/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/BoltApp/bolt-magento1","description":"Bolt plugin for magento1","fork":false,"url":"https://api.github.com/repos/BoltApp/bolt-magento1","forks_url":"https://api.github.com/repos/BoltApp/bolt-magento1/forks","keys_url":"https://api.github.com/repos/BoltApp/bolt-magento1/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BoltApp/bolt-magento1/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BoltApp/bolt-magento1/teams","hooks_url":"https://api.github.com/repos/BoltApp/bolt-magento1/hooks","issue_events_url":"https://api.github.com/repos/BoltApp/bolt-magento1/issues/events{/number}","events_url":"https://api.github.com/repos/BoltApp/bolt-magento1/events","assignees_url":"https://api.github.com/repos/BoltApp/bolt-magento1/assignees{/user}","branches_url":"https://api.github.com/repos/BoltApp/bolt-magento1/branches{/branch}","tags_url":"https://api.github.com/repos/BoltApp/bolt-magento1/tags","blobs_url":"https://api.github.com/repos/BoltApp/bolt-magento1/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BoltApp/bolt-magento1/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BoltApp/bolt-magento1/git/refs{/sha}","trees_url":"https://api.github.com/repos/BoltApp/bolt-magento1/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BoltApp/bolt-magento1/statuses/{sha}","languages_url":"https://api.github.com/repos/BoltApp/bolt-magento1/languages","stargazers_url":"https://api.github.com/repos/BoltApp/bolt-magento1/stargazers","contributors_url":"https://api.github.com/repos/BoltApp/bolt-magento1/contributors","subscribers_url":"https://api.github.com/repos/BoltApp/bolt-magento1/subscribers","subscription_url":"https://api.github.com/repos/BoltApp/bolt-magento1/subscription","commits_url":"https://api.github.com/repos/BoltApp/bolt-magento1/commits{/sha}","git_commits_url":"https://api.github.com/repos/BoltApp/bolt-magento1/git/commits{/sha}","comments_url":"https://api.github.com/repos/BoltApp/bolt-magento1/comments{/number}","issue_comment_url":"https://api.github.com/repos/BoltApp/bolt-magento1/issues/comments{/number}","contents_url":"https://api.github.com/repos/BoltApp/bolt-magento1/contents/{+path}","compare_url":"https://api.github.com/repos/BoltApp/bolt-magento1/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BoltApp/bolt-magento1/merges","archive_url":"https://api.github.com/repos/BoltApp/bolt-magento1/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BoltApp/bolt-magento1/downloads","issues_url":"https://api.github.com/repos/BoltApp/bolt-magento1/issues{/number}","pulls_url":"https://api.github.com/repos/BoltApp/bolt-magento1/pulls{/number}","milestones_url":"https://api.github.com/repos/BoltApp/bolt-magento1/milestones{/number}","notifications_url":"https://api.github.com/repos/BoltApp/bolt-magento1/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BoltApp/bolt-magento1/labels{/name}","releases_url":"https://api.github.com/repos/BoltApp/bolt-magento1/releases{/id}","deployments_url":"https://api.github.com/repos/BoltApp/bolt-magento1/deployments","created_at":"2018-03-14T18:30:30Z","updated_at":"2018-10-03T06:55:59Z","pushed_at":"2018-10-03T16:03:06Z","git_url":"git://github.com/BoltApp/bolt-magento1.git","ssh_url":"git@github.com:BoltApp/bolt-magento1.git","clone_url":"https://github.com/BoltApp/bolt-magento1.git","svn_url":"https://github.com/BoltApp/bolt-magento1","homepage":null,"size":2698,"stargazers_count":2,"watchers_count":2,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"archived":false,"open_issues_count":6,"license":{"key":"osl-3.0","name":"Open Software License 3.0","spdx_id":"OSL-3.0","url":"https://api.github.com/licenses/osl-3.0","node_id":"MDc6TGljZW5zZTE2"},"forks":5,"open_issues":6,"watchers":2,"default_branch":"develop"}},"base":{"label":"BoltApp:develop","ref":"develop","sha":"a6f353f551f7b77915f1998a949dc024d26ac2b4","user":{"login":"BoltApp","id":8142070,"node_id":"MDEyOk9yZ2FuaXphdGlvbjgxNDIwNzA=","avatar_url":"https://avatars1.githubusercontent.com/u/8142070?v=4","gravatar_id":"","url":"https://api.github.com/users/BoltApp","html_url":"https://github.com/BoltApp","followers_url":"https://api.github.com/users/BoltApp/followers","following_url":"https://api.github.com/users/BoltApp/following{/other_user}","gists_url":"https://api.github.com/users/BoltApp/gists{/gist_id}","starred_url":"https://api.github.com/users/BoltApp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BoltApp/subscriptions","organizations_url":"https://api.github.com/users/BoltApp/orgs","repos_url":"https://api.github.com/users/BoltApp/repos","events_url":"https://api.github.com/users/BoltApp/events{/privacy}","received_events_url":"https://api.github.com/users/BoltApp/received_events","type":"Organization","site_admin":false},"repo":{"id":125256996,"node_id":"MDEwOlJlcG9zaXRvcnkxMjUyNTY5OTY=","name":"bolt-magento1","full_name":"BoltApp/bolt-magento1","private":false,"owner":{"login":"BoltApp","id":8142070,"node_id":"MDEyOk9yZ2FuaXphdGlvbjgxNDIwNzA=","avatar_url":"https://avatars1.githubusercontent.com/u/8142070?v=4","gravatar_id":"","url":"https://api.github.com/users/BoltApp","html_url":"https://github.com/BoltApp","followers_url":"https://api.github.com/users/BoltApp/followers","following_url":"https://api.github.com/users/BoltApp/following{/other_user}","gists_url":"https://api.github.com/users/BoltApp/gists{/gist_id}","starred_url":"https://api.github.com/users/BoltApp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BoltApp/subscriptions","organizations_url":"https://api.github.com/users/BoltApp/orgs","repos_url":"https://api.github.com/users/BoltApp/repos","events_url":"https://api.github.com/users/BoltApp/events{/privacy}","received_events_url":"https://api.github.com/users/BoltApp/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/BoltApp/bolt-magento1","description":"Bolt plugin for magento1","fork":false,"url":"https://api.github.com/repos/BoltApp/bolt-magento1","forks_url":"https://api.github.com/repos/BoltApp/bolt-magento1/forks","keys_url":"https://api.github.com/repos/BoltApp/bolt-magento1/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BoltApp/bolt-magento1/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BoltApp/bolt-magento1/teams","hooks_url":"https://api.github.com/repos/BoltApp/bolt-magento1/hooks","issue_events_url":"https://api.github.com/repos/BoltApp/bolt-magento1/issues/events{/number}","events_url":"https://api.github.com/repos/BoltApp/bolt-magento1/events","assignees_url":"https://api.github.com/repos/BoltApp/bolt-magento1/assignees{/user}","branches_url":"https://api.github.com/repos/BoltApp/bolt-magento1/branches{/branch}","tags_url":"https://api.github.com/repos/BoltApp/bolt-magento1/tags","blobs_url":"https://api.github.com/repos/BoltApp/bolt-magento1/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BoltApp/bolt-magento1/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BoltApp/bolt-magento1/git/refs{/sha}","trees_url":"https://api.github.com/repos/BoltApp/bolt-magento1/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BoltApp/bolt-magento1/statuses/{sha}","languages_url":"https://api.github.com/repos/BoltApp/bolt-magento1/languages","stargazers_url":"https://api.github.com/repos/BoltApp/bolt-magento1/stargazers","contributors_url":"https://api.github.com/repos/BoltApp/bolt-magento1/contributors","subscribers_url":"https://api.github.com/repos/BoltApp/bolt-magento1/subscribers","subscription_url":"https://api.github.com/repos/BoltApp/bolt-magento1/subscription","commits_url":"https://api.github.com/repos/BoltApp/bolt-magento1/commits{/sha}","git_commits_url":"https://api.github.com/repos/BoltApp/bolt-magento1/git/commits{/sha}","comments_url":"https://api.github.com/repos/BoltApp/bolt-magento1/comments{/number}","issue_comment_url":"https://api.github.com/repos/BoltApp/bolt-magento1/issues/comments{/number}","contents_url":"https://api.github.com/repos/BoltApp/bolt-magento1/contents/{+path}","compare_url":"https://api.github.com/repos/BoltApp/bolt-magento1/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BoltApp/bolt-magento1/merges","archive_url":"https://api.github.com/repos/BoltApp/bolt-magento1/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BoltApp/bolt-magento1/downloads","issues_url":"https://api.github.com/repos/BoltApp/bolt-magento1/issues{/number}","pulls_url":"https://api.github.com/repos/BoltApp/bolt-magento1/pulls{/number}","milestones_url":"https://api.github.com/repos/BoltApp/bolt-magento1/milestones{/number}","notifications_url":"https://api.github.com/repos/BoltApp/bolt-magento1/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BoltApp/bolt-magento1/labels{/name}","releases_url":"https://api.github.com/repos/BoltApp/bolt-magento1/releases{/id}","deployments_url":"https://api.github.com/repos/BoltApp/bolt-magento1/deployments","created_at":"2018-03-14T18:30:30Z","updated_at":"2018-10-03T06:55:59Z","pushed_at":"2018-10-03T16:03:06Z","git_url":"git://github.com/BoltApp/bolt-magento1.git","ssh_url":"git@github.com:BoltApp/bolt-magento1.git","clone_url":"https://github.com/BoltApp/bolt-magento1.git","svn_url":"https://github.com/BoltApp/bolt-magento1","homepage":null,"size":2698,"stargazers_count":2,"watchers_count":2,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"archived":false,"open_issues_count":6,"license":{"key":"osl-3.0","name":"Open Software License 3.0","spdx_id":"OSL-3.0","url":"https://api.github.com/licenses/osl-3.0","node_id":"MDc6TGljZW5zZTE2"},"forks":5,"open_issues":6,"watchers":2,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/BoltApp/bolt-magento1/pulls/209"},"html":{"href":"https://github.com/BoltApp/bolt-magento1/pull/209"},"issue":{"href":"https://api.github.com/repos/BoltApp/bolt-magento1/issues/209"},"comments":{"href":"https://api.github.com/repos/BoltApp/bolt-magento1/issues/209/comments"},"review_comments":{"href":"https://api.github.com/repos/BoltApp/bolt-magento1/pulls/209/comments"},"review_comment":{"href":"https://api.github.com/repos/BoltApp/bolt-magento1/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/BoltApp/bolt-magento1/pulls/209/commits"},"statuses":{"href":"https://api.github.com/repos/BoltApp/bolt-magento1/statuses/5a1c4682f2bdcd8da0b4987a266751fa04563e0d"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"daisy1754"}}