Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Credit Card capture not associated with the Authorization since upgrade to 2.1.1 #6716

Closed
joebusby opened this issue Sep 22, 2016 · 3 comments
Assignees
Labels
bug report Component: Payment Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development

Comments

@joebusby
Copy link

Preconditions

Upgrade with sample data to Magento 2.1.1
On Debian 8 LXC container 4GB ram 6 cores PHP 7.0.10-1~dotdeb+8.1

Go to Stores --> Configuration --> Sales --> Payment Methods --> Paypal PayflowPro --> Basic Payment Settings and set "Payment Action" to "Authorization"

Steps to reproduce

  1. Enter a credit card purchase
  2. Check PayPal for authorization
  3. Invoice the order in Magento 2
  4. Check Paypal and see that the original "capture" is still available to be charged

Expected result

  1. The original Authorization should get charged and no longer be available for "Capture" on the paypal interface.

Actual result

  1. 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.
  2. 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.

This bug appeared upon the upgrade to 2.1 and was working fine on 2.0.9 previously.

I verified this with PayPal and received the following email from PayPal:

Thank you for contacting PayPal.

You are receiving payments from your customers and the customers are being charged twice.

Problem: There is an authorization with no correlating capture of funds and then there is a separate sale for the same customer.

So the Customer is seeing 2 transactions on their accounts.

Example: 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.  
Please contact your developer to advise of the issue.

Thank you for being part of the PayPal community.

Sincerely,
Tony
PayPal Business Customer Service
PayPal

Is there something related to the upgrade I can fix on this end, or do I have to charge customers when the order is placed?

Thanks for any help

@viktym
Copy link
Contributor

viktym commented Sep 28, 2016

Hi @joebusby
We've created internal ticket MAGETWO-59086 to address this issue.
Thanks for reporting.

@viktym viktym added the Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development label Sep 28, 2016
@viktym viktym self-assigned this Sep 28, 2016
mmansoor-magento pushed a commit that referenced this issue Oct 18, 2016
mmansoor-magento pushed a commit that referenced this issue Oct 18, 2016
Bug
- MAGETWO-59086 [GITHUB] Credit Card capture not associated with the Authorization since upgrade to 2.1.1 #6716
Story
- MAGETWO-58251 PayPal Best Practice to Separate Saved Tokens
- MAGETWO-59073 PayPal Team Comments After Demo: PayPal Vault Shown on Orders in Backend
@alena-marchenko
Copy link

Hi @joebusby

Fix for MAGETWO-59086 is already delivered to develop branch, closing the issue.
Thank you.

@Ctucker9233
Copy link

@alena-marchenko is there a commit reference?

okorshenko pushed a commit that referenced this issue Dec 14, 2016
…ed with the Authorization since upgrade to 2.1.1 #6716
okorshenko pushed a commit that referenced this issue Dec 14, 2016
Fixed issue:
 - MAGETWO-59124 [Backport] - [GITHUB] Credit Card capture not associated with the Authorization since upgrade to 2.1.1 #6716 - for 2.1
 - MAGETWO-59578 Merge PayPal Ask MAGETWO-40517 and MAGETWO-52475 to 2.1.x
 - MAGETWO-59581 Merge PayPal Ask MAGETWO-53942 to 2.1.x
 - MAGETWO-59894 [Backport] Email Associated with PayPal Merchant Account Adaptation for On-Boarding
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug report Component: Payment Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development
Projects
None yet
Development

No branches or pull requests

5 participants