magento2: Can't place order on admin: "regionId" is required

Preconditions

Magento 2.4-develop; Magento 2.3.6;

  1. Two websites;
  2. Disable all countries for the default scope (General > Countries > Allow);
  3. Enable United States on one website (General > Countries > Allow);

Steps to reproduce

  1. Go to Admin > Sales > Orders > Create order;
  2. Select the website used on Preconditions step 4;
  3. Add a product, fill the addresses using United States as country; Note that the region field is a text field instead of a dropdown with the states
  4. Fill the payment method and shipping method and place the order;

Expected result

  1. Order is placed successfully;

Actual result

  1. Error Please check the shipping address information. "regionId" is required. Enter and try again. is shown and the order is not placed.

Screenshot from 2020-10-21 15-11-51


Please provide Severity assessment for the Issue as Reporter. This information will help during Confirmation and Issue triage processes.

  • Severity: S0 - Affects critical data or functionality and leaves users without workaround.
  • Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
  • Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
  • Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
  • Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Reactions: 1
  • Comments: 17 (8 by maintainers)

Most upvoted comments

Hi,

I just finished implementing Magento 2.4.2 on my website and I have migrated my website. During staging everything was great but in production things are not looking very good after cutover. In the last 2 days I have 71 orders declined do to this issue. For our website which is located in Canada, this drop down issue is intermittent. I have been on a call with a customer trying to checkout and the Text Field changes back between being a drop down and a text field intermittently. This is happening on the customer side when they are checking out.

Even looking at the PayPal payflow gateway, it shows all the transactions that are being declined have a missing postal code.

I need urgent help with this. Is this something you guys can help me with?

Regards, Hussain Baig

Hello I would like to share my experience with this and a possible quirky solution that worked for me without patching code.

This issue was reproducible on production but not on staging leading us to believe it was a data issue. A simple opening and manual page save of the Admin Stores->Configuration->General->General tab solved the issue for us.