Closed juniox closed 7 years ago
@juniox Is this issue still actual? We were not able to reproduce it on ver. 2.1.7 and [2.2-develop]. Please add more details to your description of the steps you followed when identifying this issue. Screenshots, video or logs would be helpful, too.
@juniox we are closing this issue due to inactivity. If you'd like to update it, please reopen the issue.
Preconditions
Magento 2.1.5 Ubuntu 14.04 Apache 2.4.7 Mysql 14.14 PHP 7.0.17-2
Steps to reproduce
1-) Access the store but do not log in. 2-) Add an item to Cart. 3-) Click "Go to Checkout". 4-) A window will pop up so now you may log in with an existing user. 5-) Pop up window will close so once again click "Go to Checkout" as logged user. 6-) Click "Next" since Shipping has load default values. 7-) Click "Place Order".
Expected result
Order should be performed. It works fine if the customer is already logged in before adding any item to cart.
Actual result
No matter which payment method is set, the message is displayed:
An error occurred on the server. Please try to place the order again.
Browser's console shows this message but it's not clear what's missing:
Failed to load resource: the server responded with a status of 400 (Bad Request)
debug.log
[2017-04-05 21:39:06] main.DEBUG: cache_invalidate: {"method":"GET","url":"http:/","invalidateInfo":{"tags":["catalog_product_9","catalog_product_9"],"mode":"matchingAnyTag"},"is_exception":false} []
When reproducing this error, the shipping/billing address shown on step 7 is not exactly the same as step 6. On step 7 the zip code is gone.
Also on step 6 you must click "Next" button in order reproduce the error. If you click button "Ship Here" the problem will not happen. Notice this button "Ship Here" is only available when the user was not previously logged in. If the customer log in before adding an item to cart, that button will not be available and customer's address will be already checked (orange square) on that step.
Thank you!