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

Add check for checkout-do-placeOrder event - to make sure it's called only once no matter how many events are emited #2409

Closed
pkarw opened this issue Feb 10, 2019 · 0 comments
Assignees
Labels
feature request Requests for new features. Please be as specific as possible and provide proposal API if it you can P0: Critical Priority mark - highest one
Milestone

Comments

@pkarw
Copy link
Collaborator

pkarw commented Feb 10, 2019

What is the motivation for adding / enhancing this feature?

It's related to #2407. Currently, there is a high chance that by minor issue module developer can fire the placeOrder few times which can cause critical issues.

We should hash the orders (objHash) and make sure one order is transmitted just once to the server in the placeOrder method to make it completely safe

@pkarw pkarw added the feature request Requests for new features. Please be as specific as possible and provide proposal API if it you can label Feb 10, 2019
@pkarw pkarw mentioned this issue Feb 26, 2019
2 tasks
@patzick patzick added the P0: Critical Priority mark - highest one label Feb 26, 2019
@patzick patzick added this to the 1.8.3 milestone Feb 26, 2019
@patzick patzick self-assigned this Feb 26, 2019
patzick added a commit to patzick/vue-storefront that referenced this issue Feb 26, 2019
patzick added a commit that referenced this issue Feb 26, 2019
…-order-placing

Bugfix/#2409 check for multiple order placing
@patzick patzick closed this as completed Feb 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Requests for new features. Please be as specific as possible and provide proposal API if it you can P0: Critical Priority mark - highest one
Projects
None yet
Development

No branches or pull requests

2 participants