Magento 2: Getting “regionId is a required field.” when I click button “Place Order” Unicorn Meta Zoo #1: Why another podcast? Announcing the arrival of Valued Associate #679: Cesar ManaraMagento 2: “regionId is a required field.”Place Order button doesn't go to success/confirmation page? (1.9.1.0)where is review.save()[ place order ] related code is presentUnable to place order on checkout pageMagento 2 - Where is jquery code of click on place order button in checkout page?Place order button in Magento 2 checkoutMagento-2 : How to display custom field just after payment method list and save on place orderMagento 2: “regionId is a required field.”In Magento 2.2, How to Place the order after GrandTotal is Rs. 0?How to add input field in check money order payment method in magento 2?Magento 2.2.3 - Add custom required validation for company

"My boss was furious with me and I have been fired" vs. "My boss was furious with me and I was fired"

Multiple fireplaces in an apartment building?

Retract an already submitted recommendation letter (written for an undergrad student)

How to keep bees out of canned beverages?

How do I check if a string is entirely made of the same substring?

Is accepting an invalid credit card number a security issue?

PIC mathematical operations weird problem

Does Mathematica have an implementation of the Poisson binomial distribution?

Implementing 3DES algorithm in Java: is my code secure?

How to use @AuraEnabled base class method in Lightning Component?

How to get even lighting when using flash for group photos near wall?

Married in secret, can marital status in passport be changed at a later date?

What is a 'Key' in computer science?

My bank got bought out, am I now going to have to start filing tax returns in a different state?

How would I use different systems of magic when they are capable of the same effects?

What *exactly* is electrical current, voltage, and resistance?

How can I wire a 9-position switch so that each position turns on one more LED than the one before?

How to not starve gigantic beasts

What is the term for a person whose job is to place products on shelves in stores?

Israeli soda type drink

How to translate "red flag" into Spanish?

Trumpet valves, lengths, and pitch

As an international instructor, should I openly talk about my accent?

"Whatever a Russian does, they end up making the Kalashnikov gun"? Are there any similar proverbs in English?



Magento 2: Getting “regionId is a required field.” when I click button “Place Order”



Unicorn Meta Zoo #1: Why another podcast?
Announcing the arrival of Valued Associate #679: Cesar ManaraMagento 2: “regionId is a required field.”Place Order button doesn't go to success/confirmation page? (1.9.1.0)where is review.save()[ place order ] related code is presentUnable to place order on checkout pageMagento 2 - Where is jquery code of click on place order button in checkout page?Place order button in Magento 2 checkoutMagento-2 : How to display custom field just after payment method list and save on place orderMagento 2: “regionId is a required field.”In Magento 2.2, How to Place the order after GrandTotal is Rs. 0?How to add input field in check money order payment method in magento 2?Magento 2.2.3 - Add custom required validation for company



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








2















I am Getting




regionId is a required field.




when I click button "Place Order" on the checkout page



I tried this solution https://magento.stackexchange.com/a/205232/65951 and it worked but then the state is not being saved after placing an order. I want to save state info too.










share|improve this question




























    2















    I am Getting




    regionId is a required field.




    when I click button "Place Order" on the checkout page



    I tried this solution https://magento.stackexchange.com/a/205232/65951 and it worked but then the state is not being saved after placing an order. I want to save state info too.










    share|improve this question
























      2












      2








      2








      I am Getting




      regionId is a required field.




      when I click button "Place Order" on the checkout page



      I tried this solution https://magento.stackexchange.com/a/205232/65951 and it worked but then the state is not being saved after placing an order. I want to save state info too.










      share|improve this question














      I am Getting




      regionId is a required field.




      when I click button "Place Order" on the checkout page



      I tried this solution https://magento.stackexchange.com/a/205232/65951 and it worked but then the state is not being saved after placing an order. I want to save state info too.







      checkout magento2.2 state






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 1 hour ago









      Bhakti ThakkarBhakti Thakkar

      648114




      648114




















          1 Answer
          1






          active

          oldest

          votes


















          0














          Try this,




          Add di.xml in your module




          <?xml version="1.0" ?> 
          <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
          <preference for="MagentoCheckoutBlockCheckoutLayoutProcessor" type="vendormoduleBlockCheckoutLayoutProcessor" />
          </config>



          Create a LayoutProcessor.php in this path vendormoduleBlockCheckoutLayoutProcessor.php




          Copy the file from




          Vendor/magento/module-checkout/Block/Checkout/LayoutProcessor.php




          To




          app/code/vendor/module/Block/Checkout/LayoutProcessor.php




          and change the below params to make the company as required field



          'postcode' => [
          'component' => 'Magento_Ui/js/form/element/post-code',
          'validation' => [
          'required-entry' => false, // make it false or remove this line
          ],
          ],


          Guess this will remove the validation.



          NOTE : Not tested try it and let me know.






          share|improve this answer























            Your Answer








            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "479"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            imageUploader:
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













            draft saved

            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f272356%2fmagento-2-getting-regionid-is-a-required-field-when-i-click-button-place-or%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            Try this,




            Add di.xml in your module




            <?xml version="1.0" ?> 
            <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
            <preference for="MagentoCheckoutBlockCheckoutLayoutProcessor" type="vendormoduleBlockCheckoutLayoutProcessor" />
            </config>



            Create a LayoutProcessor.php in this path vendormoduleBlockCheckoutLayoutProcessor.php




            Copy the file from




            Vendor/magento/module-checkout/Block/Checkout/LayoutProcessor.php




            To




            app/code/vendor/module/Block/Checkout/LayoutProcessor.php




            and change the below params to make the company as required field



            'postcode' => [
            'component' => 'Magento_Ui/js/form/element/post-code',
            'validation' => [
            'required-entry' => false, // make it false or remove this line
            ],
            ],


            Guess this will remove the validation.



            NOTE : Not tested try it and let me know.






            share|improve this answer



























              0














              Try this,




              Add di.xml in your module




              <?xml version="1.0" ?> 
              <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
              <preference for="MagentoCheckoutBlockCheckoutLayoutProcessor" type="vendormoduleBlockCheckoutLayoutProcessor" />
              </config>



              Create a LayoutProcessor.php in this path vendormoduleBlockCheckoutLayoutProcessor.php




              Copy the file from




              Vendor/magento/module-checkout/Block/Checkout/LayoutProcessor.php




              To




              app/code/vendor/module/Block/Checkout/LayoutProcessor.php




              and change the below params to make the company as required field



              'postcode' => [
              'component' => 'Magento_Ui/js/form/element/post-code',
              'validation' => [
              'required-entry' => false, // make it false or remove this line
              ],
              ],


              Guess this will remove the validation.



              NOTE : Not tested try it and let me know.






              share|improve this answer

























                0












                0








                0







                Try this,




                Add di.xml in your module




                <?xml version="1.0" ?> 
                <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
                <preference for="MagentoCheckoutBlockCheckoutLayoutProcessor" type="vendormoduleBlockCheckoutLayoutProcessor" />
                </config>



                Create a LayoutProcessor.php in this path vendormoduleBlockCheckoutLayoutProcessor.php




                Copy the file from




                Vendor/magento/module-checkout/Block/Checkout/LayoutProcessor.php




                To




                app/code/vendor/module/Block/Checkout/LayoutProcessor.php




                and change the below params to make the company as required field



                'postcode' => [
                'component' => 'Magento_Ui/js/form/element/post-code',
                'validation' => [
                'required-entry' => false, // make it false or remove this line
                ],
                ],


                Guess this will remove the validation.



                NOTE : Not tested try it and let me know.






                share|improve this answer













                Try this,




                Add di.xml in your module




                <?xml version="1.0" ?> 
                <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
                <preference for="MagentoCheckoutBlockCheckoutLayoutProcessor" type="vendormoduleBlockCheckoutLayoutProcessor" />
                </config>



                Create a LayoutProcessor.php in this path vendormoduleBlockCheckoutLayoutProcessor.php




                Copy the file from




                Vendor/magento/module-checkout/Block/Checkout/LayoutProcessor.php




                To




                app/code/vendor/module/Block/Checkout/LayoutProcessor.php




                and change the below params to make the company as required field



                'postcode' => [
                'component' => 'Magento_Ui/js/form/element/post-code',
                'validation' => [
                'required-entry' => false, // make it false or remove this line
                ],
                ],


                Guess this will remove the validation.



                NOTE : Not tested try it and let me know.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered 35 mins ago









                Prathap GunasekaranPrathap Gunasekaran

                1,9721618




                1,9721618



























                    draft saved

                    draft discarded
















































                    Thanks for contributing an answer to Magento Stack Exchange!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid


                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.

                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f272356%2fmagento-2-getting-regionid-is-a-required-field-when-i-click-button-place-or%23new-answer', 'question_page');

                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Nidaros erkebispedøme

                    Birsay

                    Where did Arya get these scars? Unicorn Meta Zoo #1: Why another podcast? Announcing the arrival of Valued Associate #679: Cesar Manara Favourite questions and answers from the 1st quarter of 2019Why did Arya refuse to end it?Has the pronunciation of Arya Stark's name changed?Has Arya forgiven people?Why did Arya Stark lose her vision?Why can Arya still use the faces?Has the Narrow Sea become narrower?Does Arya Stark know how to make poisons outside of the House of Black and White?Why did Nymeria leave Arya?Why did Arya not kill the Lannister soldiers she encountered in the Riverlands?What is the current canonical age of Sansa, Bran and Arya Stark?