{"action":"created","issue":{"url":"https://api.github.com/repos/magento/magento2/issues/7977","repository_url":"https://api.github.com/repos/magento/magento2","labels_url":"https://api.github.com/repos/magento/magento2/issues/7977/labels{/name}","comments_url":"https://api.github.com/repos/magento/magento2/issues/7977/comments","events_url":"https://api.github.com/repos/magento/magento2/issues/7977/events","html_url":"https://github.com/magento/magento2/issues/7977","id":197801357,"number":7977,"title":"Paypal Pro currency issue","user":{"login":"HongMarketingInc","id":1184181,"avatar_url":"https://avatars.githubusercontent.com/u/1184181?v=3","gravatar_id":"","url":"https://api.github.com/users/HongMarketingInc","html_url":"https://github.com/HongMarketingInc","followers_url":"https://api.github.com/users/HongMarketingInc/followers","following_url":"https://api.github.com/users/HongMarketingInc/following{/other_user}","gists_url":"https://api.github.com/users/HongMarketingInc/gists{/gist_id}","starred_url":"https://api.github.com/users/HongMarketingInc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HongMarketingInc/subscriptions","organizations_url":"https://api.github.com/users/HongMarketingInc/orgs","repos_url":"https://api.github.com/users/HongMarketingInc/repos","events_url":"https://api.github.com/users/HongMarketingInc/events{/privacy}","received_events_url":"https://api.github.com/users/HongMarketingInc/received_events","type":"User","site_admin":false},"labels":[{"id":429635502,"url":"https://api.github.com/repos/magento/magento2/labels/2.1.x","name":"2.1.x","color":"fbca04","default":false},{"id":147131376,"url":"https://api.github.com/repos/magento/magento2/labels/bug%20report","name":"bug report","color":"d93f0b","default":false},{"id":161563561,"url":"https://api.github.com/repos/magento/magento2/labels/needs%20update","name":"needs update","color":"b60205","default":false},{"id":374017037,"url":"https://api.github.com/repos/magento/magento2/labels/Payments","name":"Payments","color":"1d76db","default":false}],"state":"open","locked":false,"assignee":{"login":"alena-marchenko","id":9049705,"avatar_url":"https://avatars.githubusercontent.com/u/9049705?v=3","gravatar_id":"","url":"https://api.github.com/users/alena-marchenko","html_url":"https://github.com/alena-marchenko","followers_url":"https://api.github.com/users/alena-marchenko/followers","following_url":"https://api.github.com/users/alena-marchenko/following{/other_user}","gists_url":"https://api.github.com/users/alena-marchenko/gists{/gist_id}","starred_url":"https://api.github.com/users/alena-marchenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alena-marchenko/subscriptions","organizations_url":"https://api.github.com/users/alena-marchenko/orgs","repos_url":"https://api.github.com/users/alena-marchenko/repos","events_url":"https://api.github.com/users/alena-marchenko/events{/privacy}","received_events_url":"https://api.github.com/users/alena-marchenko/received_events","type":"User","site_admin":false},"assignees":[{"login":"alena-marchenko","id":9049705,"avatar_url":"https://avatars.githubusercontent.com/u/9049705?v=3","gravatar_id":"","url":"https://api.github.com/users/alena-marchenko","html_url":"https://github.com/alena-marchenko","followers_url":"https://api.github.com/users/alena-marchenko/followers","following_url":"https://api.github.com/users/alena-marchenko/following{/other_user}","gists_url":"https://api.github.com/users/alena-marchenko/gists{/gist_id}","starred_url":"https://api.github.com/users/alena-marchenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alena-marchenko/subscriptions","organizations_url":"https://api.github.com/users/alena-marchenko/orgs","repos_url":"https://api.github.com/users/alena-marchenko/repos","events_url":"https://api.github.com/users/alena-marchenko/events{/privacy}","received_events_url":"https://api.github.com/users/alena-marchenko/received_events","type":"User","site_admin":false}],"milestone":null,"comments":15,"created_at":"2016-12-28T06:10:08Z","updated_at":"2017-02-19T22:33:59Z","closed_at":null,"body":"<!--- Provide a general summary of the issue in the Title above -->\r\n<!--- Before adding new issues, please, check this article https://github.com/magento/magento2/wiki/Issue-reporting-guidelines-->\r\n\r\n### Preconditions\r\n<!--- Provide a more detailed information of environment you use -->\r\n<!--- Magento version, tag, HEAD, etc., PHP & MySQL version, etc.. -->\r\n1. Magento CE 2.1.2\r\n2. Setup two websites, each one has its own Paypal Pro account. \r\n3. Setup base currency as CAD for each website\r\n4. Product currency is CAD\r\n\r\n### Steps to reproduce\r\n<!--- Provide a set of unambiguous steps to reproduce this bug include code, if relevant  -->\r\n1. Go to the 1st website (main website), place an order (CAD $10.00) by using Paypal Pro payment, both Magento and Paypal show the amount in CAD\r\n2. Go to the 2nd website, place an order (CAD $10.00) by using Paypal Pro payment, Magento shows CAD10.00, but Paypal actually charge the customer USD $10.00.\r\n\r\n### Expected result\r\n<!--- Tell us what should happen -->\r\n1.  The customer should be charged in CAD on the 2nd website\r\n\r\n### Actual result\r\n<!--- Tell us what happens instead -->\r\n1. The customer is charged in USD on the 2nd website\r\n\r\n<!--- (This may be platform independent comment) -->\r\n"},"comment":{"url":"https://api.github.com/repos/magento/magento2/issues/comments/280955382","html_url":"https://github.com/magento/magento2/issues/7977#issuecomment-280955382","issue_url":"https://api.github.com/repos/magento/magento2/issues/7977","id":280955382,"user":{"login":"supanatral","id":18598253,"avatar_url":"https://avatars.githubusercontent.com/u/18598253?v=3","gravatar_id":"","url":"https://api.github.com/users/supanatral","html_url":"https://github.com/supanatral","followers_url":"https://api.github.com/users/supanatral/followers","following_url":"https://api.github.com/users/supanatral/following{/other_user}","gists_url":"https://api.github.com/users/supanatral/gists{/gist_id}","starred_url":"https://api.github.com/users/supanatral/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/supanatral/subscriptions","organizations_url":"https://api.github.com/users/supanatral/orgs","repos_url":"https://api.github.com/users/supanatral/repos","events_url":"https://api.github.com/users/supanatral/events{/privacy}","received_events_url":"https://api.github.com/users/supanatral/received_events","type":"User","site_admin":false},"created_at":"2017-02-19T22:33:59Z","updated_at":"2017-02-19T22:33:59Z","body":"@gooki \r\nI have tested it and i seems like @H3dz findings were correct.\r\n\r\nIf you add \"$request->setCurrency('CAD'); // Hardcoded to CAD\" to line 627, it appears to fix the problem.\r\n\r\nOf course, this is not an ideal solution but it should work at least"}}
{"actor":{"display_login":"supanatral"}}