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
Receive error in server console after placing an order for a single shop in multi-shop mode #3024
Comments
What's the status on this? |
Started looking into this but put it on hold to wrap up with #2832. I'll remove my assignment just so someone else not currently working on anything could pick it up, but I'll get back to it once done with my current task if it'll still be unassigned. |
@kieha how's this issue coming along? |
Update: -If you're in shop A, and you buy a product from shop B, and then complete the order in shop A, this function reaction/server/methods/core/orders.js Line 18 in 0059da1
returns undefined as the shopId of that order's billing record is that of shop B, hence the error. Solution:
|
@kieha will you post an update here about what was decided with this issue? Based on this morning's conversation, it seems like we're ready to resolve it either now or with minimal changes. |
Resolved by #3064 |
Expected behavior
No errors
Actual Behavior
Receive this error in console:
This seems to be because this function is returning the paymentMethod for the wrong shop (only the current shop)
reaction/server/methods/core/orders.js
Line 18 in 0059da1
Steps to Reproduce the Behavior
Versions
The text was updated successfully, but these errors were encountered: