Skip to content

Shipping address is not validated in checkout when proceeding step as logged in user with default shipping address #18990

Closed
@DanieliMi

Description

@DanieliMi

Summary

The shipping address is not beeing validated (correctly?) for logged in users with addresses. If you already have customers in your shop and make changes to your address settings for your store this can lead to bad usability experience for your customers because they need to leave the checkout make change sin address book and then go back to checkout.

Preconditions (*)

  1. v.2.2.6

Steps to reproduce (*)

  1. Create a User
  2. Go to My Account > Address Book
  3. Add an default address (without a state)
  4. In Admin Backend go to Stores > Configuration > General > State Options
  5. Required State for a Country of your choice (I tested with Germany and United States)
  6. With your created user put a product in your cart and proceed to checkout
  7. Your created default address should be selected by default as shipping address
  8. Proceed to step 2
  9. Place Order

Expected result (*)

I expected to be stopped when trying to get to step 2 (Review & Payments) due to missing region in shipping address. I expected to get prompted to add the missing region.

Actual result (*)

It is possible to reach step 2 and press the Place Order button. Then I get the error message of the missing regionId.

Metadata

Metadata

Assignees

Labels

Component: CustomerFixed in 2.3.xThe issue has been fixed in 2.3 release lineIssue: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentReproduced on 2.2.xThe issue has been reproduced on latest 2.2 releaseReproduced on 2.3.xThe issue has been reproduced on latest 2.3 release

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions