How to get all state code in amagento2.1.7?Customer shipping and billing display only one state and hide...

chrony vs. systemd-timesyncd – What are the differences and use cases as NTP clients?

What type of postprocessing gives the effect of people standing out

Reason Why Dimensional Travelling Would be Restricted

Do Hexblade warlocks choose their spells from the Hexblade spell list or the warlock spell list?

Do authors have to be politically correct in article-writing?

How to mitigate "bandwagon attacking" from players?

Has the Isbell–Freyd criterion ever been used to check that a category is concretisable?

How to count words in a line

Where is the fallacy here?

What is this waxed root vegetable?

How would one optimize conventional modern weapons for fighting robots

Can chords be played on the flute?

Equivalent to "source" in OpenBSD?

Can you use a beast's innate abilities while polymorphed?

Is there a German word for “analytics”?

Six real numbers so that product of any five is the sixth one

Compare four integers, return word based on maximum

Avoiding unpacking an array when altering its dimension

When was drinking water recognized as crucial in marathon running?

Make me a metasequence

Where is this triangular-shaped space station from?

Logistics of a hovering watercraft in a fantasy setting

How to avoid being sexist when trying to employ someone to function in a very sexist environment?

What is a term for a function that when called repeatedly, has the same effect as calling once?



How to get all state code in amagento2.1.7?


Customer shipping and billing display only one state and hide other statesHow to get all list of customer group?Magento 2: How to get visitors dataMagento 2 get product details in product review list phtml?How to create / update customer information using REST API?Get LoggedIn Customer Details in a custom module blockMagento2 Get Tier Price by Custom GroupInsert widget in CMS page using the id of widget?Guest Wishlist in Magento 2Get all 3rd level categories













0















I am passing the parameters as



'recipientstate' => $customer['region'] and
'cardholderstate' => $customerbilling['region']



Right now I am getting the region value's as ARIZONA , but I want it as AZ in Magento 2.1.7



How to get the solution for this.. I googled a lot but not able to find perfect answer



Any help would be appreciated.









share



























    0















    I am passing the parameters as



    'recipientstate' => $customer['region'] and
    'cardholderstate' => $customerbilling['region']



    Right now I am getting the region value's as ARIZONA , but I want it as AZ in Magento 2.1.7



    How to get the solution for this.. I googled a lot but not able to find perfect answer



    Any help would be appreciated.









    share

























      0












      0








      0








      I am passing the parameters as



      'recipientstate' => $customer['region'] and
      'cardholderstate' => $customerbilling['region']



      Right now I am getting the region value's as ARIZONA , but I want it as AZ in Magento 2.1.7



      How to get the solution for this.. I googled a lot but not able to find perfect answer



      Any help would be appreciated.









      share














      I am passing the parameters as



      'recipientstate' => $customer['region'] and
      'cardholderstate' => $customerbilling['region']



      Right now I am getting the region value's as ARIZONA , but I want it as AZ in Magento 2.1.7



      How to get the solution for this.. I googled a lot but not able to find perfect answer



      Any help would be appreciated.







      magento2 regions





      share












      share










      share



      share










      asked 3 mins ago









      AmyAmy

      1589




      1589






















          0






          active

          oldest

          votes











          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%2f264405%2fhow-to-get-all-state-code-in-amagento2-1-7%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          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%2f264405%2fhow-to-get-all-state-code-in-amagento2-1-7%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

          “%fieldName is a required field.”, in Magento2 REST API Call for GET Method Type The Next...

          How to change City field to a dropdown in Checkout step Magento 2Magento 2 : How to change UI field(s)...

          夢乃愛華...