Skip to content

Magento 2 customer address import does not consider PR (Puerto Rico) a valid country code #8295

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
JamesonNetworks opened this issue Jan 26, 2017 · 5 comments

Comments

@JamesonNetworks
Copy link

JamesonNetworks commented Jan 26, 2017

Preconditions

  1. Magento 2 - HEAD of develop

Steps to reproduce

  1. Install a clean instance of Magento 2 on PHP 7.0
  2. Import customer-example.csv using the Customer Main file import
  3. Import customer-address-example.csv using the Customer Address file import

Expected result

  1. Expect a customer to get created and have their Puerto Rico address

Actual result

  1. import throws "1. Value for country_id attribute contains incorrect value, see acceptable values on settings specified for Admin in row(s): 1"

customer-import-files.zip

@JamesonNetworks
Copy link
Author

The same goes for Netherland Antilles (AN)

@ahbyass
Copy link

ahbyass commented Feb 28, 2017

This is also the case for table rate shipping it does not recognise PRI (Puerto Rico) when uploading table rate shipping

@nntoan
Copy link
Contributor

nntoan commented May 26, 2017

The same goes for Fiji (FJ)

@RomanKrut
Copy link

@JamesonNetworks Hi. Thanks for your issue, but Puerto Rico in Magento 2 presented as a state of the United States and if you want to add address with it use attached csv file.
customer_address.zip

@kirtinariya1
Copy link
Contributor

kirtinariya1 commented Jul 19, 2018

@krutkoroma79911
Hello,
I have downloaded your attached zip file but for some reasons it is not extracting.
So, please would you attache it again so we can take reference from your file to resolve PRI issue.

Or just provide us name in place of PRI which you have added in zip.

Thanks in advance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants