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

V4.3 Duplicate orders issue, orders are paid by Paypal express #5131

Closed
zw896 opened this issue Nov 4, 2020 · 1 comment
Closed

V4.3 Duplicate orders issue, orders are paid by Paypal express #5131

zw896 opened this issue Nov 4, 2020 · 1 comment

Comments

@zw896
Copy link

zw896 commented Nov 4, 2020

nopCommerce version: 4.3

Steps to reproduce the problem:
Hi,
I found an issue related to checkout. For example, if customers open two tabs of same checkout page, and click confirm order in both tabs (btw, orders are paid by PayPal express plugin) almost at the same time, Nopcommerce will create two orders which are duplicated, and both two orders would be marked as Paid in Nopcommerce, but actually based on the response message received from Paypal, first order will receive both success and error responses, the second order does not have any Paypal message.

The success message is understandable, and the error message shows
..."Errors":[{"ShortMessage":"Duplicate Request","LongMessage":"A successful transaction has already been completed for this token.","ErrorCode":"11607"...

I know the possibility of this case maybe very small, but it has happened several times on our store. I dont know how the customer caused this problem exactly, but in the way I described above, I can reproduce this issue.

My question is how to prevent this issue? Is this a case would be improved in the future?

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants