{"action":"opened","issue":{"url":"https://api.github.com/repos/magento/magento2/issues/6716","repository_url":"https://api.github.com/repos/magento/magento2","labels_url":"https://api.github.com/repos/magento/magento2/issues/6716/labels{/name}","comments_url":"https://api.github.com/repos/magento/magento2/issues/6716/comments","events_url":"https://api.github.com/repos/magento/magento2/issues/6716/events","html_url":"https://github.com/magento/magento2/issues/6716","id":178708136,"number":6716,"title":"Credit Card capture not associated with the Authorization since upgrade to 2.1.1","user":{"login":"joebusby","id":16857667,"avatar_url":"https://avatars.githubusercontent.com/u/16857667?v=3","gravatar_id":"","url":"https://api.github.com/users/joebusby","html_url":"https://github.com/joebusby","followers_url":"https://api.github.com/users/joebusby/followers","following_url":"https://api.github.com/users/joebusby/following{/other_user}","gists_url":"https://api.github.com/users/joebusby/gists{/gist_id}","starred_url":"https://api.github.com/users/joebusby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joebusby/subscriptions","organizations_url":"https://api.github.com/users/joebusby/orgs","repos_url":"https://api.github.com/users/joebusby/repos","events_url":"https://api.github.com/users/joebusby/events{/privacy}","received_events_url":"https://api.github.com/users/joebusby/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-22T20:09:31Z","updated_at":"2016-09-22T20:09:31Z","closed_at":null,"body":"### Preconditions\r\nUpgrade with sample data to Magento 2.1.1 \r\nOn Debian 8  LXC container 4GB ram 6 cores  PHP 7.0.10-1~dotdeb+8.1\r\n\r\nGo to Stores --> Configuration --> Sales --> Payment Methods --> Paypal PayflowPro --> Basic Payment Settings and set \"Payment Action\" to \"Authorization\"\r\n\r\n### Steps to reproduce\r\n\r\n1.  Enter a credit card purchase\r\n2. Check PayPal for authorization\r\n3. Invoice the order in Magento 2\r\n4. Check Paypal and see that the original \"capture\" is still available to be charged\r\n\r\n### Expected result\r\n\r\n1.  The original Authorization should get charged and no longer be available for \"Capture\" on the paypal interface.\r\n\r\n### Actual result\r\n\r\n1.   The Authorization is still in place, and resulting reserved from the customer's account are still reserved and no longer available for the customer until it \"times out\" or is voided.  A new authorize and capture was initiated unrelated to the original Authorization.\r\n\r\n2.  Some transactions that have been previously \"Authorized\" won't Authorize again when the product is shipped because there is not enough credit on the customer's payment method after the un-attached authorization is not being captured, causing the product not to ship and administrative hassle getting it worked out.\r\n\r\nThis bug appeared upon the upgrade to 2.1 and was working fine on 2.0.9 previously.\r\n\r\nI verified this with PayPal and received the following email from PayPal:\r\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\nThank you for contacting PayPal.\r\n\r\nYou are receiving payments from your customers and the customers are being charged twice.\r\n\r\nProblem: There is an authorization with no correlating capture of funds and then there is a separate sale for the same customer.\r\n\r\nSo the Customer is seeing 2 transactions on their accounts.\r\n\r\nExample: Authorization XXXXXXXXXXXXXXXX on 9/21. That is still a pending authorization. A sale was processed ZZZZZZZZZZZZZZZZZ on 9/21 for this customer as well. This sale is not associated with that authorization from a processing standpoint.  \r\nPlease contact your developer to advise of the issue.\r\n\r\nThank you for being part of the PayPal community.\r\n\r\nSincerely,\r\nTony\r\nPayPal Business Customer Service\r\nPayPal\r\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n\r\nIs there something related to the upgrade I can fix on this end, or do I have to charge customers when the order is placed?\r\n\r\nThanks for any help\r\n\r\n"}}
{"actor":{"display_login":"joebusby"}}