{"action":"opened","number":104,"pull_request":{"url":"https://api.github.com/repos/bitpay/magento-plugin/pulls/104","id":71765854,"html_url":"https://github.com/bitpay/magento-plugin/pull/104","diff_url":"https://github.com/bitpay/magento-plugin/pull/104.diff","patch_url":"https://github.com/bitpay/magento-plugin/pull/104.patch","issue_url":"https://api.github.com/repos/bitpay/magento-plugin/issues/104","number":104,"state":"open","locked":false,"title":"Repaired redirected checkout BitPay invoice amount calculation","user":{"login":"kleetus","id":12446,"avatar_url":"https://avatars.githubusercontent.com/u/12446?v=3","gravatar_id":"","url":"https://api.github.com/users/kleetus","html_url":"https://github.com/kleetus","followers_url":"https://api.github.com/users/kleetus/followers","following_url":"https://api.github.com/users/kleetus/following{/other_user}","gists_url":"https://api.github.com/users/kleetus/gists{/gist_id}","starred_url":"https://api.github.com/users/kleetus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kleetus/subscriptions","organizations_url":"https://api.github.com/users/kleetus/orgs","repos_url":"https://api.github.com/users/kleetus/repos","events_url":"https://api.github.com/users/kleetus/events{/privacy}","received_events_url":"https://api.github.com/users/kleetus/received_events","type":"User","site_admin":false},"body":"closes #103 \r\n- If shopping cart user's currency is not the same as the Magento configured base currency and the type of BitPay invoice is a redirected checkout (non iFrame), then the $amount (invoice amount) passed to Bitcoin.php authorize() will be in the base currency and not the user's currency. A BitPay invoice is then created based on the user's currency and the amount, which is wrong.\r\n\r\n- The Bitcoin.php authorize function now recomputes the amount in the event that the amount is not correct.\r\n\r\n\r\n- Updated the README and GUIDE to show latest Magento version checked.","created_at":"2016-05-27T20:04:25Z","updated_at":"2016-05-27T20:04:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/bitpay/magento-plugin/pulls/104/commits","review_comments_url":"https://api.github.com/repos/bitpay/magento-plugin/pulls/104/comments","review_comment_url":"https://api.github.com/repos/bitpay/magento-plugin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bitpay/magento-plugin/issues/104/comments","statuses_url":"https://api.github.com/repos/bitpay/magento-plugin/statuses/e7811a71c57f5df977e7d015621b048f9ee762b5","head":{"label":"kleetus:master","ref":"master","sha":"e7811a71c57f5df977e7d015621b048f9ee762b5","user":{"login":"kleetus","id":12446,"avatar_url":"https://avatars.githubusercontent.com/u/12446?v=3","gravatar_id":"","url":"https://api.github.com/users/kleetus","html_url":"https://github.com/kleetus","followers_url":"https://api.github.com/users/kleetus/followers","following_url":"https://api.github.com/users/kleetus/following{/other_user}","gists_url":"https://api.github.com/users/kleetus/gists{/gist_id}","starred_url":"https://api.github.com/users/kleetus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kleetus/subscriptions","organizations_url":"https://api.github.com/users/kleetus/orgs","repos_url":"https://api.github.com/users/kleetus/repos","events_url":"https://api.github.com/users/kleetus/events{/privacy}","received_events_url":"https://api.github.com/users/kleetus/received_events","type":"User","site_admin":false},"repo":{"id":47269892,"name":"magento-plugin","full_name":"kleetus/magento-plugin","owner":{"login":"kleetus","id":12446,"avatar_url":"https://avatars.githubusercontent.com/u/12446?v=3","gravatar_id":"","url":"https://api.github.com/users/kleetus","html_url":"https://github.com/kleetus","followers_url":"https://api.github.com/users/kleetus/followers","following_url":"https://api.github.com/users/kleetus/following{/other_user}","gists_url":"https://api.github.com/users/kleetus/gists{/gist_id}","starred_url":"https://api.github.com/users/kleetus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kleetus/subscriptions","organizations_url":"https://api.github.com/users/kleetus/orgs","repos_url":"https://api.github.com/users/kleetus/repos","events_url":"https://api.github.com/users/kleetus/events{/privacy}","received_events_url":"https://api.github.com/users/kleetus/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kleetus/magento-plugin","description":"Magento payment plugin for Bitpay.com","fork":true,"url":"https://api.github.com/repos/kleetus/magento-plugin","forks_url":"https://api.github.com/repos/kleetus/magento-plugin/forks","keys_url":"https://api.github.com/repos/kleetus/magento-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kleetus/magento-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kleetus/magento-plugin/teams","hooks_url":"https://api.github.com/repos/kleetus/magento-plugin/hooks","issue_events_url":"https://api.github.com/repos/kleetus/magento-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/kleetus/magento-plugin/events","assignees_url":"https://api.github.com/repos/kleetus/magento-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/kleetus/magento-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/kleetus/magento-plugin/tags","blobs_url":"https://api.github.com/repos/kleetus/magento-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kleetus/magento-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kleetus/magento-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/kleetus/magento-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kleetus/magento-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/kleetus/magento-plugin/languages","stargazers_url":"https://api.github.com/repos/kleetus/magento-plugin/stargazers","contributors_url":"https://api.github.com/repos/kleetus/magento-plugin/contributors","subscribers_url":"https://api.github.com/repos/kleetus/magento-plugin/subscribers","subscription_url":"https://api.github.com/repos/kleetus/magento-plugin/subscription","commits_url":"https://api.github.com/repos/kleetus/magento-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/kleetus/magento-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/kleetus/magento-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/kleetus/magento-plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/kleetus/magento-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/kleetus/magento-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kleetus/magento-plugin/merges","archive_url":"https://api.github.com/repos/kleetus/magento-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kleetus/magento-plugin/downloads","issues_url":"https://api.github.com/repos/kleetus/magento-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/kleetus/magento-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/kleetus/magento-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/kleetus/magento-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kleetus/magento-plugin/labels{/name}","releases_url":"https://api.github.com/repos/kleetus/magento-plugin/releases{/id}","deployments_url":"https://api.github.com/repos/kleetus/magento-plugin/deployments","created_at":"2015-12-02T15:27:01Z","updated_at":"2016-05-26T15:30:14Z","pushed_at":"2016-05-27T20:03:16Z","git_url":"git://github.com/kleetus/magento-plugin.git","ssh_url":"git@github.com:kleetus/magento-plugin.git","clone_url":"https://github.com/kleetus/magento-plugin.git","svn_url":"https://github.com/kleetus/magento-plugin","homepage":null,"size":547,"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":"bitpay:master","ref":"master","sha":"2738aa44a02ee1c6a58f53350d6a4f48266ebcc3","user":{"login":"bitpay","id":2554930,"avatar_url":"https://avatars.githubusercontent.com/u/2554930?v=3","gravatar_id":"","url":"https://api.github.com/users/bitpay","html_url":"https://github.com/bitpay","followers_url":"https://api.github.com/users/bitpay/followers","following_url":"https://api.github.com/users/bitpay/following{/other_user}","gists_url":"https://api.github.com/users/bitpay/gists{/gist_id}","starred_url":"https://api.github.com/users/bitpay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitpay/subscriptions","organizations_url":"https://api.github.com/users/bitpay/orgs","repos_url":"https://api.github.com/users/bitpay/repos","events_url":"https://api.github.com/users/bitpay/events{/privacy}","received_events_url":"https://api.github.com/users/bitpay/received_events","type":"Organization","site_admin":false},"repo":{"id":6209909,"name":"magento-plugin","full_name":"bitpay/magento-plugin","owner":{"login":"bitpay","id":2554930,"avatar_url":"https://avatars.githubusercontent.com/u/2554930?v=3","gravatar_id":"","url":"https://api.github.com/users/bitpay","html_url":"https://github.com/bitpay","followers_url":"https://api.github.com/users/bitpay/followers","following_url":"https://api.github.com/users/bitpay/following{/other_user}","gists_url":"https://api.github.com/users/bitpay/gists{/gist_id}","starred_url":"https://api.github.com/users/bitpay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitpay/subscriptions","organizations_url":"https://api.github.com/users/bitpay/orgs","repos_url":"https://api.github.com/users/bitpay/repos","events_url":"https://api.github.com/users/bitpay/events{/privacy}","received_events_url":"https://api.github.com/users/bitpay/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/bitpay/magento-plugin","description":"Magento payment plugin for Bitpay.com","fork":true,"url":"https://api.github.com/repos/bitpay/magento-plugin","forks_url":"https://api.github.com/repos/bitpay/magento-plugin/forks","keys_url":"https://api.github.com/repos/bitpay/magento-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bitpay/magento-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bitpay/magento-plugin/teams","hooks_url":"https://api.github.com/repos/bitpay/magento-plugin/hooks","issue_events_url":"https://api.github.com/repos/bitpay/magento-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/bitpay/magento-plugin/events","assignees_url":"https://api.github.com/repos/bitpay/magento-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/bitpay/magento-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/bitpay/magento-plugin/tags","blobs_url":"https://api.github.com/repos/bitpay/magento-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bitpay/magento-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bitpay/magento-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/bitpay/magento-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bitpay/magento-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/bitpay/magento-plugin/languages","stargazers_url":"https://api.github.com/repos/bitpay/magento-plugin/stargazers","contributors_url":"https://api.github.com/repos/bitpay/magento-plugin/contributors","subscribers_url":"https://api.github.com/repos/bitpay/magento-plugin/subscribers","subscription_url":"https://api.github.com/repos/bitpay/magento-plugin/subscription","commits_url":"https://api.github.com/repos/bitpay/magento-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/bitpay/magento-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/bitpay/magento-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/bitpay/magento-plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/bitpay/magento-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/bitpay/magento-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bitpay/magento-plugin/merges","archive_url":"https://api.github.com/repos/bitpay/magento-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bitpay/magento-plugin/downloads","issues_url":"https://api.github.com/repos/bitpay/magento-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/bitpay/magento-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/bitpay/magento-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/bitpay/magento-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bitpay/magento-plugin/labels{/name}","releases_url":"https://api.github.com/repos/bitpay/magento-plugin/releases{/id}","deployments_url":"https://api.github.com/repos/bitpay/magento-plugin/deployments","created_at":"2012-10-14T02:45:09Z","updated_at":"2016-05-26T10:39:51Z","pushed_at":"2016-03-16T21:33:25Z","git_url":"git://github.com/bitpay/magento-plugin.git","ssh_url":"git@github.com:bitpay/magento-plugin.git","clone_url":"https://github.com/bitpay/magento-plugin.git","svn_url":"https://github.com/bitpay/magento-plugin","homepage":null,"size":574,"stargazers_count":38,"watchers_count":38,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":38,"mirror_url":null,"open_issues_count":2,"forks":38,"open_issues":2,"watchers":38,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bitpay/magento-plugin/pulls/104"},"html":{"href":"https://github.com/bitpay/magento-plugin/pull/104"},"issue":{"href":"https://api.github.com/repos/bitpay/magento-plugin/issues/104"},"comments":{"href":"https://api.github.com/repos/bitpay/magento-plugin/issues/104/comments"},"review_comments":{"href":"https://api.github.com/repos/bitpay/magento-plugin/pulls/104/comments"},"review_comment":{"href":"https://api.github.com/repos/bitpay/magento-plugin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bitpay/magento-plugin/pulls/104/commits"},"statuses":{"href":"https://api.github.com/repos/bitpay/magento-plugin/statuses/e7811a71c57f5df977e7d015621b048f9ee762b5"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":11,"deletions":7,"changed_files":3}}
{"actor":{"display_login":"kleetus"}}