{"action":"opened","number":37,"pull_request":{"url":"https://api.github.com/repos/hps/heartland-magento2-module/pulls/37","id":214478905,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE0NDc4OTA1","html_url":"https://github.com/hps/heartland-magento2-module/pull/37","diff_url":"https://github.com/hps/heartland-magento2-module/pull/37.diff","patch_url":"https://github.com/hps/heartland-magento2-module/pull/37.patch","issue_url":"https://api.github.com/repos/hps/heartland-magento2-module/issues/37","number":37,"state":"open","locked":false,"title":"Moved Payment preference to global so it works with API","user":{"login":"rain2o","id":4626224,"node_id":"MDQ6VXNlcjQ2MjYyMjQ=","avatar_url":"https://avatars1.githubusercontent.com/u/4626224?v=4","gravatar_id":"","url":"https://api.github.com/users/rain2o","html_url":"https://github.com/rain2o","followers_url":"https://api.github.com/users/rain2o/followers","following_url":"https://api.github.com/users/rain2o/following{/other_user}","gists_url":"https://api.github.com/users/rain2o/gists{/gist_id}","starred_url":"https://api.github.com/users/rain2o/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rain2o/subscriptions","organizations_url":"https://api.github.com/users/rain2o/orgs","repos_url":"https://api.github.com/users/rain2o/repos","events_url":"https://api.github.com/users/rain2o/events{/privacy}","received_events_url":"https://api.github.com/users/rain2o/received_events","type":"User","site_admin":false},"body":"This fixes issue #36 .\r\n\r\nWhen invoicing an order through the Magento API the Heartland `Payment` class is not used as the `<preference>` is set in the `adminhtml` scope instead of globally. This PR simply moves that preference declaration to the global `di.xml`. ","created_at":"2018-09-11T00:13:53Z","updated_at":"2018-09-11T00:13:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/hps/heartland-magento2-module/pulls/37/commits","review_comments_url":"https://api.github.com/repos/hps/heartland-magento2-module/pulls/37/comments","review_comment_url":"https://api.github.com/repos/hps/heartland-magento2-module/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hps/heartland-magento2-module/issues/37/comments","statuses_url":"https://api.github.com/repos/hps/heartland-magento2-module/statuses/e70635fb10604ba1dd11cb5a4256bc556b9ceca2","head":{"label":"rain2o:bugfix-api-payment-override","ref":"bugfix-api-payment-override","sha":"e70635fb10604ba1dd11cb5a4256bc556b9ceca2","user":{"login":"rain2o","id":4626224,"node_id":"MDQ6VXNlcjQ2MjYyMjQ=","avatar_url":"https://avatars1.githubusercontent.com/u/4626224?v=4","gravatar_id":"","url":"https://api.github.com/users/rain2o","html_url":"https://github.com/rain2o","followers_url":"https://api.github.com/users/rain2o/followers","following_url":"https://api.github.com/users/rain2o/following{/other_user}","gists_url":"https://api.github.com/users/rain2o/gists{/gist_id}","starred_url":"https://api.github.com/users/rain2o/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rain2o/subscriptions","organizations_url":"https://api.github.com/users/rain2o/orgs","repos_url":"https://api.github.com/users/rain2o/repos","events_url":"https://api.github.com/users/rain2o/events{/privacy}","received_events_url":"https://api.github.com/users/rain2o/received_events","type":"User","site_admin":false},"repo":{"id":139495784,"node_id":"MDEwOlJlcG9zaXRvcnkxMzk0OTU3ODQ=","name":"heartland-magento2-module","full_name":"rain2o/heartland-magento2-module","owner":{"login":"rain2o","id":4626224,"node_id":"MDQ6VXNlcjQ2MjYyMjQ=","avatar_url":"https://avatars1.githubusercontent.com/u/4626224?v=4","gravatar_id":"","url":"https://api.github.com/users/rain2o","html_url":"https://github.com/rain2o","followers_url":"https://api.github.com/users/rain2o/followers","following_url":"https://api.github.com/users/rain2o/following{/other_user}","gists_url":"https://api.github.com/users/rain2o/gists{/gist_id}","starred_url":"https://api.github.com/users/rain2o/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rain2o/subscriptions","organizations_url":"https://api.github.com/users/rain2o/orgs","repos_url":"https://api.github.com/users/rain2o/repos","events_url":"https://api.github.com/users/rain2o/events{/privacy}","received_events_url":"https://api.github.com/users/rain2o/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rain2o/heartland-magento2-module","description":"Magento 2 Tokenized Payment Gateway Module","fork":true,"url":"https://api.github.com/repos/rain2o/heartland-magento2-module","forks_url":"https://api.github.com/repos/rain2o/heartland-magento2-module/forks","keys_url":"https://api.github.com/repos/rain2o/heartland-magento2-module/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rain2o/heartland-magento2-module/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rain2o/heartland-magento2-module/teams","hooks_url":"https://api.github.com/repos/rain2o/heartland-magento2-module/hooks","issue_events_url":"https://api.github.com/repos/rain2o/heartland-magento2-module/issues/events{/number}","events_url":"https://api.github.com/repos/rain2o/heartland-magento2-module/events","assignees_url":"https://api.github.com/repos/rain2o/heartland-magento2-module/assignees{/user}","branches_url":"https://api.github.com/repos/rain2o/heartland-magento2-module/branches{/branch}","tags_url":"https://api.github.com/repos/rain2o/heartland-magento2-module/tags","blobs_url":"https://api.github.com/repos/rain2o/heartland-magento2-module/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rain2o/heartland-magento2-module/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rain2o/heartland-magento2-module/git/refs{/sha}","trees_url":"https://api.github.com/repos/rain2o/heartland-magento2-module/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rain2o/heartland-magento2-module/statuses/{sha}","languages_url":"https://api.github.com/repos/rain2o/heartland-magento2-module/languages","stargazers_url":"https://api.github.com/repos/rain2o/heartland-magento2-module/stargazers","contributors_url":"https://api.github.com/repos/rain2o/heartland-magento2-module/contributors","subscribers_url":"https://api.github.com/repos/rain2o/heartland-magento2-module/subscribers","subscription_url":"https://api.github.com/repos/rain2o/heartland-magento2-module/subscription","commits_url":"https://api.github.com/repos/rain2o/heartland-magento2-module/commits{/sha}","git_commits_url":"https://api.github.com/repos/rain2o/heartland-magento2-module/git/commits{/sha}","comments_url":"https://api.github.com/repos/rain2o/heartland-magento2-module/comments{/number}","issue_comment_url":"https://api.github.com/repos/rain2o/heartland-magento2-module/issues/comments{/number}","contents_url":"https://api.github.com/repos/rain2o/heartland-magento2-module/contents/{+path}","compare_url":"https://api.github.com/repos/rain2o/heartland-magento2-module/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rain2o/heartland-magento2-module/merges","archive_url":"https://api.github.com/repos/rain2o/heartland-magento2-module/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rain2o/heartland-magento2-module/downloads","issues_url":"https://api.github.com/repos/rain2o/heartland-magento2-module/issues{/number}","pulls_url":"https://api.github.com/repos/rain2o/heartland-magento2-module/pulls{/number}","milestones_url":"https://api.github.com/repos/rain2o/heartland-magento2-module/milestones{/number}","notifications_url":"https://api.github.com/repos/rain2o/heartland-magento2-module/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rain2o/heartland-magento2-module/labels{/name}","releases_url":"https://api.github.com/repos/rain2o/heartland-magento2-module/releases{/id}","deployments_url":"https://api.github.com/repos/rain2o/heartland-magento2-module/deployments","created_at":"2018-07-02T21:14:13Z","updated_at":"2018-07-02T21:14:15Z","pushed_at":"2018-09-11T00:08:47Z","git_url":"git://github.com/rain2o/heartland-magento2-module.git","ssh_url":"git@github.com:rain2o/heartland-magento2-module.git","clone_url":"https://github.com/rain2o/heartland-magento2-module.git","svn_url":"https://github.com/rain2o/heartland-magento2-module","homepage":null,"size":702,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"hps:master","ref":"master","sha":"cc378d625cfb3c7c7c892adf40f3cc6254674ec1","user":{"login":"hps","id":5853813,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU4NTM4MTM=","avatar_url":"https://avatars3.githubusercontent.com/u/5853813?v=4","gravatar_id":"","url":"https://api.github.com/users/hps","html_url":"https://github.com/hps","followers_url":"https://api.github.com/users/hps/followers","following_url":"https://api.github.com/users/hps/following{/other_user}","gists_url":"https://api.github.com/users/hps/gists{/gist_id}","starred_url":"https://api.github.com/users/hps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hps/subscriptions","organizations_url":"https://api.github.com/users/hps/orgs","repos_url":"https://api.github.com/users/hps/repos","events_url":"https://api.github.com/users/hps/events{/privacy}","received_events_url":"https://api.github.com/users/hps/received_events","type":"Organization","site_admin":false},"repo":{"id":56004734,"node_id":"MDEwOlJlcG9zaXRvcnk1NjAwNDczNA==","name":"heartland-magento2-module","full_name":"hps/heartland-magento2-module","owner":{"login":"hps","id":5853813,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU4NTM4MTM=","avatar_url":"https://avatars3.githubusercontent.com/u/5853813?v=4","gravatar_id":"","url":"https://api.github.com/users/hps","html_url":"https://github.com/hps","followers_url":"https://api.github.com/users/hps/followers","following_url":"https://api.github.com/users/hps/following{/other_user}","gists_url":"https://api.github.com/users/hps/gists{/gist_id}","starred_url":"https://api.github.com/users/hps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hps/subscriptions","organizations_url":"https://api.github.com/users/hps/orgs","repos_url":"https://api.github.com/users/hps/repos","events_url":"https://api.github.com/users/hps/events{/privacy}","received_events_url":"https://api.github.com/users/hps/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hps/heartland-magento2-module","description":"Magento 2 Tokenized Payment Gateway Module","fork":false,"url":"https://api.github.com/repos/hps/heartland-magento2-module","forks_url":"https://api.github.com/repos/hps/heartland-magento2-module/forks","keys_url":"https://api.github.com/repos/hps/heartland-magento2-module/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hps/heartland-magento2-module/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hps/heartland-magento2-module/teams","hooks_url":"https://api.github.com/repos/hps/heartland-magento2-module/hooks","issue_events_url":"https://api.github.com/repos/hps/heartland-magento2-module/issues/events{/number}","events_url":"https://api.github.com/repos/hps/heartland-magento2-module/events","assignees_url":"https://api.github.com/repos/hps/heartland-magento2-module/assignees{/user}","branches_url":"https://api.github.com/repos/hps/heartland-magento2-module/branches{/branch}","tags_url":"https://api.github.com/repos/hps/heartland-magento2-module/tags","blobs_url":"https://api.github.com/repos/hps/heartland-magento2-module/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hps/heartland-magento2-module/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hps/heartland-magento2-module/git/refs{/sha}","trees_url":"https://api.github.com/repos/hps/heartland-magento2-module/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hps/heartland-magento2-module/statuses/{sha}","languages_url":"https://api.github.com/repos/hps/heartland-magento2-module/languages","stargazers_url":"https://api.github.com/repos/hps/heartland-magento2-module/stargazers","contributors_url":"https://api.github.com/repos/hps/heartland-magento2-module/contributors","subscribers_url":"https://api.github.com/repos/hps/heartland-magento2-module/subscribers","subscription_url":"https://api.github.com/repos/hps/heartland-magento2-module/subscription","commits_url":"https://api.github.com/repos/hps/heartland-magento2-module/commits{/sha}","git_commits_url":"https://api.github.com/repos/hps/heartland-magento2-module/git/commits{/sha}","comments_url":"https://api.github.com/repos/hps/heartland-magento2-module/comments{/number}","issue_comment_url":"https://api.github.com/repos/hps/heartland-magento2-module/issues/comments{/number}","contents_url":"https://api.github.com/repos/hps/heartland-magento2-module/contents/{+path}","compare_url":"https://api.github.com/repos/hps/heartland-magento2-module/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hps/heartland-magento2-module/merges","archive_url":"https://api.github.com/repos/hps/heartland-magento2-module/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hps/heartland-magento2-module/downloads","issues_url":"https://api.github.com/repos/hps/heartland-magento2-module/issues{/number}","pulls_url":"https://api.github.com/repos/hps/heartland-magento2-module/pulls{/number}","milestones_url":"https://api.github.com/repos/hps/heartland-magento2-module/milestones{/number}","notifications_url":"https://api.github.com/repos/hps/heartland-magento2-module/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hps/heartland-magento2-module/labels{/name}","releases_url":"https://api.github.com/repos/hps/heartland-magento2-module/releases{/id}","deployments_url":"https://api.github.com/repos/hps/heartland-magento2-module/deployments","created_at":"2016-04-11T20:19:39Z","updated_at":"2018-06-25T17:00:49Z","pushed_at":"2018-09-07T11:59:50Z","git_url":"git://github.com/hps/heartland-magento2-module.git","ssh_url":"git@github.com:hps/heartland-magento2-module.git","clone_url":"https://github.com/hps/heartland-magento2-module.git","svn_url":"https://github.com/hps/heartland-magento2-module","homepage":null,"size":700,"stargazers_count":8,"watchers_count":8,"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":10,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":5,"open_issues":10,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hps/heartland-magento2-module/pulls/37"},"html":{"href":"https://github.com/hps/heartland-magento2-module/pull/37"},"issue":{"href":"https://api.github.com/repos/hps/heartland-magento2-module/issues/37"},"comments":{"href":"https://api.github.com/repos/hps/heartland-magento2-module/issues/37/comments"},"review_comments":{"href":"https://api.github.com/repos/hps/heartland-magento2-module/pulls/37/comments"},"review_comment":{"href":"https://api.github.com/repos/hps/heartland-magento2-module/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hps/heartland-magento2-module/pulls/37/commits"},"statuses":{"href":"https://api.github.com/repos/hps/heartland-magento2-module/statuses/e70635fb10604ba1dd11cb5a4256bc556b9ceca2"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":2,"deletions":2,"changed_files":2}}
{"actor":{"display_login":"rain2o"}}