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

Unable to place order with PayPal if maximum qty allowed in cart is 1 #7383

Closed
humpedli opened this issue Nov 9, 2016 · 7 comments
Closed
Assignees
Labels
bug report Component: Payment Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development

Comments

@humpedli
Copy link

humpedli commented Nov 9, 2016

Preconditions

  1. Magento 2.1.1
  2. PayPal payment option (sandbox or live)

Steps to reproduce

  1. Set Catalog / Inventory / Maximum Qty Allowed in Shopping Cart attribute to 1
  2. Put one (downloadable) product into the cart and go to the checkout page
  3. Choose PayPal checkout
  4. Make a valid payment

Expected result

  1. Successful order
  2. Thank you screen
  3. Completed order

Actual result

  1. Order review screen with "We can't place the order" message
  2. system.log message main.CRITICAL: Exception message: The most you may purchase is 1.
  3. In progress order created with successful payment
@hpatelgit
Copy link

Yes i am also getting same error with magento latest 2.1.2.

This error getting for any product type which has set 'Maximum Qty Allowed in Shopping Cart'.
Customer got this error when they try to place order with same product second time which has set 'Maximum Qty Allowed in Shopping Cart'.

This error is only for Paypal Payment Method.

Please let us know if any solution is there

Thanks

@hpatelgit
Copy link

Any fix for this issue?

@iivashchenko
Copy link
Contributor

@hpatelgit Is it reproduced on PayPal Express Payment Method or you meant other PayPal solution?

@hpatelgit
Copy link

@iivashchenko its happens with PayPal Express.

@iivashchenko
Copy link
Contributor

@hpatelgit, thank you. That issue caused by the same reasons as #6296 .
I've linked it to internal ticket MAGETWO-58676. We already have a fix for it which would be delivered as soon as possible.

@iivashchenko iivashchenko added the Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development label Feb 17, 2017
@alena-marchenko
Copy link

Hi @humpedli

Fix for MAGETWO-58676 is merged to develop branch, closing the issue.
Thank you.

@YohaiAllouche
Copy link

Issue still happening in version 2.1.6

magento-devops-reposync-svc pushed a commit that referenced this issue Apr 12, 2022
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

6 participants