{"action":"opened","number":4746,"pull_request":{"url":"https://api.github.com/repos/opencart/opencart/pulls/4746","id":80762814,"html_url":"https://github.com/opencart/opencart/pull/4746","diff_url":"https://github.com/opencart/opencart/pull/4746.diff","patch_url":"https://github.com/opencart/opencart/pull/4746.patch","issue_url":"https://api.github.com/repos/opencart/opencart/issues/4746","number":4746,"state":"open","locked":false,"title":"Fix for Secure Trading","user":{"login":"ry-welford","id":20459409,"avatar_url":"https://avatars.githubusercontent.com/u/20459409?v=3","gravatar_id":"","url":"https://api.github.com/users/ry-welford","html_url":"https://github.com/ry-welford","followers_url":"https://api.github.com/users/ry-welford/followers","following_url":"https://api.github.com/users/ry-welford/following{/other_user}","gists_url":"https://api.github.com/users/ry-welford/gists{/gist_id}","starred_url":"https://api.github.com/users/ry-welford/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ry-welford/subscriptions","organizations_url":"https://api.github.com/users/ry-welford/orgs","repos_url":"https://api.github.com/users/ry-welford/repos","events_url":"https://api.github.com/users/ry-welford/events{/privacy}","received_events_url":"https://api.github.com/users/ry-welford/received_events","type":"User","site_admin":false},"body":"Fix for problem appearing with value being passed to the format method in Currency class and the last zero being dropped when amount was passed into round function.\r\n\r\n- Added new format method into the Secure Trading model.\r\n- Replaced round functionality with number_format and result conforms with XML spec Secure Trading require","created_at":"2016-08-10T09:35:09Z","updated_at":"2016-08-10T09:35:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/opencart/opencart/pulls/4746/commits","review_comments_url":"https://api.github.com/repos/opencart/opencart/pulls/4746/comments","review_comment_url":"https://api.github.com/repos/opencart/opencart/pulls/comments{/number}","comments_url":"https://api.github.com/repos/opencart/opencart/issues/4746/comments","statuses_url":"https://api.github.com/repos/opencart/opencart/statuses/9371c4de3c5f7d4504ea3aab5b71f44a5a05acd0","head":{"label":"ry-welford:Secure-Trading_fix","ref":"Secure-Trading_fix","sha":"9371c4de3c5f7d4504ea3aab5b71f44a5a05acd0","user":{"login":"ry-welford","id":20459409,"avatar_url":"https://avatars.githubusercontent.com/u/20459409?v=3","gravatar_id":"","url":"https://api.github.com/users/ry-welford","html_url":"https://github.com/ry-welford","followers_url":"https://api.github.com/users/ry-welford/followers","following_url":"https://api.github.com/users/ry-welford/following{/other_user}","gists_url":"https://api.github.com/users/ry-welford/gists{/gist_id}","starred_url":"https://api.github.com/users/ry-welford/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ry-welford/subscriptions","organizations_url":"https://api.github.com/users/ry-welford/orgs","repos_url":"https://api.github.com/users/ry-welford/repos","events_url":"https://api.github.com/users/ry-welford/events{/privacy}","received_events_url":"https://api.github.com/users/ry-welford/received_events","type":"User","site_admin":false},"repo":{"id":65365721,"name":"opencart","full_name":"ry-welford/opencart","owner":{"login":"ry-welford","id":20459409,"avatar_url":"https://avatars.githubusercontent.com/u/20459409?v=3","gravatar_id":"","url":"https://api.github.com/users/ry-welford","html_url":"https://github.com/ry-welford","followers_url":"https://api.github.com/users/ry-welford/followers","following_url":"https://api.github.com/users/ry-welford/following{/other_user}","gists_url":"https://api.github.com/users/ry-welford/gists{/gist_id}","starred_url":"https://api.github.com/users/ry-welford/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ry-welford/subscriptions","organizations_url":"https://api.github.com/users/ry-welford/orgs","repos_url":"https://api.github.com/users/ry-welford/repos","events_url":"https://api.github.com/users/ry-welford/events{/privacy}","received_events_url":"https://api.github.com/users/ry-welford/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ry-welford/opencart","description":"A free shopping cart system. OpenCart is an open source PHP-based online e-commerce solution.","fork":true,"url":"https://api.github.com/repos/ry-welford/opencart","forks_url":"https://api.github.com/repos/ry-welford/opencart/forks","keys_url":"https://api.github.com/repos/ry-welford/opencart/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ry-welford/opencart/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ry-welford/opencart/teams","hooks_url":"https://api.github.com/repos/ry-welford/opencart/hooks","issue_events_url":"https://api.github.com/repos/ry-welford/opencart/issues/events{/number}","events_url":"https://api.github.com/repos/ry-welford/opencart/events","assignees_url":"https://api.github.com/repos/ry-welford/opencart/assignees{/user}","branches_url":"https://api.github.com/repos/ry-welford/opencart/branches{/branch}","tags_url":"https://api.github.com/repos/ry-welford/opencart/tags","blobs_url":"https://api.github.com/repos/ry-welford/opencart/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ry-welford/opencart/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ry-welford/opencart/git/refs{/sha}","trees_url":"https://api.github.com/repos/ry-welford/opencart/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ry-welford/opencart/statuses/{sha}","languages_url":"https://api.github.com/repos/ry-welford/opencart/languages","stargazers_url":"https://api.github.com/repos/ry-welford/opencart/stargazers","contributors_url":"https://api.github.com/repos/ry-welford/opencart/contributors","subscribers_url":"https://api.github.com/repos/ry-welford/opencart/subscribers","subscription_url":"https://api.github.com/repos/ry-welford/opencart/subscription","commits_url":"https://api.github.com/repos/ry-welford/opencart/commits{/sha}","git_commits_url":"https://api.github.com/repos/ry-welford/opencart/git/commits{/sha}","comments_url":"https://api.github.com/repos/ry-welford/opencart/comments{/number}","issue_comment_url":"https://api.github.com/repos/ry-welford/opencart/issues/comments{/number}","contents_url":"https://api.github.com/repos/ry-welford/opencart/contents/{+path}","compare_url":"https://api.github.com/repos/ry-welford/opencart/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ry-welford/opencart/merges","archive_url":"https://api.github.com/repos/ry-welford/opencart/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ry-welford/opencart/downloads","issues_url":"https://api.github.com/repos/ry-welford/opencart/issues{/number}","pulls_url":"https://api.github.com/repos/ry-welford/opencart/pulls{/number}","milestones_url":"https://api.github.com/repos/ry-welford/opencart/milestones{/number}","notifications_url":"https://api.github.com/repos/ry-welford/opencart/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ry-welford/opencart/labels{/name}","releases_url":"https://api.github.com/repos/ry-welford/opencart/releases{/id}","deployments_url":"https://api.github.com/repos/ry-welford/opencart/deployments","created_at":"2016-08-10T08:42:18Z","updated_at":"2016-08-10T08:42:26Z","pushed_at":"2016-08-10T09:33:20Z","git_url":"git://github.com/ry-welford/opencart.git","ssh_url":"git@github.com:ry-welford/opencart.git","clone_url":"https://github.com/ry-welford/opencart.git","svn_url":"https://github.com/ry-welford/opencart","homepage":"http://www.opencart.com","size":83316,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"opencart:master","ref":"master","sha":"a2801743cfe90d14643928c4e2469dbbab1e35a3","user":{"login":"opencart","id":214225,"avatar_url":"https://avatars.githubusercontent.com/u/214225?v=3","gravatar_id":"","url":"https://api.github.com/users/opencart","html_url":"https://github.com/opencart","followers_url":"https://api.github.com/users/opencart/followers","following_url":"https://api.github.com/users/opencart/following{/other_user}","gists_url":"https://api.github.com/users/opencart/gists{/gist_id}","starred_url":"https://api.github.com/users/opencart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opencart/subscriptions","organizations_url":"https://api.github.com/users/opencart/orgs","repos_url":"https://api.github.com/users/opencart/repos","events_url":"https://api.github.com/users/opencart/events{/privacy}","received_events_url":"https://api.github.com/users/opencart/received_events","type":"Organization","site_admin":false},"repo":{"id":2141186,"name":"opencart","full_name":"opencart/opencart","owner":{"login":"opencart","id":214225,"avatar_url":"https://avatars.githubusercontent.com/u/214225?v=3","gravatar_id":"","url":"https://api.github.com/users/opencart","html_url":"https://github.com/opencart","followers_url":"https://api.github.com/users/opencart/followers","following_url":"https://api.github.com/users/opencart/following{/other_user}","gists_url":"https://api.github.com/users/opencart/gists{/gist_id}","starred_url":"https://api.github.com/users/opencart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opencart/subscriptions","organizations_url":"https://api.github.com/users/opencart/orgs","repos_url":"https://api.github.com/users/opencart/repos","events_url":"https://api.github.com/users/opencart/events{/privacy}","received_events_url":"https://api.github.com/users/opencart/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/opencart/opencart","description":"A free shopping cart system. OpenCart is an open source PHP-based online e-commerce solution.","fork":false,"url":"https://api.github.com/repos/opencart/opencart","forks_url":"https://api.github.com/repos/opencart/opencart/forks","keys_url":"https://api.github.com/repos/opencart/opencart/keys{/key_id}","collaborators_url":"https://api.github.com/repos/opencart/opencart/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/opencart/opencart/teams","hooks_url":"https://api.github.com/repos/opencart/opencart/hooks","issue_events_url":"https://api.github.com/repos/opencart/opencart/issues/events{/number}","events_url":"https://api.github.com/repos/opencart/opencart/events","assignees_url":"https://api.github.com/repos/opencart/opencart/assignees{/user}","branches_url":"https://api.github.com/repos/opencart/opencart/branches{/branch}","tags_url":"https://api.github.com/repos/opencart/opencart/tags","blobs_url":"https://api.github.com/repos/opencart/opencart/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/opencart/opencart/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/opencart/opencart/git/refs{/sha}","trees_url":"https://api.github.com/repos/opencart/opencart/git/trees{/sha}","statuses_url":"https://api.github.com/repos/opencart/opencart/statuses/{sha}","languages_url":"https://api.github.com/repos/opencart/opencart/languages","stargazers_url":"https://api.github.com/repos/opencart/opencart/stargazers","contributors_url":"https://api.github.com/repos/opencart/opencart/contributors","subscribers_url":"https://api.github.com/repos/opencart/opencart/subscribers","subscription_url":"https://api.github.com/repos/opencart/opencart/subscription","commits_url":"https://api.github.com/repos/opencart/opencart/commits{/sha}","git_commits_url":"https://api.github.com/repos/opencart/opencart/git/commits{/sha}","comments_url":"https://api.github.com/repos/opencart/opencart/comments{/number}","issue_comment_url":"https://api.github.com/repos/opencart/opencart/issues/comments{/number}","contents_url":"https://api.github.com/repos/opencart/opencart/contents/{+path}","compare_url":"https://api.github.com/repos/opencart/opencart/compare/{base}...{head}","merges_url":"https://api.github.com/repos/opencart/opencart/merges","archive_url":"https://api.github.com/repos/opencart/opencart/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/opencart/opencart/downloads","issues_url":"https://api.github.com/repos/opencart/opencart/issues{/number}","pulls_url":"https://api.github.com/repos/opencart/opencart/pulls{/number}","milestones_url":"https://api.github.com/repos/opencart/opencart/milestones{/number}","notifications_url":"https://api.github.com/repos/opencart/opencart/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/opencart/opencart/labels{/name}","releases_url":"https://api.github.com/repos/opencart/opencart/releases{/id}","deployments_url":"https://api.github.com/repos/opencart/opencart/deployments","created_at":"2011-08-02T07:32:17Z","updated_at":"2016-08-10T07:56:53Z","pushed_at":"2016-08-10T09:35:09Z","git_url":"git://github.com/opencart/opencart.git","ssh_url":"git@github.com:opencart/opencart.git","clone_url":"https://github.com/opencart/opencart.git","svn_url":"https://github.com/opencart/opencart","homepage":"http://www.opencart.com","size":83316,"stargazers_count":2760,"watchers_count":2760,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2470,"mirror_url":null,"open_issues_count":41,"forks":2470,"open_issues":41,"watchers":2760,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/opencart/opencart/pulls/4746"},"html":{"href":"https://github.com/opencart/opencart/pull/4746"},"issue":{"href":"https://api.github.com/repos/opencart/opencart/issues/4746"},"comments":{"href":"https://api.github.com/repos/opencart/opencart/issues/4746/comments"},"review_comments":{"href":"https://api.github.com/repos/opencart/opencart/pulls/4746/comments"},"review_comment":{"href":"https://api.github.com/repos/opencart/opencart/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/opencart/opencart/pulls/4746/commits"},"statuses":{"href":"https://api.github.com/repos/opencart/opencart/statuses/9371c4de3c5f7d4504ea3aab5b71f44a5a05acd0"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":19,"deletions":3,"changed_files":2}}
{"actor":{"display_login":"ry-welford"}}