-
Notifications
You must be signed in to change notification settings - Fork 804
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
implement fix for wrong sAddresses data issue. consider userId to get… #2702
base: 5.7
Are you sure you want to change the base?
implement fix for wrong sAddresses data issue. consider userId to get… #2702
Conversation
… unique order if there are multiple orders with same orderid
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks for your contribution! some test would be nice
use injected session object
hey @seriewe are you still on this one? would be nice to see some test validating your changes 🙂 |
@mitelg I'm sorry had still not time. Does it still make sense for me to submit this in the coming weeks? |
no worries, we can leave it open for now. maybe someone else would like to jump in 😊 or when you have the time |
… unique order if there are multiple orders with same orderid
1. Why is this change necessary?
If multiple shops has not correctly setup the order nuber ranges and they overlap customer see billing data from other customer on /checkout/finish page.
2. What does this change do, exactly?
the change consider the userId and orderId to get the unique oder for the customer which does the checkout
3. Describe each step to reproduce the issue or behaviour.
If you have two stores with same odernumber ranges and for example Store A hast already the order 45500 and the second store now also has a new order with 45500, because of same order number ranges, the user from Store B will see the address data of user from Store A because the Method: getOrderAddress from Controller Shopware_Controllers_Frontend_Checkout just search for oder ID and does not consider Store oder User!
4. Please link to the relevant issues (if any).
5. Which documentation changes (if any) need to be made because of this PR?
6. Checklist