Skip to content
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

Add Country ISO to save address response #1419

Closed
hannahwoodward opened this issue Apr 30, 2020 · 1 comment
Closed

Add Country ISO to save address response #1419

hannahwoodward opened this issue Apr 30, 2020 · 1 comment
Assignees
Labels

Comments

@hannahwoodward
Copy link

Description

When updating an address commerce/customer-addresses/save via AJAX, the country ID & value are returned. It would be useful if the ISO was also returned, in the case of doing something else with the saved address afterwards, e.g. submitting a card/payment via Stripe JS (which requires the country be in ISO format).

@hannahwoodward hannahwoodward changed the title Add Country ISO to save address response [Feature Request] Add Country ISO to save address response Apr 30, 2020
@nfourtythree nfourtythree changed the title [Feature Request] Add Country ISO to save address response Add Country ISO to save address response May 4, 2020
@nfourtythree nfourtythree self-assigned this May 4, 2020
@nfourtythree
Copy link
Contributor

Hi @hannahwoodward

We have pushed an update that means countryIso will now be included in the address model.

This update will be included in the next release.

Thanks.

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

No branches or pull requests

2 participants